|
@@ -40,7 +40,7 @@ discard block |
|
|
block discarded – undo |
|
40
|
40
|
|
|
41
|
41
|
protected function isRelationProperty(Builder $query, string $property): bool |
|
42
|
42
|
{ |
|
43
|
|
- if (! Str::contains($property, '.')) { |
|
|
43
|
+ if (!Str::contains($property, '.')) { |
|
44
|
44
|
return false; |
|
45
|
45
|
} |
|
46
|
46
|
|
|
@@ -48,7 +48,7 @@ discard block |
|
|
block discarded – undo |
|
48
|
48
|
return false; |
|
49
|
49
|
} |
|
50
|
50
|
|
|
51
|
|
- return ! Str::startsWith($property, $query->getModel()->getTable() . '.'); |
|
|
51
|
+ return !Str::startsWith($property, $query->getModel()->getTable() . '.'); |
|
52
|
52
|
} |
|
53
|
53
|
|
|
54
|
54
|
protected function withRelationConstraint(Builder $query, $value, string $property): Builder |
Please login to merge, or discard this patch.