Completed
Pull Request — master (#1090)
by Reen
03:53
created
lib/Elastica/Tool/CrossIndex.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
             $types = is_array($types) ? $types : array($types);
134 134
 
135 135
             $types = array_map(
136
-                function ($type) {
136
+                function($type) {
137 137
                     if ($type instanceof Type) {
138 138
                         $type = $type->getName();
139 139
                     }
Please login to merge, or discard this patch.
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/Index/Settings.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
      */
111 111
     public function setNumberOfReplicas($replicas)
112 112
     {
113
-        return $this->set(['number_of_replicas' => (int)$replicas]);
113
+        return $this->set(['number_of_replicas' => (int) $replicas]);
114 114
     }
115 115
 
116 116
     /**
Please login to merge, or discard this patch.