Completed
Pull Request — master (#2)
by
unknown
03:10
created
src/Translate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
     public static function cursorToAssociativeArray(Cursor $cursor): array
13 13
     {
14 14
         $objects = $cursor->toArray();
15
-        array_walk($objects, static function (\ArrayObject &$entry): void {
15
+        array_walk($objects, static function(\ArrayObject &$entry): void {
16 16
             $entry = self::normalizeValues($entry->getArrayCopy());
17 17
         });
18 18
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     public static function normalizeValues(array $values): array
33 33
     {
34
-        return array_map(static function ($value) {
34
+        return array_map(static function($value) {
35 35
             /** @var \ArrayObject $value */
36 36
             if (is_a($value, \ArrayObject::class)) {
37 37
                 return self::normalizeValues($value->getArrayCopy());
Please login to merge, or discard this patch.