Skip to content

Commit

Permalink
remove unnecessary null check
Browse files Browse the repository at this point in the history
  • Loading branch information
Khartir committed Jan 8, 2024
1 parent 82159e0 commit daf5f98
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ public function getNodeType(): string

public function processNode(Node $node, Scope $scope): array
{
if ($node->extends === null) {
return [];
}

$interfaceName = isset($node->namespacedName)
? (string) $node->namespacedName
: (string) $node->name;
Expand Down

0 comments on commit daf5f98

Please sign in to comment.