We shouldn't forget to run `php-cs-fixer` time to time
This commit is contained in:
Jeremy Benoist
2015-08-20 07:53:55 +02:00
parent 34437f408c
commit 8ce32af612
22 changed files with 73 additions and 74 deletions

View File

@ -48,7 +48,7 @@ class Tag
public function __construct(User $user)
{
$this->user = $user;
$this->user = $user;
$this->entries = new ArrayCollection();
}

View File

@ -123,9 +123,9 @@ class User implements AdvancedUserInterface, \Serializable
public function __construct()
{
$this->isActive = true;
$this->salt = md5(uniqid(null, true));
$this->entries = new ArrayCollection();
$this->tags = new ArrayCollection();
$this->salt = md5(uniqid(null, true));
$this->entries = new ArrayCollection();
$this->tags = new ArrayCollection();
}
/**
@ -176,7 +176,7 @@ class User implements AdvancedUserInterface, \Serializable
}
/**
* @inheritDoc
* {@inheritdoc}
*/
public function getSalt()
{
@ -184,7 +184,7 @@ class User implements AdvancedUserInterface, \Serializable
}
/**
* @inheritDoc
* {@inheritdoc}
*/
public function getRoles()
{
@ -323,7 +323,7 @@ class User implements AdvancedUserInterface, \Serializable
return $this->tags;
}
/**
* @inheritDoc
* {@inheritdoc}
*/
public function eraseCredentials()
{