Completed
Pull Request — master (#98)
by
unknown
07:30
created
src/OAuth1/AbstractProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      */
36 36
     public function user()
37 37
     {
38
-        if (! $this->hasNecessaryVerifier()) {
38
+        if (!$this->hasNecessaryVerifier()) {
39 39
             throw new \InvalidArgumentException('Invalid request. Missing OAuth verifier.');
40 40
         }
41 41
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         if ($user instanceof User) {
50 50
             parse_str($token['credentialsResponseBody'], $credentialsResponseBody);
51 51
 
52
-            if (! $credentialsResponseBody || ! is_array($credentialsResponseBody)) {
52
+            if (!$credentialsResponseBody || !is_array($credentialsResponseBody)) {
53 53
                 throw new CredentialsException('Unable to parse token credentials response.');
54 54
             }
55 55
 
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     public function redirect()
85 85
     {
86
-        if (! $this->isStateless()) {
86
+        if (!$this->isStateless()) {
87 87
             $this->request->getSession()->put(
88 88
                 'oauth.temp', $temp = $this->server->getTemporaryCredentials()
89 89
             );
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
      */
103 103
     protected function getToken()
104 104
     {
105
-        if (! $this->isStateless()) {
105
+        if (!$this->isStateless()) {
106 106
             $temp = $this->request->getSession()->get('oauth.temp');
107 107
 
108 108
             return $this->server->getTokenCredentials(
Please login to merge, or discard this patch.