Test Setup Failed
Push — master ( 31bf82...706028 )
by Jan
02:03
created
src/Application/Assembler/ListWishDtoAssembler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      */
17 17
     public function toArrayOfDto(array $wishes): array
18 18
     {
19
-        return array_map(function (Wish $wish) {
19
+        return array_map(function(Wish $wish) {
20 20
             $dto = new ListWishDto();
21 21
             $dto->id = $wish->getId()->getId();
22 22
             $dto->name = $wish->getName();
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     private function assembleDeposits(array $deposits)
35 35
     {
36
-        return array_map(function (Deposit $deposit) {
36
+        return array_map(function(Deposit $deposit) {
37 37
             $dto = new ListDepositDto();
38 38
             $dto->amount = $deposit->getMoney()->getAmount();
39 39
             $dto->currency = $deposit->getMoney()->getCurrency()->getCode();
Please login to merge, or discard this patch.