Skip to content

Commit

Permalink
TypeStringResolver::resolve() is covered by BC promise
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Oct 13, 2021
1 parent 0bca402 commit 2b3ee60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PhpDoc/TypeStringResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function __construct(Lexer $typeLexer, TypeParser $typeParser, TypeNodeRe
$this->typeNodeResolver = $typeNodeResolver;
}

/** @api */
public function resolve(string $typeString, ?NameScope $nameScope = null): Type
{
$tokens = new TokenIterator($this->typeLexer->tokenize($typeString));
Expand Down

0 comments on commit 2b3ee60

Please sign in to comment.