Completed
Pull Request — master (#38)
by Dániel
02:07
created
src/BattlenetHttpClient.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -169,13 +169,13 @@
 block discarded – undo
169 169
                     $statusCode = $e->getResponse()->getStatusCode();
170 170
                     $reasonPhrase = $e->getResponse()->getReasonPhrase();
171 171
                 } else {
172
-                  $statusCode = 909;
173
-                  $reasonPhrase = 'Unable to resolve API domain';
174
-              }
175
-          }
176
-      } while ($attempts < $maxAttempts);
172
+                    $statusCode = 909;
173
+                    $reasonPhrase = 'Unable to resolve API domain';
174
+                }
175
+            }
176
+        } while ($attempts < $maxAttempts);
177 177
 
178
-      if ($statusCode and $reasonPhrase) {
178
+        if ($statusCode and $reasonPhrase) {
179 179
         return collect([
180 180
             'error' => collect([
181 181
                 'code' => $statusCode,
Please login to merge, or discard this patch.