Skip to content

Commit 65ac9e0

Browse files
committed
Consistent variable name in getAsserts()
1 parent 6ca93cf commit 65ac9e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Reflection/Type/UnionTypeMethodReflection.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,13 @@ public function getDocComment(): ?string
177177

178178
public function getAsserts(): Assertions
179179
{
180-
$mergedAssertions = Assertions::createEmpty();
180+
$assertions = Assertions::createEmpty();
181181

182182
foreach ($this->methods as $method) {
183-
$mergedAssertions = $mergedAssertions->intersectWith($method->getAsserts());
183+
$assertions = $assertions->intersectWith($method->getAsserts());
184184
}
185185

186-
return $mergedAssertions;
186+
return $assertions;
187187
}
188188

189189
public function acceptsNamedArguments(): TrinaryLogic

0 commit comments

Comments
 (0)