Completed
Pull Request — master (#1304)
by Mark
03:18
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/Multi/Search.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
      * @const string[] valid header options
20 20
      */
21 21
     private static $HEADER_OPTIONS = ['index', 'types', 'search_type',
22
-                                      'routing', 'preference', ];
22
+                                        'routing', 'preference', ];
23 23
     /**
24 24
      * @var MultiBuilderInterface
25 25
      */
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
             Request::POST,
147 147
             $data,
148 148
             $this->_options,
149
-	    Request::NDJSON_CONTENT_TYPE
149
+        Request::NDJSON_CONTENT_TYPE
150 150
         );
151 151
 
152 152
         return $this->_builder->buildMultiResultSet($response, $this->getSearches());
Please login to merge, or discard this patch.
lib/Elastica/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      *
36 36
      * @return \Elastica\Request OPTIONAL Connection object
37 37
      */
38
-    public function __construct($path, $method = self::GET, $data = [], array $query = [], Connection $connection = null, $contentType = self::DEFAULT_CONTENT_TYPE )
38
+    public function __construct($path, $method = self::GET, $data = [], array $query = [], Connection $connection = null, $contentType = self::DEFAULT_CONTENT_TYPE)
39 39
     {
40 40
         $this->setPath($path);
41 41
         $this->setMethod($method);
Please login to merge, or discard this patch.