Passed
Push — master ( 929445...a2a774 )
by Vince
01:50
created
src/core/headers/headerAuth.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     {
78 78
         $auth_headers = $this->getHeaders();
79 79
 
80
-        if ($this->hasBearerValue() ) {
80
+        if ($this->hasBearerValue()) {
81 81
 
82 82
             list($type, $clientToken) = explode(" ", $auth_headers["Authorization"], 2);
83 83
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
         $helper = new helper;
100 100
 
101 101
         if (isset($auth_headers["Authorization"]) && !empty($auth_headers["Authorization"])) {
102
-            if ($grantType = $helper->checkVal($_REQUEST, 'grant_type') ) {
102
+            if ($grantType = $helper->checkVal($_REQUEST, 'grant_type')) {
103 103
 
104 104
                 $refreshToken = false;
105 105
 
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
                     )
145 145
                 );
146 146
 
147
-            if (empty($account) ) {
147
+            if (empty($account)) {
148 148
                 $this->setUnauthorised();
149 149
             }
150 150
 
Please login to merge, or discard this patch.