]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/AnnotationBundle/Entity/Annotation.php
API return an error with empty quote
[github/wallabag/wallabag.git] / src / Wallabag / AnnotationBundle / Entity / Annotation.php
index a180d504786c866686a70e34b8510d133e9e3b11..ee7c19310108b904d6ac1c6533b00b14d996841d 100644 (file)
@@ -60,6 +60,7 @@ class Annotation
     /**
      * @var string
      *
+     * @Assert\NotNull()
      * @Assert\Length(
      *     max = 10000,
      *     maxMessage = "validator.quote_length_too_high"