Completed
Pull Request — master (#1540)
by Massimiliano
02:38
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/Multi/Search.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 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
      */
Please login to merge, or discard this patch.
lib/Elastica/Util.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@
 block discarded – undo
203 203
      */
204 204
     public static function convertDateTimeObject(\DateTime $dateTime, $includeTimezone = true)
205 205
     {
206
-        $formatString = 'Y-m-d\TH:i:s'.(true === $includeTimezone? 'P' : '\Z');
206
+        $formatString = 'Y-m-d\TH:i:s'.(true === $includeTimezone ? 'P' : '\Z');
207 207
 
208 208
         return $dateTime->format($formatString);
209 209
     }
Please login to merge, or discard this patch.