Skip to content

Commit f1f975e

Browse files
committed
comment
1 parent 62917d4 commit f1f975e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rules/DeadCode/Rector/ClassMethod/RemoveParentDelegatingConstructorRector.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ private function areConstructorAndParentParameterTypesMatching(
240240
continue;
241241
}
242242

243+
// native reflection is needed to get exact default value
243244
if ($extendedMethodReflection->getDeclaringClass()->getNativeReflection()->hasMethod($methodName)) {
244245
$parentMethod = $extendedMethodReflection->getDeclaringClass()
245246
->getNativeReflection()

0 commit comments

Comments
 (0)