Passed
Pull Request — master (#136)
by Zing
05:52
created
src/Concerns/WithSearchable.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,8 +102,7 @@
 block discarded – undo
102 102
                     throw ParameterException::unsupportedFilterWithDefaultValueForSearch();
103 103
                 }
104 104
                 $results[] = $singleSearchable;
105
-            }
106
-            elseif (Str::contains($singleSearchable, '.')) {
105
+            } elseif (Str::contains($singleSearchable, '.')) {
107 106
                 [$relation, $property] = $this->resolveNestedRelation($singleSearchable);
108 107
 
109 108
                 $results[$relation][] = $property;
Please login to merge, or discard this patch.