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
env:
- DB=mysql
- DB=pgsql
- DB=sqlite
- DB=mysql
- DB=pgsql
- DB=sqlite
matrix:
fast_finish: true

View file

@ -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()
{

View file

@ -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();