Completed
Push — orm ( 6592b1...a86668 )
by
unknown
03:36 queued 01:21
created
src/Majora/Component/OAuth/Entity/LoginAttempt.php 1 patch
Spacing   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -46,8 +46,7 @@  discard block
 block discarded – undo
46 46
     public function getQuery($key)
47 47
     {
48 48
         return isset($this->query[$key]) ?
49
-            $this->query[$key] :
50
-            null
49
+            $this->query[$key] : null
51 50
         ;
52 51
     }
53 52
 
@@ -61,8 +60,7 @@  discard block
 block discarded – undo
61 60
     public function getData($key)
62 61
     {
63 62
         return isset($this->data[$key]) ?
64
-            $this->data[$key] :
65
-            null
63
+            $this->data[$key] : null
66 64
         ;
67 65
     }
68 66
 
@@ -76,8 +74,7 @@  discard block
 block discarded – undo
76 74
     public function getHeaders($key)
77 75
     {
78 76
         return isset($this->headers[$key]) ?
79
-            $this->headers[$key] :
80
-            null
77
+            $this->headers[$key] : null
81 78
         ;
82 79
     }
83 80
 }
Please login to merge, or discard this patch.
src/Majora/Component/OAuth/Server/Server.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@
 block discarded – undo
222 222
             $application = $this->loadApplication($loginAttempt),
223 223
             $loginAttempt
224 224
         );
225
-        var_dump($account);die;
225
+        var_dump($account); die;
226 226
         // event call
227 227
         $refreshToken = null;
228 228
         if (in_array('refresh_token', $application->getAllowedGrantTypes()) && array_key_exists('refresh_token', $this->grantExtensions)) {
Please login to merge, or discard this patch.