Passed
Push — master ( 575ac1...7d6027 )
by Jonas
01:44
created
src/Relations/HasManyJson.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.