Passed
Pull Request — master (#136)
by Zing
05:42
created
src/Concerns/WithSearchable.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -104,11 +104,11 @@
 block discarded – undo
104 104
     {
105 105
         $results = [];
106 106
         foreach ($searchable as $singleSearchable) {
107
-            if (! $singleSearchable instanceof Filter && Str::contains($singleSearchable, '.')) {
107
+            if (!$singleSearchable instanceof Filter && Str::contains($singleSearchable, '.')) {
108 108
                 [$relation, $property] = $this->resolveNestedRelation($singleSearchable);
109 109
 
110 110
                 $results[$relation][] = $property;
111
-            }else{
111
+            } else {
112 112
                 $results[] = $singleSearchable;
113 113
             }
114 114
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
                 [$relation, $property] = $this->resolveNestedRelation($singleSearchable);
109 109
 
110 110
                 $results[$relation][] = $property;
111
-            }else{
111
+            } else{
112 112
                 $results[] = $singleSearchable;
113 113
             }
114 114
 
Please login to merge, or discard this patch.