Skip to content

Commit 3dfe57b

Browse files
committed
Fix
1 parent d840b69 commit 3dfe57b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"jakub-onderka/php-parallel-lint": "^0.9.2",
1212
"phing/phing": "^2.16.0",
1313
"phpstan/extension-installer": "^1.0",
14-
"phpstan/phpstan": "^0.12.20",
14+
"phpstan/phpstan": "^0.12.23",
1515
"phpstan/phpstan-strict-rules": "^0.12",
1616
"phpunit/phpunit": "^6.3",
1717
"slevomat/coding-standard": "^4.7.2",

Diff for: src/Parser/TokenIterator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function isPrecededByHorizontalWhitespace(): bool
7777
public function consumeTokenType(int $tokenType): void
7878
{
7979
if ($this->tokens[$this->index][Lexer::TYPE_OFFSET] !== $tokenType) {
80-
$this->throwError($tokenType, null);
80+
$this->throwError($tokenType);
8181
}
8282

8383
$this->index++;

0 commit comments

Comments
 (0)