@@ -40,7 +40,7 @@ |
||
| 40 | 40 | * Display a listing of all alerts |
| 41 | 41 | * |
| 42 | 42 | * @param Request $request |
| 43 | - * @return \Illuminate\Http\Response |
|
| 43 | + * @return \Illuminate\Pagination\LengthAwarePaginator |
|
| 44 | 44 | */ |
| 45 | 45 | public function index(Request $request) |
| 46 | 46 | { |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | /** |
| 34 | 34 | * Turn this item object into a generic array |
| 35 | 35 | * |
| 36 | - * @param Notification $logs |
|
| 36 | + * @param Log $logs |
|
| 37 | 37 | * @return array |
| 38 | 38 | */ |
| 39 | 39 | public function transform(Log $logs) |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | /** |
| 34 | 34 | * Turn this item object into a generic array |
| 35 | 35 | * |
| 36 | - * @param Notification $alerts |
|
| 36 | + * @param Alert $alerts |
|
| 37 | 37 | * @return array |
| 38 | 38 | */ |
| 39 | 39 | public function transform(Alert $alerts) |
@@ -25,7 +25,6 @@ |
||
| 25 | 25 | |
| 26 | 26 | namespace App\DataTables\Alerting; |
| 27 | 27 | |
| 28 | -use App\Models\Alerting\Alert; |
|
| 29 | 28 | use App\Models\Alerting\Log; |
| 30 | 29 | use Yajra\Datatables\Services\DataTable; |
| 31 | 30 | |
@@ -25,9 +25,9 @@ |
||
| 25 | 25 | |
| 26 | 26 | namespace App\Http\Controllers\Alerting; |
| 27 | 27 | |
| 28 | -use Illuminate\Http\Request; |
|
| 29 | 28 | use App\DataTables\AlertsDataTable; |
| 30 | 29 | use App\Http\Controllers\Controller; |
| 30 | +use Illuminate\Http\Request; |
|
| 31 | 31 | |
| 32 | 32 | class AlertsController extends Controller |
| 33 | 33 | { |