Passed
Push — master ( 40afa8...6960c4 )
by Pieter
02:56
created
src/Plugins/Illuminate/Normalizers/LazyCollectionNormalizer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,13 +20,13 @@
 block discarded – undo
20 20
     {
21 21
         if (array_key_exists('collection_resource', $context)) {
22 22
             unset($context['object_to_populate']);
23
-            return LazyCollection::make(function () use (&$data, &$format, &$context) {
23
+            return LazyCollection::make(function() use (&$data, &$format, &$context) {
24 24
                 foreach ($data as $key => $value) {
25 25
                     yield $key => $this->serialize($value, $context['collection_resource'], $format, $context);
26 26
                 }
27 27
             });
28 28
         }
29
-        return LazyCollection::make(function () use (&$data) {
29
+        return LazyCollection::make(function() use (&$data) {
30 30
             yield from $data;
31 31
         });
32 32
     }
Please login to merge, or discard this patch.