Completed
Pull Request — master (#3)
by
unknown
02:00
created
src/Translate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
     public static function cursorToAssociativeArray(Cursor $cursor, array $options = []): array
19 19
     {
20 20
         $objects = $cursor->toArray();
21
-        array_walk($objects, static function (\ArrayObject &$entry) use ($options): void {
21
+        array_walk($objects, static function(\ArrayObject &$entry) use ($options): void {
22 22
             $entry = self::normalizeValues($entry->getArrayCopy(), $options);
23 23
         });
24 24
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
             $options = self::NORMALIZER_OPTIONS;
48 48
         }
49 49
 
50
-        return array_map(static function ($value) use ($options) {
50
+        return array_map(static function($value) use ($options) {
51 51
             /** @var \ArrayObject $value */
52 52
             if (is_a($value, \ArrayObject::class)) {
53 53
                 return self::normalizeValues($value->getArrayCopy(), $options);
Please login to merge, or discard this patch.