mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-11-19 23:02:40 +09:00
Dependency updates and update version number
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace PhpParser\Parser;
|
||||
|
||||
@@ -6,7 +6,8 @@ use PhpParser\Error;
|
||||
use PhpParser\ErrorHandler;
|
||||
use PhpParser\Parser;
|
||||
|
||||
class Multiple implements Parser {
|
||||
class Multiple implements Parser
|
||||
{
|
||||
/** @var Parser[] List of parsers to try, in order of preference */
|
||||
private $parsers;
|
||||
|
||||
@@ -23,7 +24,7 @@ class Multiple implements Parser {
|
||||
$this->parsers = $parsers;
|
||||
}
|
||||
|
||||
public function parse($code, ErrorHandler $errorHandler = null) {
|
||||
public function parse(string $code, ErrorHandler $errorHandler = null) {
|
||||
if (null === $errorHandler) {
|
||||
$errorHandler = new ErrorHandler\Throwing;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user