Skip to content

Commit ef0d29f

Browse files
committed
unaryExpressionOrHigher can return a ThrowExpression
1 parent 3c5515e commit ef0d29f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2011,7 +2011,7 @@ private function parseExpressionFn() {
20112011

20122012
/**
20132013
* @param Node $parentNode
2014-
* @return UnaryExpression|MissingToken|Variable
2014+
* @return UnaryExpression|MissingToken|Variable|ThrowExpression
20152015
*/
20162016
private function parseUnaryExpressionOrHigher($parentNode) {
20172017
$token = $this->getCurrentToken();

0 commit comments

Comments
 (0)