@@ -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 | { |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | * Get the locations with the given site id |
| 104 | 104 | * |
| 105 | 105 | * @param int $site_id |
| 106 | - * @return Illuminate\Database\Eloquent\Builder[]|\Illuminate\Database\Eloquent\Collection |
|
| 106 | + * @return \Illuminate\Http\JsonResponse |
|
| 107 | 107 | */ |
| 108 | 108 | public function locations($site_id) |
| 109 | 109 | { |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | * Get the devices details |
| 117 | 117 | * |
| 118 | 118 | * @param int $id |
| 119 | - * @return Illuminate\Database\Eloquent\Builder[]|\Illuminate\Database\Eloquent\Collection |
|
| 119 | + * @return \Illuminate\Http\JsonResponse |
|
| 120 | 120 | */ |
| 121 | 121 | public function details($id) |
| 122 | 122 | { |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | /** |
| 65 | 65 | * Get columns. |
| 66 | 66 | * |
| 67 | - * @return array |
|
| 67 | + * @return string[] |
|
| 68 | 68 | */ |
| 69 | 69 | protected function getColumns() |
| 70 | 70 | { |
@@ -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) |