Skip to content

Commit 51468e4

Browse files
committed
rectify
1 parent 7c7f7fd commit 51468e4

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
@@ -55,12 +55,6 @@ public function refactor(Node $node): ?Node
5555
return null;
5656
}
5757

58-
return $this->nodeFactory->createFuncCall(
59-
'method_exists',
60-
[
61-
$node->expr,
62-
new String_('__toString'),
63-
]
64-
);
58+
return $this->nodeFactory->createFuncCall('method_exists', [$node->expr, new String_('__toString')]);
6559
}
6660
}

0 commit comments

Comments
 (0)