Skip to content

Commit ecc24a2

Browse files
committed
Updating defaults for array variables.
1 parent 1d86ec7 commit ecc24a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/V8Js.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class V8Js
1717
* @param bool $report_uncaught_exceptions
1818
* @param string $snapshot_blob
1919
*/
20-
public function __construct($object_name = 'PHP', array $variables = null, array $extensions = null, $report_uncaught_exceptions = true, $snapshot_blob = null)
20+
public function __construct($object_name = 'PHP', array $variables = [], array $extensions = [], $report_uncaught_exceptions = true, $snapshot_blob = null)
2121
{}
2222

2323
/**

0 commit comments

Comments
 (0)