class Foo {
/** @return void */
public function a() {}
/** @return void */
public function b() {}
}
class Bar extends Foo {
/** Some comment */
public function a() {}
public function b() {}
}
https://phpstan.org/r/7058069c-167f-4cf4-9f27-f6b2e865dd7d
Method Bar::a() has no return typehint specified.
Psalm inherits the phpDoc types even if no @inheritdoc is specified. Every IDE does this. I think PHPStan should do the same. What do you think?
https://phpstan.org/r/7058069c-167f-4cf4-9f27-f6b2e865dd7d
Psalm inherits the phpDoc types even if no
@inheritdocis specified. Every IDE does this. I think PHPStan should do the same. What do you think?