Skip to content

Commit 7960c8d

Browse files
committed
DependencyChecker: takes into account if class is abstract
1 parent 58e508d commit 7960c8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DI/DependencyChecker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ private static function calculateHash($classes, $functions)
9696
} catch (\ReflectionException $e) {
9797
return;
9898
}
99-
$hash[] = [$name, PhpReflection::getUseStatements($class)];
99+
$hash[] = [$name, PhpReflection::getUseStatements($class), $class->isAbstract()];
100100
foreach ($class->getProperties(\ReflectionProperty::IS_PUBLIC) as $prop) {
101101
if ($prop->getDeclaringClass() == $class) { // intentionally ==
102102
$hash[] = [$name, $prop->getName(), $prop->getDocComment()];

0 commit comments

Comments
 (0)