@@ -16,7 +16,7 @@ discard block |
||
| 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 |
||
| 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 DepositDto(); |
| 38 | 38 | $dto->id = $deposit->getId()->getId(); |
| 39 | 39 | $dto->amount = $deposit->getMoney()->getAmount(); |