mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
Fixes: Fix doctrine annotation and repository for CronJobExecution
This commit is contained in:
parent
ceee5e7eea
commit
e93458f943
@ -32,7 +32,7 @@ class CronJobExecution
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @var DateTimeImmutable
|
* @var DateTimeImmutable
|
||||||
* @ORM\Column(type="datetime_immutable, nullable=true, options={"default"": null})
|
* @ORM\Column(type="datetime_immutable", nullable=true, options={"default": null})
|
||||||
*/
|
*/
|
||||||
private ?DateTimeImmutable $lastEnd = null;
|
private ?DateTimeImmutable $lastEnd = null;
|
||||||
|
|
||||||
@ -41,6 +41,9 @@ class CronJobExecution
|
|||||||
*/
|
*/
|
||||||
private DateTimeImmutable $lastStart;
|
private DateTimeImmutable $lastStart;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ORM\Column(type="integer", nullable=true, options={"default": null})
|
||||||
|
*/
|
||||||
private ?int $lastStatus = null;
|
private ?int $lastStatus = null;
|
||||||
|
|
||||||
public function __construct(string $key)
|
public function __construct(string $key)
|
||||||
|
@ -52,6 +52,6 @@ class CronJobExecutionRepository implements CronJobExecutionRepositoryInterface
|
|||||||
|
|
||||||
public function getClassName(): string
|
public function getClassName(): string
|
||||||
{
|
{
|
||||||
return CronJobExecutionRepository::class;
|
return CronJobExecution::class;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user