Skip to content

Commit eee55be

Browse files
committed
Add @return annotation to Parser::getInputStream
1 parent 811fca8 commit eee55be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Parser.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,9 @@ public function setErrorHandler(ANTLRErrorStrategy $handler) : void
417417
$this->errorHandler = $handler;
418418
}
419419

420+
/**
421+
* @return TokenStream|null
422+
*/
420423
public function getInputStream() : ?IntStream
421424
{
422425
return $this->getTokenStream();

0 commit comments

Comments
 (0)