@@ -94,7 +94,7 @@ |
||
| 94 | 94 | $result = $this->connection->executeQuery($query)->fetchAllAssociative(); |
| 95 | 95 | |
| 96 | 96 | return new Companies( |
| 97 | - ...\array_map(static function (array $company) { |
|
| 97 | + ...\array_map(static function(array $company) { |
|
| 98 | 98 | return new CompanyModel( |
| 99 | 99 | $company['uuid'], |
| 100 | 100 | $company['name'], |
@@ -104,7 +104,7 @@ |
||
| 104 | 104 | $result = $this->connection->executeQuery($query)->fetchAllAssociative(); |
| 105 | 105 | |
| 106 | 106 | return new Users( |
| 107 | - ...\array_map(static function (array $user) { |
|
| 107 | + ...\array_map(static function(array $user) { |
|
| 108 | 108 | return new UserReadModel( |
| 109 | 109 | $user['uuid'], |
| 110 | 110 | $user['username'], |
@@ -110,7 +110,7 @@ |
||
| 110 | 110 | $result = $this->connection->executeQuery($query)->fetchAllAssociative(); |
| 111 | 111 | |
| 112 | 112 | return new Suppliers( |
| 113 | - ...\array_map(static function (array $supplier) { |
|
| 113 | + ...\array_map(static function(array $supplier) { |
|
| 114 | 114 | return new SupplierModel( |
| 115 | 115 | $supplier['uuid'], |
| 116 | 116 | $supplier['name'], |