This check compares the return type specified in the @return annotation of a function
or method doc comment with the types returned by the function and raises an issue if they
mismatch.
Loading history...
24
*/
25
public function post()
26
{
27
if (!$this->is_available())
28
{
29
throw new http_exception(404, 'IDEAS_NOT_AVAILABLE');
This check compares the return type specified in the
@returnannotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.