mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-24 08:30:30 +00:00
Some cleanup
- travis tabulation - extra namespace definition in entities
This commit is contained in:
parent
18b812b1b9
commit
5d6f6f56a2
3 changed files with 7 additions and 7 deletions
|
@ -23,9 +23,9 @@ php:
|
|||
- hhvm
|
||||
|
||||
env:
|
||||
- DB=mysql
|
||||
- DB=pgsql
|
||||
- DB=sqlite
|
||||
- DB=mysql
|
||||
- DB=pgsql
|
||||
- DB=sqlite
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue