From ecc24a2f40b9a86323dedf81a35ed2fe15196b22 Mon Sep 17 00:00:00 2001 From: Mark Johnson Date: Thu, 31 Mar 2016 18:06:37 -0700 Subject: [PATCH] Updating defaults for array variables. --- src/V8Js.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/V8Js.php b/src/V8Js.php index f2c3b33..49d98c4 100644 --- a/src/V8Js.php +++ b/src/V8Js.php @@ -17,7 +17,7 @@ class V8Js * @param bool $report_uncaught_exceptions * @param string $snapshot_blob */ - public function __construct($object_name = 'PHP', array $variables = null, array $extensions = null, $report_uncaught_exceptions = true, $snapshot_blob = null) + public function __construct($object_name = 'PHP', array $variables = [], array $extensions = [], $report_uncaught_exceptions = true, $snapshot_blob = null) {} /**