@@ -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 | } |
@@ -28,7 +28,7 @@ discard block |
||
| 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 |
||
| 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) |