We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69d080b commit a39a1acCopy full SHA for a39a1ac
src/TokenRunner/Analyzer/FixerAnalyzer/BlockFinder.php
@@ -40,9 +40,6 @@ final class BlockFinder
40
public function findInTokensByEdge(Tokens $tokens, int $position): ?BlockInfo
41
{
42
$token = $tokens[$position];
43
- if (! $token instanceof Token) {
44
- return null;
45
- }
46
47
if ($token->isGivenKind(T_ATTRIBUTE)) {
48
return $this->createAttributeBlockInfo($tokens, $position);
0 commit comments