diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Config.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Config.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Config.php b/src/Wallabag/CoreBundle/Entity/Config.php index 2ca4182e..d3590f35 100644 --- a/src/Wallabag/CoreBundle/Entity/Config.php +++ b/src/Wallabag/CoreBundle/Entity/Config.php | |||
@@ -5,6 +5,7 @@ namespace Wallabag\CoreBundle\Entity; | |||
5 | use Doctrine\Common\Collections\ArrayCollection; | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | use Doctrine\ORM\Mapping as ORM; | 6 | use Doctrine\ORM\Mapping as ORM; |
7 | use Symfony\Component\Validator\Constraints as Assert; | 7 | use Symfony\Component\Validator\Constraints as Assert; |
8 | use Wallabag\UserBundle\Entity\User; | ||
8 | 9 | ||
9 | /** | 10 | /** |
10 | * Config. | 11 | * Config. |
@@ -86,7 +87,7 @@ class Config | |||
86 | /* | 87 | /* |
87 | * @param User $user | 88 | * @param User $user |
88 | */ | 89 | */ |
89 | public function __construct(\Wallabag\UserBundle\Entity\User $user) | 90 | public function __construct(User $user) |
90 | { | 91 | { |
91 | $this->user = $user; | 92 | $this->user = $user; |
92 | $this->taggingRules = new ArrayCollection(); | 93 | $this->taggingRules = new ArrayCollection(); |
@@ -181,7 +182,7 @@ class Config | |||
181 | * | 182 | * |
182 | * @return Config | 183 | * @return Config |
183 | */ | 184 | */ |
184 | public function setUser(\Wallabag\UserBundle\Entity\User $user = null) | 185 | public function setUser(User $user = null) |
185 | { | 186 | { |
186 | $this->user = $user; | 187 | $this->user = $user; |
187 | 188 | ||
@@ -225,7 +226,7 @@ class Config | |||
225 | /** | 226 | /** |
226 | * Set rssLimit. | 227 | * Set rssLimit. |
227 | * | 228 | * |
228 | * @param string $rssLimit | 229 | * @param int $rssLimit |
229 | * | 230 | * |
230 | * @return Config | 231 | * @return Config |
231 | */ | 232 | */ |
@@ -239,7 +240,7 @@ class Config | |||
239 | /** | 240 | /** |
240 | * Get rssLimit. | 241 | * Get rssLimit. |
241 | * | 242 | * |
242 | * @return string | 243 | * @return int |
243 | */ | 244 | */ |
244 | public function getRssLimit() | 245 | public function getRssLimit() |
245 | { | 246 | { |