WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 98a088b

Browse files
VincentLangletondrejmirtes
authored andcommitted
Add support for @phpstan-throws
1 parent cd2f81f commit 98a088b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Parser/PhpDocParser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ public function parseTagValue(TokenIterator $tokens, string $tag): Ast\PhpDoc\Ph
132132
break;
133133

134134
case '@throws':
135+
case '@phpstan-throws':
135136
$tagValue = $this->parseThrowsTagValue($tokens);
136137
break;
137138

0 commit comments

Comments
 (0)