Restored some PHP 7.4 support
This commit is contained in:
@ -38,7 +38,7 @@ class JsonReader implements ReaderInterface
|
||||
|
||||
$flags = ($this->options['bigintAsString']??false)?JSON_BIGINT_AS_STRING:0;
|
||||
$file = $this->files[$this->currentFile];
|
||||
$json = @json_decode(@file_get_contents($file), true, flags:$flags);
|
||||
$json = @json_decode(@file_get_contents($file), true, 512, $flags);
|
||||
|
||||
$this->loadData($json);
|
||||
$this->loadedFile = $this->currentFile;
|
||||
|
Reference in New Issue
Block a user