-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
Description
Bug report
Hi,
The SoapClient in PHP is actually a class based on magic methods. I'd like to hint PHPStan so I've defined @method type name() for each method supported by the API (based on wsdl file). The problem is PHPStan is completely ignoring the @method annotations for class extending SoapClient. See example https://phpstan.org/r/0185f98e-0414-4fc0-90f9-14447b254360
It is working properly for any other class, but not for SoapClient descendants.
Jan
Code snippet that reproduces the problem
No response
Expected output
@method annotation in the SoapClient should not be ignored.
Did PHPStan help you today? Did it make you happy in any way?
I'm using PHPStan every day. It is the main reason we don't migrate the project to different programming language. Thanks for this great tool!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels