We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6363da5 commit 9662249Copy full SHA for 9662249
src/Rector/AbstractRector.php
@@ -190,7 +190,7 @@ final public function enterNode(Node $node): int|Node|null
190
* Replacing nodes in leaveNode() method avoids infinite recursion
191
* see"infinite recursion" in https://github.com/nikic/PHP-Parser/blob/master/doc/component/Walking_the_AST.markdown
192
*/
193
- public function leaveNode(Node $node): array|int|Node|null
+ final public function leaveNode(Node $node): array|int|Node|null
194
{
195
if ($node->hasAttribute(AttributeKey::ORIGINAL_NODE)) {
196
return null;
0 commit comments