mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 21:34:59 +00:00
Apply rector rules: symfony up to 54
This commit is contained in:
@@ -16,17 +16,11 @@ use Symfony\Component\Validator\Constraints as Assert;
|
||||
|
||||
class CalendarDocCreateDTO
|
||||
{
|
||||
/**
|
||||
* @Assert\NotNull
|
||||
*
|
||||
* @Assert\Valid
|
||||
*/
|
||||
#[Assert\NotNull]
|
||||
#[Assert\Valid]
|
||||
public ?StoredObject $doc = null;
|
||||
|
||||
/**
|
||||
* @Assert\NotBlank
|
||||
*
|
||||
* @Assert\NotNull
|
||||
*/
|
||||
#[Assert\NotBlank]
|
||||
#[Assert\NotNull]
|
||||
public ?string $title = '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user