We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d840b69 commit 3dfe57bCopy full SHA for 3dfe57b
composer.json
@@ -11,7 +11,7 @@
11
"jakub-onderka/php-parallel-lint": "^0.9.2",
12
"phing/phing": "^2.16.0",
13
"phpstan/extension-installer": "^1.0",
14
- "phpstan/phpstan": "^0.12.20",
+ "phpstan/phpstan": "^0.12.23",
15
"phpstan/phpstan-strict-rules": "^0.12",
16
"phpunit/phpunit": "^6.3",
17
"slevomat/coding-standard": "^4.7.2",
src/Parser/TokenIterator.php
@@ -77,7 +77,7 @@ public function isPrecededByHorizontalWhitespace(): bool
77
public function consumeTokenType(int $tokenType): void
78
{
79
if ($this->tokens[$this->index][Lexer::TYPE_OFFSET] !== $tokenType) {
80
- $this->throwError($tokenType, null);
+ $this->throwError($tokenType);
81
}
82
83
$this->index++;
0 commit comments