Bug report
Similar to #7552
Having a stub
class Foo
{
/** @throws \Exception */
public function get(): void;
}
seems useless when the class (in the vendor) is defined this way
/** @method void get() */
class Foo
{
}
If I change the vendor to
class Foo
{
public function get(): void {}
}
it works fine.
Expected output
I would like to be able to define thrown exceptions for method defined with @method.