Skip to content

Conversation

@arshidkv12
Copy link
Contributor

No description provided.

Comment on lines 78 to 80
public function isFinal(Class_ | ClassMethod | Param $node): bool {
return (bool) ($node->flags & Modifiers::FINAL);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not needed, there is isVisibility() method above on line 21., use isVisibility(Visbility::FINAL) is enough

Copy link
Member

@samsonasik samsonasik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

e2e test fixed at PR:

Please rebase latest main branch to fix e2e test

@samsonasik
Copy link
Member

Let's give i a try, thank you @arshidkv12

@samsonasik samsonasik merged commit aeab565 into rectorphp:main Sep 7, 2025
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants