Skip to content

Commit

Permalink
Updating defaults for array variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
virgofx committed Apr 1, 2016
1 parent 1d86ec7 commit ecc24a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/V8Js.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{}

/**
Expand Down

0 comments on commit ecc24a2

Please sign in to comment.