Skip to content

Commit daf5f98

Browse files
committed
remove unnecessary null check
1 parent 82159e0 commit daf5f98

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Rules/Deprecations/InheritanceOfDeprecatedInterfaceRule.php

-4
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ public function getNodeType(): string
3131

3232
public function processNode(Node $node, Scope $scope): array
3333
{
34-
if ($node->extends === null) {
35-
return [];
36-
}
37-
3834
$interfaceName = isset($node->namespacedName)
3935
? (string) $node->namespacedName
4036
: (string) $node->name;

0 commit comments

Comments
 (0)