Should the return type not be \Illuminate\View\View|\I...\Contracts\View\Factory?
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.
The method user() does not seem to exist on object<Illuminate\Contracts\Auth\Factory>.
This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
Should the return type not be \Illuminate\Http\Response|null?
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...
31
*/
32
public function show($id)
33
{
34
// show a single device
35
}
36
37
/**
38
* Show the form for editing the specified resource.
Should the return type not be \Illuminate\Http\Response|null?
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.
Should the return type not be \Illuminate\Http\Response|null?
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.
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.