@@ -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) |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | */ |
| 90 | 90 | public function query() |
| 91 | 91 | { |
| 92 | - $logs = Log::query()->with('device','user','rule')->select('alert_log.*'); |
|
| 92 | + $logs = Log::query()->with('device', 'user', 'rule')->select('alert_log.*'); |
|
| 93 | 93 | return $this->applyScopes($logs); |
| 94 | 94 | } |
| 95 | 95 | |