Skip to content

Commit

Permalink
Rework
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Dec 30, 2022
1 parent 945e287 commit 228610f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Reflection/Annotations/AnnotationMethodReflection.php
Expand Up @@ -110,10 +110,7 @@ public function getThrowType(): ?Type

public function hasSideEffects(): TrinaryLogic
{
if (
strtolower($this->getName()) !== '__construct'
&& $this->returnType->isVoid()->yes()
) {
if ($this->returnType->isVoid()->yes()) {
return TrinaryLogic::createYes();
}

Expand Down

0 comments on commit 228610f

Please sign in to comment.