Skip to content

Commit adf34be

Browse files
committed
callableExpression can also be a QualifiedName...
...when the callable expression is a function Fix typo
1 parent f2ec9ea commit adf34be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Node/Expression/CallExpression.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88

99
use Microsoft\PhpParser\Node\DelimitedList;
1010
use Microsoft\PhpParser\Node\Expression;
11+
use Microsoft\PhpParser\Node\QualifiedName;
1112
use Microsoft\PhpParser\Token;
1213

1314
class CallExpression extends Expression {
14-
/** @var Expression */
15+
/** @var QualifiedName|Expression */
1516
public $callableExpression;
1617

1718
/** @var Token */

0 commit comments

Comments
 (0)