Skip to content

Commit be25d4a

Browse files
author
Lee Hicks
committed
Remove v8js deprecated constructor argument.
1 parent dad1851 commit be25d4a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Engines/V8Js.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,12 @@ public function __construct(array $settings = [])
6767
$extensions = array_get($settings, 'extensions', []);
6868
// accept comma-delimited string
6969
$extensions = (is_string($extensions)) ? array_map('trim', explode(',', trim($extensions, ','))) : $extensions;
70-
$reportUncaughtExceptions = array_get_bool($settings, 'report_uncaught_exceptions');
7170

7271
static::startup($settings);
7372

7473
// Set up our script mappings for module loading
7574
/** @noinspection PhpUndefinedClassInspection */
76-
$this->engine = new \V8Js($name, $variables, $extensions, $reportUncaughtExceptions);
75+
$this->engine = new \V8Js($name, $variables, $extensions);
7776

7877
/**
7978
* This is the callback for the exposed "require()" function in the sandbox

0 commit comments

Comments
 (0)