forked from wallabag/wallabag
Migrate to Symfony attributes
This commit is contained in:
@ -68,14 +68,11 @@ class Entry
|
||||
*
|
||||
* @var string|null
|
||||
*
|
||||
* @Assert\NotBlank()
|
||||
* @Assert\Url(
|
||||
* message = "The url '{{ value }}' is not a valid url",
|
||||
* )
|
||||
*
|
||||
* @Groups({"entries_for_user", "export_all"})
|
||||
*/
|
||||
#[ORM\Column(name: 'url', type: 'text', nullable: true)]
|
||||
#[Assert\NotBlank]
|
||||
#[Assert\Url(message: "The url '{{ value }}' is not a valid url")]
|
||||
private $url;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user