@@ -26,7 +26,7 @@ |
||
| 26 | 26 | |
| 27 | 27 | protected function isRelationProperty(Builder $query, string $property): bool |
| 28 | 28 | { |
| 29 | - if (! Str::contains($property, '.')) { |
|
| 29 | + if (!Str::contains($property, '.')) { |
|
| 30 | 30 | return false; |
| 31 | 31 | } |
| 32 | 32 | |
@@ -205,9 +205,9 @@ |
||
| 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 | } |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | * |
| 42 | 42 | * @deprecated use fromBuilder instead |
| 43 | 43 | */ |
| 44 | - public static function for($baseQuery, Request $request) |
|
| 44 | + public static function for ($baseQuery, Request $request) |
|
| 45 | 45 | { |
| 46 | 46 | return self::fromBuilder($baseQuery, $request); |
| 47 | 47 | } |