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.
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...
32
*/
33
public function show($id)
34
{
35
// show a single device
36
}
37
38
/**
39
* 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.