Completed
Pull Request — develop (#98)
by Neil
03:54
created
app/Models/Alerting/Rule.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     }
65 65
 
66 66
     /**
67
-     * @return \Illuminate\Database\Eloquent\Relations\belongsTo
67
+     * @return \Illuminate\Database\Eloquent\Relations\HasMany
68 68
      */
69 69
     public function device()
70 70
     {
Please login to merge, or discard this patch.
app/Models/Alerting/Alert.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,8 +73,8 @@
 block discarded – undo
73 73
     /**
74 74
      *
75 75
      */
76
-     public function scopeActive(Builder $query)
77
-     {
78
-         return $query->where('state', '!=', '0');
79
-     }
76
+        public function scopeActive(Builder $query)
77
+        {
78
+            return $query->where('state', '!=', '0');
79
+        }
80 80
 }
Please login to merge, or discard this patch.