Passed
Push — develop ( 96c308...e3a9b8 )
by nguereza
02:38
created
src/Auth/Entity/User.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -138,15 +138,15 @@
 block discarded – undo
138 138
     public function jsonSerialize()
139 139
     {
140 140
         return [
141
-          'id' =>  $this->mapper()->getColumn('id'),
142
-          'username' => $this->mapper()->getColumn('username'),
143
-          'email' => $this->mapper()->getColumn('email'),
144
-          'status' => $this->mapper()->getColumn('status'),
145
-          'lastname' => $this->mapper()->getColumn('lastname'),
146
-          'firstname' => $this->mapper()->getColumn('firstname'),
147
-          'role' => $this->mapper()->getColumn('role'),
148
-          'created_at' => $this->mapper()->getColumn('created_at'),
149
-          'updated_at' => $this->mapper()->getColumn('updated_at'),
141
+            'id' =>  $this->mapper()->getColumn('id'),
142
+            'username' => $this->mapper()->getColumn('username'),
143
+            'email' => $this->mapper()->getColumn('email'),
144
+            'status' => $this->mapper()->getColumn('status'),
145
+            'lastname' => $this->mapper()->getColumn('lastname'),
146
+            'firstname' => $this->mapper()->getColumn('firstname'),
147
+            'role' => $this->mapper()->getColumn('role'),
148
+            'created_at' => $this->mapper()->getColumn('created_at'),
149
+            'updated_at' => $this->mapper()->getColumn('updated_at'),
150 150
         ];
151 151
     }
152 152
 }
Please login to merge, or discard this 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 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -75,12 +75,12 @@
 block discarded – undo
75 75
     public function jsonSerialize()
76 76
     {
77 77
         return [
78
-          'id' =>  $this->mapper()->getColumn('id'),
79
-          'code' => $this->mapper()->getColumn('code'),
80
-          'description' => $this->mapper()->getColumn('description'),
81
-          'depend' => $this->mapper()->getColumn('depend'),
82
-          'created_at' => $this->mapper()->getColumn('created_at'),
83
-          'updated_at' => $this->mapper()->getColumn('updated_at'),
78
+            'id' =>  $this->mapper()->getColumn('id'),
79
+            'code' => $this->mapper()->getColumn('code'),
80
+            'description' => $this->mapper()->getColumn('description'),
81
+            'depend' => $this->mapper()->getColumn('depend'),
82
+            'created_at' => $this->mapper()->getColumn('created_at'),
83
+            'updated_at' => $this->mapper()->getColumn('updated_at'),
84 84
         ];
85 85
     }
86 86
 }
Please login to merge, or discard this 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 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -104,11 +104,11 @@
 block discarded – undo
104 104
     public function jsonSerialize()
105 105
     {
106 106
         return [
107
-          'id' =>  $this->mapper()->getColumn('id'),
108
-          'name' => $this->mapper()->getColumn('name'),
109
-          'description' => $this->mapper()->getColumn('description'),
110
-          'created_at' => $this->mapper()->getColumn('created_at'),
111
-          'updated_at' => $this->mapper()->getColumn('updated_at'),
107
+            'id' =>  $this->mapper()->getColumn('id'),
108
+            'name' => $this->mapper()->getColumn('name'),
109
+            'description' => $this->mapper()->getColumn('description'),
110
+            'created_at' => $this->mapper()->getColumn('created_at'),
111
+            'updated_at' => $this->mapper()->getColumn('updated_at'),
112 112
         ];
113 113
     }
114 114
 }
Please login to merge, or discard this 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.