This commit is contained in:
Ondrej Mirtes 2020-05-04 22:56:35 +02:00
parent d840b6956b
commit 3dfe57b7d0
No known key found for this signature in database
GPG Key ID: 8E730BA25823D8B5
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
"jakub-onderka/php-parallel-lint": "^0.9.2",
"phing/phing": "^2.16.0",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.12.20",
"phpstan/phpstan": "^0.12.23",
"phpstan/phpstan-strict-rules": "^0.12",
"phpunit/phpunit": "^6.3",
"slevomat/coding-standard": "^4.7.2",

View File

@ -77,7 +77,7 @@ class TokenIterator
public function consumeTokenType(int $tokenType): void
{
if ($this->tokens[$this->index][Lexer::TYPE_OFFSET] !== $tokenType) {
$this->throwError($tokenType, null);
$this->throwError($tokenType);
}
$this->index++;