Passed
Branch 2.2 (657331)
by Pieter
02:56
created
src/Services/Eloquent/EloquentModelSerializer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         $modelInstances = $builder->get();
53 53
 
54 54
         return array_map(
55
-            function ($modelInstance) use (&$resourceClass) {
55
+            function($modelInstance) use (&$resourceClass) {
56 56
                 return $this->toResource($modelInstance, $resourceClass);
57 57
             },
58 58
             iterator_to_array($modelInstances)
Please login to merge, or discard this patch.