aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Config.php4
-rw-r--r--src/Wallabag/CoreBundle/Entity/Entry.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Config.php b/src/Wallabag/CoreBundle/Entity/Config.php
index e18b543b..a25656d3 100644
--- a/src/Wallabag/CoreBundle/Entity/Config.php
+++ b/src/Wallabag/CoreBundle/Entity/Config.php
@@ -40,7 +40,7 @@ class Config
40 * @Assert\Range( 40 * @Assert\Range(
41 * min = 1, 41 * min = 1,
42 * max = 100000, 42 * max = 100000,
43 * maxMessage = "This will certainly kill the app" 43 * maxMessage = "validator.item_per_page_too_high"
44 * ) 44 * )
45 * @ORM\Column(name="items_per_page", type="integer", nullable=false) 45 * @ORM\Column(name="items_per_page", type="integer", nullable=false)
46 */ 46 */
@@ -68,7 +68,7 @@ class Config
68 * @Assert\Range( 68 * @Assert\Range(
69 * min = 1, 69 * min = 1,
70 * max = 100000, 70 * max = 100000,
71 * maxMessage = "This will certainly kill the app" 71 * maxMessage = "validator.rss_limit_too_hight"
72 * ) 72 * )
73 */ 73 */
74 private $rssLimit; 74 private $rssLimit;
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php
index 8f4ddf61..1271f1f5 100644
--- a/src/Wallabag/CoreBundle/Entity/Entry.php
+++ b/src/Wallabag/CoreBundle/Entity/Entry.php
@@ -187,7 +187,7 @@ class Entry
187 /* 187 /*
188 * @param User $user 188 * @param User $user
189 */ 189 */
190 public function __construct(\Wallabag\UserBundle\Entity\User $user) 190 public function __construct(User $user)
191 { 191 {
192 $this->user = $user; 192 $this->user = $user;
193 $this->tags = new ArrayCollection(); 193 $this->tags = new ArrayCollection();