@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | ->where($this->key, $parent->{$this->localKey}) |
26 | 26 | ->first(); |
27 | 27 | |
28 | - return ! is_null($record) ? Arr::except($record, $this->key) : []; |
|
28 | + return !is_null($record) ? Arr::except($record, $this->key) : []; |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | { |
57 | 57 | $keys = $this->getKeys($models, $this->localKey); |
58 | 58 | |
59 | - $this->query->where(function (Builder $query) use ($keys) { |
|
59 | + $this->query->where(function(Builder $query) use ($keys) { |
|
60 | 60 | foreach ($keys as $key) { |
61 | 61 | if ($this->key) { |
62 | 62 | $key = [[$this->key => $key]]; |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | { |
180 | 180 | $parentKey = $this->getQualifiedParentKeyName(); |
181 | 181 | |
182 | - if (! $this->key) { |
|
182 | + if (!$this->key) { |
|
183 | 183 | return $this->getJsonGrammar($query)->compileJsonArray($query->qualifyColumn($parentKey)); |
184 | 184 | } |
185 | 185 |