Skip to content

Commit a39a1ac

Browse files
committed
cs
1 parent 69d080b commit a39a1ac

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/TokenRunner/Analyzer/FixerAnalyzer/BlockFinder.php

-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ final class BlockFinder
4040
public function findInTokensByEdge(Tokens $tokens, int $position): ?BlockInfo
4141
{
4242
$token = $tokens[$position];
43-
if (! $token instanceof Token) {
44-
return null;
45-
}
4643

4744
if ($token->isGivenKind(T_ATTRIBUTE)) {
4845
return $this->createAttributeBlockInfo($tokens, $position);

0 commit comments

Comments
 (0)