Completed
Pull Request — master (#1332)
by Federico
02:37
created
lib/Elastica/Transport/AwsAuthV4.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         $signer = new SignatureV4('es', $region);
44 44
         $credProvider = $this->getCredentialProvider();
45 45
 
46
-        return Middleware::mapRequest(function (RequestInterface $req) use (
46
+        return Middleware::mapRequest(function(RequestInterface $req) use (
47 47
             $signer,
48 48
             $credProvider
49 49
         ) {
Please login to merge, or discard this patch.
lib/Elastica/Tool/CrossIndex.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
             $types = is_array($types) ? $types : [$types];
132 132
 
133 133
             $types = array_map(
134
-                function ($type) {
134
+                function($type) {
135 135
                     if ($type instanceof Type) {
136 136
                         $type = $type->getName();
137 137
                     }
Please login to merge, or discard this patch.
lib/Elastica/Search.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -451,7 +451,7 @@
 block discarded – undo
451 451
 
452 452
         // Send scroll_id via raw HTTP body to handle cases of very large (> 4kb) ids.
453 453
         if ('_search/scroll' == $path) {
454
-            $data = [ self::OPTION_SCROLL_ID => $params[self::OPTION_SCROLL_ID] ];
454
+            $data = [self::OPTION_SCROLL_ID => $params[self::OPTION_SCROLL_ID]];
455 455
             unset($params[self::OPTION_SCROLL_ID]);
456 456
         } else {
457 457
             $data = $query->toArray();
Please login to merge, or discard this patch.