diff --git a/.travis.yml b/.travis.yml index e2bf90cab..fc9a38c26 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,9 +23,9 @@ php: - hhvm env: - - DB=mysql - - DB=pgsql - - DB=sqlite + - DB=mysql + - DB=pgsql + - DB=sqlite matrix: fast_finish: true diff --git a/src/Wallabag/AnnotationBundle/Entity/Annotation.php b/src/Wallabag/AnnotationBundle/Entity/Annotation.php index db9590b07..90ee7c2d7 100644 --- a/src/Wallabag/AnnotationBundle/Entity/Annotation.php +++ b/src/Wallabag/AnnotationBundle/Entity/Annotation.php @@ -82,7 +82,7 @@ class Annotation /* * @param User $user */ - public function __construct(\Wallabag\UserBundle\Entity\User $user) + public function __construct(User $user) { $this->user = $user; } @@ -204,7 +204,7 @@ class Annotation /** * Set user. * - * @param string $user + * @param User $user * * @return Annotation */ @@ -218,7 +218,7 @@ class Annotation /** * Get user. * - * @return string + * @return User */ public function getUser() { diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php index 8f4ddf613..1271f1f5f 100644 --- a/src/Wallabag/CoreBundle/Entity/Entry.php +++ b/src/Wallabag/CoreBundle/Entity/Entry.php @@ -187,7 +187,7 @@ class Entry /* * @param User $user */ - public function __construct(\Wallabag\UserBundle\Entity\User $user) + public function __construct(User $user) { $this->user = $user; $this->tags = new ArrayCollection();