Passed
Push — master ( f23d48...ec3b52 )
by Jonas
12:13
created
src/Relations/BelongsToJson.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@
 block discarded – undo
200 200
         $key = str_replace('->', '.', $this->key);
201 201
 
202 202
         $record = (new BaseCollection($parent->{$this->path}))
203
-            ->filter(function ($value) use ($key, $model) {
203
+            ->filter(function($value) use ($key, $model) {
204 204
                 return Arr::get($value, $key) == $model->{$this->ownerKey};
205 205
             })->first();
206 206
 
Please login to merge, or discard this patch.