Skip to content

Commit

Permalink
Remove superfluous @phpstan-ignore-next-line
Browse files Browse the repository at this point in the history
On PHPStan 1.10.10 there's no error at this line.
  • Loading branch information
Wirone committed Apr 3, 2023
1 parent 7170a7e commit 085407c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Tokenizer/Token.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,6 @@ public function equals($other, bool $caseSensitive = true): bool
// detect unknown keys
unset($otherPrototype[0], $otherPrototype[1]);

/*
* @phpstan-ignore-next-line This validation is required when the method
* is called in a codebase that does not use
* static analysis.
*/
return empty($otherPrototype);
}

Expand Down

0 comments on commit 085407c

Please sign in to comment.