diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-01-03 10:59:55 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-01-03 11:15:44 +0100 |
commit | 8eedc8cfacc07e998f6f0bcdfe5b76496a215ea2 (patch) | |
tree | 0468cbda100277f573e4f0f8ce02f8af3f42ccad /src/Wallabag/CoreBundle | |
parent | c5c7f90a81d7a2082c7b6dad38c2a6dfdba8d016 (diff) | |
download | wallabag-8eedc8cfacc07e998f6f0bcdfe5b76496a215ea2.tar.gz wallabag-8eedc8cfacc07e998f6f0bcdfe5b76496a215ea2.tar.zst wallabag-8eedc8cfacc07e998f6f0bcdfe5b76496a215ea2.zip |
Few phpDoc fix
And some little mistakes
Diffstat (limited to 'src/Wallabag/CoreBundle')
-rw-r--r-- | src/Wallabag/CoreBundle/Command/InstallCommand.php | 1 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Config.php | 9 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Entry.php | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/Wallabag/CoreBundle/Command/InstallCommand.php b/src/Wallabag/CoreBundle/Command/InstallCommand.php index 85c4ee90..e791d4dd 100644 --- a/src/Wallabag/CoreBundle/Command/InstallCommand.php +++ b/src/Wallabag/CoreBundle/Command/InstallCommand.php | |||
@@ -11,7 +11,6 @@ use Symfony\Component\Console\Output\NullOutput; | |||
11 | use Symfony\Component\Console\Question\Question; | 11 | use Symfony\Component\Console\Question\Question; |
12 | use Symfony\Component\Console\Question\ConfirmationQuestion; | 12 | use Symfony\Component\Console\Question\ConfirmationQuestion; |
13 | use Symfony\Component\Console\Helper\Table; | 13 | use Symfony\Component\Console\Helper\Table; |
14 | use Wallabag\UserBundle\Entity\User; | ||
15 | use Wallabag\CoreBundle\Entity\Config; | 14 | use Wallabag\CoreBundle\Entity\Config; |
16 | 15 | ||
17 | class InstallCommand extends ContainerAwareCommand | 16 | class InstallCommand extends ContainerAwareCommand |
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 | { |
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php index b413c489..f11a7786 100644 --- a/src/Wallabag/CoreBundle/Entity/Entry.php +++ b/src/Wallabag/CoreBundle/Entity/Entry.php | |||
@@ -245,7 +245,7 @@ class Entry | |||
245 | /** | 245 | /** |
246 | * Set isArchived. | 246 | * Set isArchived. |
247 | * | 247 | * |
248 | * @param string $isArchived | 248 | * @param bool $isArchived |
249 | * | 249 | * |
250 | * @return Entry | 250 | * @return Entry |
251 | */ | 251 | */ |
@@ -259,7 +259,7 @@ class Entry | |||
259 | /** | 259 | /** |
260 | * Get isArchived. | 260 | * Get isArchived. |
261 | * | 261 | * |
262 | * @return string | 262 | * @return bool |
263 | */ | 263 | */ |
264 | public function isArchived() | 264 | public function isArchived() |
265 | { | 265 | { |
@@ -276,7 +276,7 @@ class Entry | |||
276 | /** | 276 | /** |
277 | * Set isStarred. | 277 | * Set isStarred. |
278 | * | 278 | * |
279 | * @param string $isStarred | 279 | * @param bool $isStarred |
280 | * | 280 | * |
281 | * @return Entry | 281 | * @return Entry |
282 | */ | 282 | */ |
@@ -290,7 +290,7 @@ class Entry | |||
290 | /** | 290 | /** |
291 | * Get isStarred. | 291 | * Get isStarred. |
292 | * | 292 | * |
293 | * @return string | 293 | * @return bool |
294 | */ | 294 | */ |
295 | public function isStarred() | 295 | public function isStarred() |
296 | { | 296 | { |