Skip to content

Commit 77f0fa6

Browse files
committed
[ci-review] Rector Rectify
1 parent 2431bb2 commit 77f0fa6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

rules/DowngradePhp85/Rector/StmtsAwareInterface/DowngradePipeOperatorRector.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ final class DowngradePipeOperatorRector extends AbstractRector
2828
{
2929
public function __construct(
3030
private readonly NamedVariableFactory $namedVariableFactory
31-
)
32-
{
31+
) {
3332
}
3433

3534
public function getRuleDefinition(): RuleDefinition
@@ -184,7 +183,6 @@ private function createMultiplePipeReplacement(array $pipeChain, Expression $ori
184183
{
185184
$input = $pipeChain[0];
186185
$statements = [];
187-
$tempVariableCounter = 0;
188186

189187
// Create all intermediate assignments
190188
for ($i = 1; $i < count($pipeChain) - 1; ++$i) {

0 commit comments

Comments
 (0)