I had a problem with this in the past in 
https://github.com/vimeo/psalm/issues/632

Usage of this annotation is nowadays pretty wide spread, but they are often 
not only used in classes with __call, but also just for specifying what 
inherited methods return, in covariant style.
Such usages are currently controversial, since @method is defined only in 
https://docs.phpdoc.org/references/phpdoc/tags/method.html which strongly 
hints this is only for situations when you want to describe __call methods.

Please think about this in PSR-5 as well.

-- 
You received this message because you are subscribed to the Google Groups "PHP 
Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/php-fig/955a8342-5f66-43b7-a812-4ca80e76ff61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to