mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-06 05:19:43 +00:00
[WIP] refactorization to show details of an address
This commit is contained in:
@@ -97,7 +97,9 @@ final readonly class AddressReferenceRepository implements AddressReferenceRepos
|
||||
|
||||
$result = $qb->executeQuery();
|
||||
|
||||
return $result->iterateAssociative();
|
||||
foreach ($result->iterateAssociative() as $row) {
|
||||
yield [...$row, 'positions' => json_decode($row['positions'], true, 512, JSON_THROW_ON_ERROR)];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user