1 | <?php |
||
9 | class GenericController extends Controller |
||
10 | { |
||
11 | /** |
||
12 | * @var AcceptsEloquentJsQueries |
||
13 | */ |
||
14 | protected $model; |
||
15 | |||
16 | /** |
||
17 | * Create a new GenericController instance. |
||
18 | * |
||
19 | * @param AcceptsEloquentJsQueries $model |
||
20 | */ |
||
21 | public function __construct(AcceptsEloquentJsQueries $model) |
||
25 | |||
26 | /** |
||
27 | * Display a listing of the resource. |
||
28 | * |
||
29 | * @return \Illuminate\Http\Response |
||
30 | */ |
||
31 | public function index() |
||
35 | |||
36 | /** |
||
37 | * Store a newly created resource in storage. |
||
38 | * |
||
39 | * @param \Illuminate\Http\Request $request |
||
40 | * @return Model |
||
41 | */ |
||
42 | public function store(Request $request) |
||
46 | |||
47 | /** |
||
48 | * Display the specified resource. |
||
49 | * |
||
50 | * @param int $id |
||
51 | * @return \Illuminate\Http\Response |
||
52 | */ |
||
53 | public function show($id) |
||
57 | |||
58 | /** |
||
59 | * Update the specified resource in storage. |
||
60 | * |
||
61 | * @param \Illuminate\Http\Request $request |
||
62 | * @param int $id |
||
63 | * @return \Illuminate\Http\Response |
||
64 | */ |
||
65 | public function update(Request $request, $id) |
||
77 | |||
78 | /** |
||
79 | * Remove the specified resource from storage. |
||
80 | * |
||
81 | * @param int $id |
||
82 | * @return \Illuminate\Http\Response |
||
83 | */ |
||
84 | public function destroy($id) |
||
94 | } |
||
95 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.