aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity/IgnoreOriginUserRule.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/IgnoreOriginUserRule.php')
-rw-r--r--src/Wallabag/CoreBundle/Entity/IgnoreOriginUserRule.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/IgnoreOriginUserRule.php b/src/Wallabag/CoreBundle/Entity/IgnoreOriginUserRule.php
index befd6090..0b6f318d 100644
--- a/src/Wallabag/CoreBundle/Entity/IgnoreOriginUserRule.php
+++ b/src/Wallabag/CoreBundle/Entity/IgnoreOriginUserRule.php
@@ -11,7 +11,6 @@ use Symfony\Component\Validator\Constraints as Assert;
11 * 11 *
12 * @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\IgnoreOriginUserRuleRepository") 12 * @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\IgnoreOriginUserRuleRepository")
13 * @ORM\Table(name="`ignore_origin_user_rule`") 13 * @ORM\Table(name="`ignore_origin_user_rule`")
14 * @ORM\Entity
15 */ 14 */
16class IgnoreOriginUserRule implements IgnoreOriginRuleInterface, RuleInterface 15class IgnoreOriginUserRule implements IgnoreOriginRuleInterface, RuleInterface
17{ 16{
@@ -30,7 +29,7 @@ class IgnoreOriginUserRule implements IgnoreOriginRuleInterface, RuleInterface
30 * @Assert\NotBlank() 29 * @Assert\NotBlank()
31 * @Assert\Length(max=255) 30 * @Assert\Length(max=255)
32 * @RulerZAssert\ValidRule( 31 * @RulerZAssert\ValidRule(
33 * allowed_variables={"host","pattern"}, 32 * allowed_variables={"host","_all"},
34 * allowed_operators={"=","~"} 33 * allowed_operators={"=","~"}
35 * ) 34 * )
36 * @ORM\Column(name="rule", type="string", nullable=false) 35 * @ORM\Column(name="rule", type="string", nullable=false)