Skip to content

Commit 3fcede3

Browse files
committed
[ci-review] Rector Rectify
1 parent 0940d8b commit 3fcede3

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

rules/DowngradePhp80/Rector/Instanceof_/DowngradeInstanceofStringableRector.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,6 @@ public function refactor(Node $node): ?Node
6161
return null;
6262
}
6363

64-
return $this->nodeFactory->createFuncCall(
65-
'method_exists',
66-
[
67-
$node->expr,
68-
new String_('__toString'),
69-
]
70-
);
64+
return $this->nodeFactory->createFuncCall('method_exists', [$node->expr, new String_('__toString')]);
7165
}
7266
}

0 commit comments

Comments
 (0)