Skip to content

Commit 7b67a9b

Browse files
committed
Fix variable name
1 parent 8732aa9 commit 7b67a9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Reflection/Php/PhpClassReflectionExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ public function createUserlandMethodReflection(ClassReflection $fileDeclaringCla
840840
$isInternal = $resolvedPhpDoc->isInternal();
841841
$isFinal = $resolvedPhpDoc->isFinal();
842842
$isPure = null;
843-
foreach ($actualDeclaringClass->getAncestors() as $className => $_) {
843+
foreach ($actualDeclaringClass->getAncestors() as $className => $ancestor) {
844844
if ($this->signatureMapProvider->hasMethodMetadata($className, $methodReflection->getName())) {
845845
$hasSideEffects = $this->signatureMapProvider->getMethodMetadata($className, $methodReflection->getName())['hasSideEffects'];
846846
$isPure = !$hasSideEffects;

0 commit comments

Comments
 (0)