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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user