Class cannot be final if you want to use lazy proxy

This commit is contained in:
2025-05-26 14:54:47 +02:00
parent ce98b9ae48
commit 3f27d9e8fc

View File

@@ -37,7 +37,7 @@ use Psr\Log\LoggerInterface;
* If a tasks is "forced", there is no test about eligibility of the task (the `canRun` method is not called), * If a tasks is "forced", there is no test about eligibility of the task (the `canRun` method is not called),
* and the last task execution is not recorded. * and the last task execution is not recorded.
*/ */
final readonly class CronManager implements CronManagerInterface class CronManager implements CronManagerInterface
{ {
private const LOG_PREFIX = '[cron manager] '; private const LOG_PREFIX = '[cron manager] ';