Passed
Branch master (7bab93)
by Paul
04:27
created
Category
src/Transformer/Visitor/ReverseElasticsearchVisitor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@
 block discarded – undo
176 176
         return sprintf(
177 177
             '%s.%s',
178 178
             substr($data, 0, 10),
179
-            round((int) substr($data, -3, 3))
179
+            round((int)substr($data, -3, 3))
180 180
         );
181 181
     }
182 182
 }
Please login to merge, or discard this patch.
src/Transformer/Visitor/ElasticsearchVisitor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     {
67 67
         $timestamp = 0;
68 68
         if ($data instanceof \DateTimeInterface) {
69
-            $timestamp = (int) substr($data->format('Uu'), 0, 13);
69
+            $timestamp = (int)substr($data->format('Uu'), 0, 13);
70 70
             return $timestamp;
71 71
         }
72 72
 
Please login to merge, or discard this patch.