@@ -104,11 +104,11 @@ |
||
| 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 | |
@@ -108,7 +108,7 @@ |
||
| 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 | |