mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
Render for generic doc
This commit is contained in:
@@ -23,7 +23,7 @@ class Manager
|
||||
|
||||
public function __construct(
|
||||
/**
|
||||
* @var iterable<ProviderForAccompanyingPeriodInterface>
|
||||
* @var iterable<GenericDocForAccompanyingPeriodProviderInterface>
|
||||
*/
|
||||
private readonly iterable $providersForAccompanyingPeriod,
|
||||
private readonly Connection $connection,
|
||||
@@ -81,7 +81,8 @@ class Manager
|
||||
yield new GenericDocDTO(
|
||||
$row['key'],
|
||||
json_decode($row['identifiers'], true, JSON_THROW_ON_ERROR),
|
||||
new \DateTimeImmutable($row['doc_date'])
|
||||
new \DateTimeImmutable($row['doc_date']),
|
||||
$accompanyingPeriod,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user