From 5d6c82bff3df1b0126ae9ba385b78e343f970c20 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Mon, 3 Aug 2020 17:50:33 +0200 Subject: [PATCH] Add support for @phpstan-throws --- src/Parser/PhpDocParser.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Parser/PhpDocParser.php b/src/Parser/PhpDocParser.php index 531e0b88..a148da66 100644 --- a/src/Parser/PhpDocParser.php +++ b/src/Parser/PhpDocParser.php @@ -132,6 +132,7 @@ public function parseTagValue(TokenIterator $tokens, string $tag): Ast\PhpDoc\Ph break; case '@throws': + case '@phpstan-throws': $tagValue = $this->parseThrowsTagValue($tokens); break;