Skip to content

Commit

Permalink
fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Sep 18, 2023
1 parent 0636ef2 commit 66bb48b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Rector/StmtsAwareInterface/WithConsecutiveRector.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ public function refactor(Node $node)
return [new Expression($matcherAssign), $node];
}

public function provideMinPhpVersion(): int
{
return PhpVersionFeature::MATCH_EXPRESSION;
}

private function createClosure(MethodCall $expectsMethodCall): Closure
{
$closure = new Closure();
Expand Down Expand Up @@ -179,9 +184,4 @@ private function matchAndRefactorExpectsMethodCall(Expression $expression): ?Met

return $exactlyMethodCall;
}

public function provideMinPhpVersion(): int
{
return PhpVersionFeature::MATCH_EXPRESSION;
}
}

0 comments on commit 66bb48b

Please sign in to comment.