Skip to content

Commit 96983f1

Browse files
committed
use
1 parent 8b4d417 commit 96983f1

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

rules/Php81/Rector/FuncCall/NullToStrictIntPregSlitFuncCallLimitArgRector.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,6 @@ public function refactor(Node $node): ?Node
8888
$args = $node->getArgs();
8989
$position = $this->argsAnalyzer->resolveArgPosition($args, 'limit', 2);
9090

91-
if ($position === null) {
92-
return null;
93-
}
94-
9591
if (! isset($args[$position])) {
9692
return null;
9793
}

0 commit comments

Comments
 (0)