Skip to content

Commit bc8a02f

Browse files
committed
Removed dead code
1 parent fb11145 commit bc8a02f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

SlevomatCodingStandard/Sniffs/PHP/UselessParenthesesSniff.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,6 @@ private function checkParenthesesAroundVariableOrFunctionCall(File $phpcsFile, i
255255
} while (true);
256256
} else {
257257
$nextPointer = TokenHelper::findNext($phpcsFile, T_OPEN_PARENTHESIS, $notBooleanNotOperatorPointer + 1);
258-
if ($nextPointer === null) {
259-
return;
260-
}
261258
$contentEndPointer = $tokens[$nextPointer]['parenthesis_closer'];
262259
}
263260

0 commit comments

Comments
 (0)