Passed
Push — develop ( 96c308...e3a9b8 )
by nguereza
02:38
created
src/Auth/ApiAuthenticationInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
  * @class ApiAuthenticationInterface
54 54
  * @package Platine\Framework\Auth
55 55
  */
56
-interface ApiAuthenticationInterface
57
-{
56
+interface ApiAuthenticationInterface {
58 57
 
59 58
     /**
60 59
      * Whether the request is authenticated
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.