1 | <?php namespace Bantenprov\Admin\Http\Controllers; |
||
22 | class AdminController extends Controller |
||
23 | { |
||
24 | /** |
||
25 | * Display a listing of the resource. |
||
26 | * |
||
27 | * @return \Illuminate\Http\Response |
||
28 | */ |
||
29 | public function index() |
||
35 | |||
36 | /** |
||
37 | * Show the form for creating a new resource. |
||
38 | * |
||
39 | * @return \Illuminate\Http\Response |
||
40 | */ |
||
41 | public function create() |
||
49 | |||
50 | /** |
||
51 | * Store a newly created resource in storage. |
||
52 | * |
||
53 | * @param \Illuminate\Http\Request $request |
||
54 | * @return \Illuminate\Http\Response |
||
55 | */ |
||
56 | public function store(Request $request) |
||
73 | |||
74 | /** |
||
75 | * Display the specified resource. |
||
76 | * |
||
77 | * @param int $id |
||
78 | * @return \Illuminate\Http\Response |
||
79 | */ |
||
80 | public function show($id) |
||
86 | |||
87 | /** |
||
88 | * Show the form for editing the specified resource. |
||
89 | * |
||
90 | * @param int $id |
||
91 | * @return \Illuminate\Http\Response |
||
92 | */ |
||
93 | public function edit($id) |
||
103 | |||
104 | /** |
||
105 | * Update the specified resource in storage. |
||
106 | * |
||
107 | * @param \Illuminate\Http\Request $request |
||
108 | * @param int $id |
||
109 | * @return \Illuminate\Http\Response |
||
110 | */ |
||
111 | public function update(Request $request, $id) |
||
128 | |||
129 | /** |
||
130 | * Remove the specified resource from storage. |
||
131 | * |
||
132 | * @param int $id |
||
133 | * @return \Illuminate\Http\Response |
||
134 | */ |
||
135 | public function destroy($id) |
||
141 | } |
||
142 |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.