Skip to content

Commit

Permalink
Remove accidental artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
sirbrillig committed Mar 31, 2023
1 parent dd436ba commit 40b37e8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion VariableAnalysis/Lib/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,6 @@ public static function getArrowFunctionOpenClose(File $phpcsFile, $stackPtr)
// Find the associated close parenthesis
$closeParenIndex = $tokens[$openParenIndex]['parenthesis_closer'];
// Make sure the next token is a fat arrow or a return type
$nonFunctionTokenTypes[] = T_OPEN_PARENTHESIS;
$fatArrowIndex = $phpcsFile->findNext(Tokens::$emptyTokens, $closeParenIndex + 1, null, true);
if (! is_int($fatArrowIndex)) {
return null;
Expand Down

0 comments on commit 40b37e8

Please sign in to comment.