@@ -18,7 +18,7 @@ discard block |
||
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 |
||
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); |