You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public string Qux::foo( string $baz , string $bar )
Should be (kinda):
public function /* Qux:: */ foo(string $baz , string $bar) : string, throws WhateverException;
It's often hard to figure out (or it's even not specified) that methods throw.
Exceptions aren't less important than return, so they must be documented just as well.
The text was updated successfully, but these errors were encountered:
Currently:
Should be (kinda):
It's often hard to figure out (or it's even not specified) that methods throw.
Exceptions aren't less important than return, so they must be documented just as well.
The text was updated successfully, but these errors were encountered: