Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hasSideEffects for AnnotationMethodReflection #2155

Merged
merged 2 commits into from Dec 31, 2022

Conversation

VincentLanglet
Copy link
Contributor

@@ -109,6 +110,13 @@ public function getThrowType(): ?Type

public function hasSideEffects(): TrinaryLogic
{
if (
strtolower($this->getName()) !== '__construct'
Copy link
Member

Choose a reason for hiding this comment

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

I think you can delete the thing about __construct.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed

@ondrejmirtes
Copy link
Member

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants