mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Remove assert attribute on startdate
This commit is contained in:
parent
eea1e40663
commit
912861dbff
@ -46,7 +46,6 @@ class NewsItem implements TrackCreationInterface, TrackUpdateInterface
|
||||
private string $content = '';
|
||||
|
||||
#[Assert\NotNull]
|
||||
#[Assert\GreaterThanOrEqual('today')]
|
||||
#[Groups(['read'])]
|
||||
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::DATE_IMMUTABLE, nullable: false)]
|
||||
private ?\DateTimeImmutable $startDate = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user