Passed
Push — master ( 1f415b...b977eb )
by Dāvis
03:55
created
Guzzle/GuzzleHttp/MessageFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     {
17 17
         $cache = [];
18 18
 
19
-        return preg_replace_callback('/{\s*([A-Za-z_\-\.0-9]+)\s*}/', function (array $matches) use ($request, $response, $error, &$cache) {
19
+        return preg_replace_callback('/{\s*([A-Za-z_\-\.0-9]+)\s*}/', function(array $matches) use ($request, $response, $error, &$cache) {
20 20
 
21 21
             if (isset($cache[$matches[1]])) {
22 22
                 return $cache[$matches[1]];
Please login to merge, or discard this patch.
Guzzle/GuzzleHttp/Middleware/CacheMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     {
40 40
         return $handler($request, $options)->then(function(ResponseInterface $response) use ($request) {
41 41
             $code = (int)floor(intval($response->getStatusCode()) / 100);
42
-            if($code === 2) {
42
+            if ($code === 2) {
43 43
                 $this->adapter->save($request, $response);
44 44
             }
45 45
 
Please login to merge, or discard this patch.