Some cleanup

- travis tabulation
- extra namespace definition in entities
This commit is contained in:
Jeremy Benoist 2016-03-27 19:20:43 +02:00
parent 18b812b1b9
commit 5d6f6f56a2
3 changed files with 7 additions and 7 deletions

View file

@ -23,9 +23,9 @@ php:
- hhvm - hhvm
env: env:
- DB=mysql - DB=mysql
- DB=pgsql - DB=pgsql
- DB=sqlite - DB=sqlite
matrix: matrix:
fast_finish: true fast_finish: true

View file

@ -82,7 +82,7 @@ class Annotation
/* /*
* @param User $user * @param User $user
*/ */
public function __construct(\Wallabag\UserBundle\Entity\User $user) public function __construct(User $user)
{ {
$this->user = $user; $this->user = $user;
} }
@ -204,7 +204,7 @@ class Annotation
/** /**
* Set user. * Set user.
* *
* @param string $user * @param User $user
* *
* @return Annotation * @return Annotation
*/ */
@ -218,7 +218,7 @@ class Annotation
/** /**
* Get user. * Get user.
* *
* @return string * @return User
*/ */
public function getUser() public function getUser()
{ {

View file

@ -187,7 +187,7 @@ class Entry
/* /*
* @param User $user * @param User $user
*/ */
public function __construct(\Wallabag\UserBundle\Entity\User $user) public function __construct(User $user)
{ {
$this->user = $user; $this->user = $user;
$this->tags = new ArrayCollection(); $this->tags = new ArrayCollection();