Completed
Push — feature/decoupled ( 010006...b00aba )
by Webysther
02:04
created
src/Http.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Packagist Mirror.
@@ -145,13 +145,13 @@  discard block
 block discarded – undo
145 145
             $this->connections = $this->maxConnections * $mirrors;
146 146
         }
147 147
 
148
-        $fulfilled = function ($response, $path) use ($success, $complete) {
148
+        $fulfilled = function($response, $path) use ($success, $complete) {
149 149
             $body = (string) $response->getBody();
150 150
             $success($body, $path);
151 151
             $complete();
152 152
         };
153 153
 
154
-        $rejected = function ($reason, $path) use ($complete) {
154
+        $rejected = function($reason, $path) use ($complete) {
155 155
             $this->poolErrors[$path] = $reason;
156 156
             $complete();
157 157
         };
Please login to merge, or discard this patch.
src/Mirror.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Packagist Mirror.
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         $this->slaves = $slaves;
51 51
 
52 52
         $this->data = $slaves;
53
-        if(!in_array($master, $this->data)){
53
+        if (!in_array($master, $this->data)) {
54 54
             $this->data[] = $master;
55 55
         }
56 56
 
Please login to merge, or discard this patch.