mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-26 18:21:02 +00:00
Modernize to PHP 8.1
This commit is contained in:
parent
ca018c77e3
commit
9e2720cddc
26 changed files with 48 additions and 52 deletions
|
@ -22,7 +22,7 @@ class JsonArrayType extends JsonType
|
|||
|
||||
$value = \is_resource($value) ? stream_get_contents($value) : $value;
|
||||
|
||||
return json_decode($value, true);
|
||||
return json_decode((string) $value, true);
|
||||
}
|
||||
|
||||
public function getName(): string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue