fix : use getIsFinal() instead of isFinal() on TaskStatus

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matthieu
2026-03-19 10:44:29 +01:00
parent fd1da75fd7
commit 99b664cdd8
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ final readonly class RecurrenceHandler
{
// Only trigger on STATUS CHANGE to isFinal
$currentStatus = $task->getStatus();
$isNowFinal = $currentStatus?->isFinal() ?? false;
$isNowFinal = $currentStatus?->getIsFinal() ?? false;
if (!$isNowFinal || $wasAlreadyFinal) {
return; // No transition to final