Completed
Pull Request — develop (#100)
by Neil
27:42 queued 09:15
created
app/Api/Controllers/Alerting/LogsController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
app/Api/Transformers/Alerting/LogsTransformer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
app/Api/Transformers/AlertsTransformer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
app/DataTables/Alerting/LogsDataTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.