@@ -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) |
@@ -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 | } |