diff --git a/src/Analyser/ClassNode.php b/src/Analyser/ClassNode.php index e8f84b2d..825fc443 100644 --- a/src/Analyser/ClassNode.php +++ b/src/Analyser/ClassNode.php @@ -207,8 +207,7 @@ public function dependsOnNamespace(string $namespace): bool } /** - * Classes and enums implement interfaces; interfaces extend them. Both - * relations are matched here, directly or through any ancestor. + * Implemented directly, extended directly (for interfaces), or via any parent class or interface. */ public function implementsInterface(string $interface): bool {