Passed
Push — develop ( 96c308...e3a9b8 )
by nguereza
02:38
created
src/Auth/Entity/User.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@  discard block
 block discarded – undo
56 56
  * @class User
57 57
  * @package Platine\Framework\Auth\Entity
58 58
  */
59
-class User extends Entity implements IdentityInterface
60
-{
59
+class User extends Entity implements IdentityInterface {
61 60
 
62 61
     /**
63 62
      * {@inheritdoc}
@@ -107,8 +106,7 @@  discard block
 block discarded – undo
107 106
     /**
108 107
      * {@inheritdoc}
109 108
      */
110
-    public function getId()
111
-    {
109
+    public function getId() {
112 110
         return $this->mapper()->getColumn('id');
113 111
     }
114 112
 
@@ -135,8 +133,7 @@  discard block
 block discarded – undo
135 133
     /**
136 134
      * {@inheritdoc}
137 135
      */
138
-    public function jsonSerialize()
139
-    {
136
+    public function jsonSerialize() {
140 137
         return [
141 138
           'id' =>  $this->mapper()->getColumn('id'),
142 139
           'username' => $this->mapper()->getColumn('username'),
Please login to merge, or discard this patch.
src/Auth/Entity/Permission.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@  discard block
 block discarded – undo
54 54
  * @class Permission
55 55
  * @package Platine\Framework\Auth\Entity
56 56
  */
57
-class Permission extends Entity
58
-{
57
+class Permission extends Entity {
59 58
 
60 59
     /**
61 60
      * {@inheritdoc}
@@ -72,8 +71,7 @@  discard block
 block discarded – undo
72 71
     /**
73 72
      * {@inheritdoc}
74 73
      */
75
-    public function jsonSerialize()
76
-    {
74
+    public function jsonSerialize() {
77 75
         return [
78 76
           'id' =>  $this->mapper()->getColumn('id'),
79 77
           'code' => $this->mapper()->getColumn('code'),
Please login to merge, or discard this patch.
src/Auth/Entity/Role.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@  discard block
 block discarded – undo
54 54
  * @class Role
55 55
  * @package Platine\Framework\Auth\Entity
56 56
  */
57
-class Role extends Entity
58
-{
57
+class Role extends Entity {
59 58
 
60 59
     /**
61 60
      * {@inheritdoc}
@@ -101,8 +100,7 @@  discard block
 block discarded – undo
101 100
     /**
102 101
      * {@inheritdoc}
103 102
      */
104
-    public function jsonSerialize()
105
-    {
103
+    public function jsonSerialize() {
106 104
         return [
107 105
           'id' =>  $this->mapper()->getColumn('id'),
108 106
           'name' => $this->mapper()->getColumn('name'),
Please login to merge, or discard this patch.