Fix incorrect property access in CompletionChecker

Corrected the property access from array syntax to object syntax for `$hash->field` in the `CompletionChecker.php` file. This ensures proper handling of fields and prevents potential runtime errors.
This commit is contained in:
Leonid Nikitin 2025-02-13 22:42:40 +05:00
parent 8b35a5691f
commit 90aa909b7f
Signed by: kor-elf
GPG Key ID: DAB5355A11C22541

View File

@ -30,7 +30,7 @@ final readonly class CompletionChecker
$isWaiting = true;
$hashSuccessIds[] = $hash->id;
}
$hashStatusWaiting->add($hash['field'], $isWaiting);
$hashStatusWaiting->add($hash->field, $isWaiting);
}
$this->commandHandler->handleSetStatusById($hashSuccessIds, Status::Success);