Passed
Pull Request — master (#7)
by Stefan
08:19
created
src/Auth/Source/Radius.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
              * therefore done now.
198 198
              */
199 199
             return $attributes;
200
-           } else {
200
+            } else {
201 201
             foreach ($radius->getReceivedAttributes() as $content) {
202 202
                         if ($content[0] == 26) { // is a Vendor-Specific attribute
203 203
                                 $vsa = $radius->decodeVendorSpecificContent($content[1]);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@
 block discarded – undo
170 170
 
171 171
         if ($response === false) {
172 172
             $errorCode = $radius->getErrorCode();
173
-            switch($errorCode) {
173
+            switch ($errorCode) {
174 174
                 case $radius::TYPE_ACCESS_REJECT:
175 175
                     throw new \SimpleSAML\Error\Error('WRONGUSERPASS');
176 176
                 case $radius::TYPE_ACCESS_CHALLENGE:
Please login to merge, or discard this patch.