@@ -176,7 +176,7 @@ |
||
176 | 176 | * |
177 | 177 | * @param Request $request |
178 | 178 | * @param Device $device |
179 | - * @return \Illuminate\Database\Eloquent\Builder[]|\Illuminate\Database\Eloquent\Collection |
|
179 | + * @return \Illuminate\Http\JsonResponse |
|
180 | 180 | */ |
181 | 181 | public function updateCommand(Request $request, Device $device) |
182 | 182 | { |
@@ -23,7 +23,7 @@ |
||
23 | 23 | /** |
24 | 24 | * Display index page and process dataTable ajax request. |
25 | 25 | * |
26 | - * @param \App\DataTables\UsersDataTable $dataTable |
|
26 | + * @param ActivityLogDataTable $dataTable |
|
27 | 27 | * @return \Illuminate\Http\JsonResponse|\Illuminate\View\View |
28 | 28 | */ |
29 | 29 | public function index(ActivityLogDataTable $dataTable) |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | * Return null if the site does not have any locations |
105 | 105 | * |
106 | 106 | * @param int $site_id |
107 | - * @return Illuminate\Database\Eloquent\Builder[]|\Illuminate\Database\Eloquent\Collection |
|
107 | + * @return \Illuminate\Http\JsonResponse |
|
108 | 108 | */ |
109 | 109 | public function locations($site_id) |
110 | 110 | { |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | * Return 404 error if the device is not found |
122 | 122 | * |
123 | 123 | * @param int $id |
124 | - * @return Illuminate\Database\Eloquent\Builder[]|\Illuminate\Database\Eloquent\Collection |
|
124 | + * @return \Illuminate\Http\JsonResponse |
|
125 | 125 | */ |
126 | 126 | public function details($id) |
127 | 127 | { |