Skip to content

Commit

Permalink
remove type
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Dec 23, 2022
1 parent 84f7060 commit 28c02ae
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/BetterPhpDocParser/PhpDocInfo/PhpDocInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,16 +154,6 @@ public function getReturnType(): Type
return $this->getTypeOrMixed($this->getReturnTagValue());
}

/**
* @template TNode as \PHPStan\PhpDocParser\Ast\Node
* @param class-string<TNode> $type
* @return TNode[]
*/
public function getByType(string $type): array
{
return $this->phpDocNodeByTypeFinder->findByType($this->phpDocNode, $type);
}

/**
* @param class-string<Node> $type
*/
Expand Down

0 comments on commit 28c02ae

Please sign in to comment.