Skip to content

Commit

Permalink
Fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Jun 2, 2023
1 parent 5ccfeb3 commit 876bfc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/Php70/Rector/FuncCall/EregToPregMatchRector.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private function shouldSkipFuncCall(FuncCall $funcCall): bool
}

if ($funcCall->isFirstClassCallable()) {
return null;
return true;
}

return ! isset($funcCall->getArgs()[0]);
Expand Down

0 comments on commit 876bfc9

Please sign in to comment.