You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've disabled xdebug (#58) and got the following exception
> C:\Work\Tools\PHP7\php.exe C:/work/tools/phan/phan -f files.txt -3 vendor/
Fatal error: Uncaught TypeError: Argument 2 passed to Phan\Language\Element\Clazz::hasPropertyWithName() must be of the type string, object given, called in C:\Work\Tools\phan\src\Phan\Analyze\ClassName\ValidationVisitor.php on line 171 and defined in C:\Work\Tools\phan\src\Phan\Language\Element\Clazz.php:304
Stack trace:
#0 C:\Work\Tools\phan\src\Phan\Analyze\ClassName\ValidationVisitor.php(171): Phan\Language\Element\Clazz->hasPropertyWithName(Object(Phan\CodeBase), Object(ast\Node))
#1 C:\Work\Tools\phan\src\Phan\Language\AST\Element.php(141): Phan\Analyze\ClassName\ValidationVisitor->visitStaticProp(Object(ast\Node))
#2 C:\Work\Tools\phan\src\Phan\Language\AST.php(116): Phan\Language\AST\Element->acceptKindVisitor(Object(Phan\Analyze\ClassName\ValidationVisitor))
#3 C:\Work\Tools\phan\src\Phan\Analyze\UnionTypeVisitor.php(613): Phan\Language\AST::classNameFromNode(Object(Phan\Language\Context), Object(Phan\CodeBase), Object(ast\Node))
#4 C:\Work\Tools\phan\src\Phan\Language\AST\Element.php(141): Phan\Analyze\UnionType in C:\Work\Tools\phan\src\Phan\Language\Element\Clazz.php on line 304
The text was updated successfully, but these errors were encountered:
I've disabled xdebug (#58) and got the following exception
The text was updated successfully, but these errors were encountered: