This repository was archived by the owner on Feb 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class JsonIterator implements Iterator
1717 protected $ cursorPosition ;
1818 protected $ nextCursorPosition ;
1919
20- public function __construct ($ jsonString , array $ options = null )
20+ public function __construct ($ jsonString , array $ options )
2121 {
2222 $ this ->jsonString = $ jsonString ;
2323
Original file line number Diff line number Diff line change 1414class JsonIteratorFactory
1515{
1616
17- public static function buildJsonIterator ($ json , array $ options = null )
17+ public static function buildJsonIterator ($ json , array $ options = array () )
1818 {
1919 return new JsonIterator ($ json , $ options );
2020 }
2121
22- public static function buildJsonFileIterator ($ jsonFileHandle , array $ options = null )
22+ public static function buildJsonFileIterator ($ jsonFileHandle , array $ options = array () )
2323 {
2424 return new JsonFileIterator ($ jsonFileHandle , $ options );
2525 }
2626
27- public static function buildJsonFilesIterator ($ jsonFileHandles , array $ options = null )
27+ public static function buildJsonFilesIterator ($ jsonFileHandles , array $ options = array () )
2828 {
2929 return new JsonFilesIterator ($ jsonFileHandles , $ options );
3030 }
You can’t perform that action at this time.
0 commit comments