Completed
Pull Request — master (#1124)
by Reen
03:56
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/Exception/Connection/HttpException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
                 return 'Operation timed out';
62 62
         }
63 63
 
64
-        return 'Unknown error:' . $error;
64
+        return 'Unknown error:'.$error;
65 65
     }
66 66
 
67 67
     /**
Please login to merge, or discard this patch.
lib/Elastica/Query/Ids.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
             return $this;
78 78
         }
79 79
 
80
-        $this->_params['type'] = (array)$type;
80
+        $this->_params['type'] = (array) $type;
81 81
 
82 82
         return $this;
83 83
     }
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      */
92 92
     public function setIds($ids)
93 93
     {
94
-        $this->_params['values'] = (array)$ids;
94
+        $this->_params['values'] = (array) $ids;
95 95
 
96 96
         return $this;
97 97
     }
Please login to merge, or discard this patch.