Skip to content

Commit 8882d85

Browse files
authored
Merge branch refs/heads/2.1.x into 2.2.x
2 parents 0bfbaf9 + 9ac6d7a commit 8882d85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Reflection/Type/IntersectionTypePropertyReflection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public function isDummy(): TrinaryLogic
209209
{
210210
// uses method typical for unions
211211
// because for this to return yes(), all methods should be dummy
212-
return TrinaryLogic::lazyExtremeIdentity($this->properties, static fn (ExtendedPropertyReflection $propertyReflection): TrinaryLogic => $propertyReflection->isAbstract());
212+
return TrinaryLogic::lazyExtremeIdentity($this->properties, static fn (ExtendedPropertyReflection $propertyReflection): TrinaryLogic => $propertyReflection->isDummy());
213213
}
214214

215215
}

src/Reflection/Type/UnionTypePropertyReflection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public function getAttributes(): array
207207

208208
public function isDummy(): TrinaryLogic
209209
{
210-
return TrinaryLogic::lazyExtremeIdentity($this->properties, static fn (ExtendedPropertyReflection $propertyReflection): TrinaryLogic => $propertyReflection->isAbstract());
210+
return TrinaryLogic::lazyExtremeIdentity($this->properties, static fn (ExtendedPropertyReflection $propertyReflection): TrinaryLogic => $propertyReflection->isDummy());
211211
}
212212

213213
}

0 commit comments

Comments
 (0)