Passed
Pull Request — master (#10)
by Zing
04:47
created
src/Filter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -205,9 +205,9 @@
 block discarded – undo
205 205
         if (is_array($value)) {
206 206
             $remainingProperties = array_diff($value, $this->getIgnored()->toArray());
207 207
 
208
-            return ! empty($remainingProperties) ? $remainingProperties : null;
208
+            return !empty($remainingProperties) ? $remainingProperties : null;
209 209
         }
210 210
 
211
-        return ! $this->getIgnored()->contains($value) ? $value : null;
211
+        return !$this->getIgnored()->contains($value) ? $value : null;
212 212
     }
213 213
 }
Please login to merge, or discard this patch.
src/Filters/FiltersExact.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
     protected function isRelationProperty(Builder $query, string $property): bool
30 30
     {
31
-        if (! Str::contains($property, '.')) {
31
+        if (!Str::contains($property, '.')) {
32 32
             return false;
33 33
         }
34 34
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
             return false;
37 37
         }
38 38
 
39
-        return ! Str::startsWith($property, $query->getModel()->getTable() . '.');
39
+        return !Str::startsWith($property, $query->getModel()->getTable() . '.');
40 40
     }
41 41
 
42 42
     protected function withRelationConstraint($query, $value, string $property)
Please login to merge, or discard this patch.