DX: fix json_decode signature

This commit is contained in:
Julien Fastré 2023-05-26 22:01:02 +02:00
parent 08874d734e
commit a3d3588b75
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -80,7 +80,7 @@ class Manager
foreach($this->connection->iterateAssociative($runSql, $runParams, $runTypes) as $row) { foreach($this->connection->iterateAssociative($runSql, $runParams, $runTypes) as $row) {
yield new GenericDocDTO( yield new GenericDocDTO(
$row['key'], $row['key'],
json_decode($row['identifiers'], true, JSON_THROW_ON_ERROR), json_decode($row['identifiers'], true, 512, JSON_THROW_ON_ERROR),
new \DateTimeImmutable($row['doc_date']), new \DateTimeImmutable($row['doc_date']),
$accompanyingPeriod, $accompanyingPeriod,
); );