Skip to content

Conversation

szepeviktor
Copy link
Member

@szepeviktor szepeviktor commented Mar 6, 2023

Filter out anonymous classes only.

@szepeviktor
Copy link
Member Author

This must be a @phpstan bug

 ------ ------------------------------------------------------------------------------------------ 

  Line   visitor.php                                                                               

 ------ ------------------------------------------------------------------------------------------ 

  311    Dumped type:                                                                              

         PhpParser\Node\Stmt\Class_|PhpParser\Node\Stmt\ClassMethod|PhpParser\Node\Stmt\Function_  

  312    Dumped type: PhpParser\Node\Identifier|null                                               

  313    Cannot access property $name on PhpParser\Node\Identifier|null.                           

 ------ ------------------------------------------------------------------------------------------ 

@szepeviktor szepeviktor marked this pull request as draft April 15, 2023 12:47
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant