We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8732aa9 commit 7b67a9bCopy full SHA for 7b67a9b
src/Reflection/Php/PhpClassReflectionExtension.php
@@ -840,7 +840,7 @@ public function createUserlandMethodReflection(ClassReflection $fileDeclaringCla
840
$isInternal = $resolvedPhpDoc->isInternal();
841
$isFinal = $resolvedPhpDoc->isFinal();
842
$isPure = null;
843
- foreach ($actualDeclaringClass->getAncestors() as $className => $_) {
+ foreach ($actualDeclaringClass->getAncestors() as $className => $ancestor) {
844
if ($this->signatureMapProvider->hasMethodMetadata($className, $methodReflection->getName())) {
845
$hasSideEffects = $this->signatureMapProvider->getMethodMetadata($className, $methodReflection->getName())['hasSideEffects'];
846
$isPure = !$hasSideEffects;
0 commit comments