From 8ce32af61229eec8f4cc34b207273d47f60adc48 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Thu, 20 Aug 2015 07:53:55 +0200 Subject: CS We shouldn't forget to run `php-cs-fixer` time to time --- src/Wallabag/CoreBundle/Entity/Tag.php | 2 +- src/Wallabag/CoreBundle/Entity/User.php | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/Wallabag/CoreBundle/Entity') diff --git a/src/Wallabag/CoreBundle/Entity/Tag.php b/src/Wallabag/CoreBundle/Entity/Tag.php index 92442df6..6f005314 100644 --- a/src/Wallabag/CoreBundle/Entity/Tag.php +++ b/src/Wallabag/CoreBundle/Entity/Tag.php @@ -48,7 +48,7 @@ class Tag public function __construct(User $user) { - $this->user = $user; + $this->user = $user; $this->entries = new ArrayCollection(); } diff --git a/src/Wallabag/CoreBundle/Entity/User.php b/src/Wallabag/CoreBundle/Entity/User.php index 00eb808a..510a1594 100644 --- a/src/Wallabag/CoreBundle/Entity/User.php +++ b/src/Wallabag/CoreBundle/Entity/User.php @@ -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() { -- cgit v1.2.3