Skip to content

Commit 12239f2

Browse files
authored
Merge branch refs/heads/1.10.x into 1.11.x
2 parents 753acf9 + 2cbd1a3 commit 12239f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHPStan/Rules/Arrays/data/bug-9991.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Bug9991;
44

55
function (): void {
6-
$data = json_decode(file_get_contents('') ?: '', flags: JSON_THROW_ON_ERROR | JSON_OBJECT_AS_ARRAY);
6+
$data = json_decode(file_get_contents('') ?: '', true, 512, JSON_THROW_ON_ERROR | JSON_OBJECT_AS_ARRAY);
77

88
if (
99
isset($data['title'])

0 commit comments

Comments
 (0)