Completed
Push — master ( 98cdcc...da5e0a )
by Terrence
04:59
created
src/Provider/CILogon.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -71,12 +71,12 @@
 block discarded – undo
71 71
         ];
72 72
     }
73 73
 
74
-     /**
75
-     * Returns the string that should be used to separate scopes when building
76
-     * the URL for requesting an access token.
77
-     *
78
-     * @return string Scope separator, defaults to space
79
-     */
74
+        /**
75
+         * Returns the string that should be used to separate scopes when building
76
+         * the URL for requesting an access token.
77
+         *
78
+         * @return string Scope separator, defaults to space
79
+         */
80 80
     protected function getScopeSeparator()
81 81
     {
82 82
         return ' ';
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -93,18 +93,18 @@
 block discarded – undo
93 93
     protected function checkResponse(ResponseInterface $response, $data)
94 94
     {
95 95
         if ((gettype($data) == 'string') &&
96
-            (preg_match('/error="([^"]*)"/',$data,$matches))) {
96
+            (preg_match('/error="([^"]*)"/', $data, $matches))) {
97 97
             $message = $matches[1];
98
-            if (preg_match('/error_description="([^"]*)"/',$data,$matches)) {
99
-                $message .= ': ' . urldecode($matches[1]);
98
+            if (preg_match('/error_description="([^"]*)"/', $data, $matches)) {
99
+                $message .= ': '.urldecode($matches[1]);
100 100
             }
101
-            throw new IdentityProviderException($message,0,$data);
101
+            throw new IdentityProviderException($message, 0, $data);
102 102
         } elseif (!empty($data['error'])) {
103 103
             $message = $data['error'];
104 104
             if (!empty($data['error_description'])) {
105
-                $message .= ': ' . $data['error_description'];
105
+                $message .= ': '.$data['error_description'];
106 106
             }
107
-            throw new IdentityProviderException($message,0,$data);
107
+            throw new IdentityProviderException($message, 0, $data);
108 108
         }
109 109
     }
110 110
 
Please login to merge, or discard this patch.