Completed
Pull Request — master (#38)
by Dániel
01:58
created
src/BattlenetHttpClient.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use GuzzleHttp\Psr7;
6 6
 use GuzzleHttp\Client;
7 7
 use GuzzleHttp\HandlerStack;
8
-use GuzzleHttp\Psr7\Request;
9 8
 use GuzzleHttp\Psr7\Response;
10 9
 use Illuminate\Support\Collection;
11 10
 use GuzzleHttp\Handler\MockHandler;
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -116,8 +116,8 @@  discard block
 block discarded – undo
116 116
     {
117 117
         $maxAttempts = 0;
118 118
         $attempts = 0;
119
-	$statusCode = null;
120
-	$reasonPhrease = null;
119
+    $statusCode = null;
120
+    $reasonPhrease = null;
121 121
 
122 122
         $serverCodes = collect([
123 123
         '504' => collect([
@@ -161,10 +161,10 @@  discard block
 block discarded – undo
161 161
                 if ($e->hasResponse()) {
162 162
                     $statusCode = $e->getResponse()->getStatusCode();
163 163
                     $reasonPhrase = $e->getResponse()->getReasonPhrase();
164
-		} else {
165
-		    $statusCode = 909;
166
-		    $reasonPhrase = 'Unable to resolve API domain';
167
-		}
164
+        } else {
165
+            $statusCode = 909;
166
+            $reasonPhrase = 'Unable to resolve API domain';
167
+        }
168 168
             }
169 169
         } while ($attempts < $maxAttempts);
170 170
 
Please login to merge, or discard this patch.