@@ -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) |
@@ -102,7 +102,8 @@ |
||
| 102 | 102 | } catch(\Exception $e) { |
| 103 | 103 | if(starts_with($e->getMessage(), 'unserialize():')) { |
| 104 | 104 | return $value; |
| 105 | - } else { |
|
| 105 | + } |
|
| 106 | + else { |
|
| 106 | 107 | throw $e; |
| 107 | 108 | } |
| 108 | 109 | } |