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...
10
*/
11
function isActive($route, $output = "active")
12
{
13
if (Route::currentRouteName() == $route) return $output;
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.