|
@@ -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.