Rétablir la compatibilité avec PHP 8.2
This commit is contained in:
parent
9a2b4068da
commit
63224d8b06
12 changed files with 16 additions and 16 deletions
|
|
@ -164,7 +164,7 @@ try {
|
|||
$outside = AgendaService::save([
|
||||
'item_type' => 'task',
|
||||
'title' => 'Semaine suivante',
|
||||
'date' => new DateTimeImmutable('monday next week')->format('Y-m-d'),
|
||||
'date' => (new DateTimeImmutable('monday next week'))->format('Y-m-d'),
|
||||
'time' => '10:00',
|
||||
]);
|
||||
$ids = array_map('intval', array_column(AgendaService::week(new DateTimeImmutable('today')), 'id'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue