提交的内容
This commit is contained in:
2
vendor/mtdowling/jmespath.php/src/CompilerRuntime.php
vendored
Executable file → Normal file
2
vendor/mtdowling/jmespath.php/src/CompilerRuntime.php
vendored
Executable file → Normal file
@ -23,7 +23,7 @@ class CompilerRuntime
|
||||
* @param Parser|null $parser JMESPath parser to utilize
|
||||
* @throws \RuntimeException if the cache directory cannot be created
|
||||
*/
|
||||
public function __construct($dir = null, Parser $parser = null)
|
||||
public function __construct($dir = null, ?Parser $parser = null)
|
||||
{
|
||||
$this->parser = $parser ?: new Parser();
|
||||
$this->compiler = new TreeCompiler();
|
||||
|
||||
Reference in New Issue
Block a user