Completed
Push — device-groups ( d263d8...cfdf4d )
by Tony
03:49
created
app/Models/DeviceGroup.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
         $related = $this->getRelation('deviceCountRelation')->first();
93 93
 
94 94
         // then return the count directly
95
-        return ($related) ? (int)$related->count : 0;
95
+        return ($related) ? (int) $related->count : 0;
96 96
     }
97 97
 
98 98
     /**
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
         if (starts_with($pattern, '%')) {
192 192
             $pattern = $this->convertV1Pattern($pattern);
193 193
 
194
-            $this->pattern = $pattern;  //TODO: does not save, only updates this instance
194
+            $this->pattern = $pattern; //TODO: does not save, only updates this instance
195 195
         }
196 196
 
197 197
         return $pattern;
Please login to merge, or discard this patch.