Raffael Comi
Raffael Comi
The inspection should mark either the class name (`FooBar`) or `self` as the wrong style, according to the inspections setting.
You're right about the description. But I remember having the possibility to quick fix the return type. Either this was another inspection or a case of false memory :shrug: The...
> Perhaps it was the inspection for [declaring return type hints](https://github.com/kalessil/phpinspectionsea/blob/master/testData/fixtures/lang/typeHints/return-type-hints.replacement-generation-after-8.php?rgh-link-date=2021-06-27T15%3A41%3A40Z) which was suggesting 'self' as return type? Maybe. `self` is btw only suggested if the `@return` annotation type is...
duplicate of #204