Completed
Pull Request — master (#1540)
by Massimiliano
02:38
created
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.