diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/AnnotationBundle/Entity/Annotation.php | 6 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Entry.php | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Wallabag/AnnotationBundle/Entity/Annotation.php b/src/Wallabag/AnnotationBundle/Entity/Annotation.php index db9590b0..90ee7c2d 100644 --- a/src/Wallabag/AnnotationBundle/Entity/Annotation.php +++ b/src/Wallabag/AnnotationBundle/Entity/Annotation.php | |||
@@ -82,7 +82,7 @@ class Annotation | |||
82 | /* | 82 | /* |
83 | * @param User $user | 83 | * @param User $user |
84 | */ | 84 | */ |
85 | public function __construct(\Wallabag\UserBundle\Entity\User $user) | 85 | public function __construct(User $user) |
86 | { | 86 | { |
87 | $this->user = $user; | 87 | $this->user = $user; |
88 | } | 88 | } |
@@ -204,7 +204,7 @@ class Annotation | |||
204 | /** | 204 | /** |
205 | * Set user. | 205 | * Set user. |
206 | * | 206 | * |
207 | * @param string $user | 207 | * @param User $user |
208 | * | 208 | * |
209 | * @return Annotation | 209 | * @return Annotation |
210 | */ | 210 | */ |
@@ -218,7 +218,7 @@ class Annotation | |||
218 | /** | 218 | /** |
219 | * Get user. | 219 | * Get user. |
220 | * | 220 | * |
221 | * @return string | 221 | * @return User |
222 | */ | 222 | */ |
223 | public function getUser() | 223 | public function getUser() |
224 | { | 224 | { |
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(); |