Skip to content

Commit 5ec6592

Browse files
committed
remove unnecessary null check
1 parent 99cadb0 commit 5ec6592

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
@@ -32,10 +32,6 @@ public function getNodeType(): string
3232

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

0 commit comments

Comments
 (0)