Test Failed
Push — master ( 4c1948...347279 )
by Bálint
07:42
created
src/POData/ObjectModel/ObjectModelSerializer.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -850,7 +850,7 @@
 block discarded – undo
850 850
             $stringValue = $primitiveValue->format(\DateTime::ATOM);
851 851
         } else if ($type instanceof StringType && $primitiveValue instanceof \DateInterval) {
852 852
             $stringValue = (($primitiveValue->d * 86400) + ($primitiveValue->h * 3600) + ($primitiveValue->i * 60) + $primitiveValue->s) * 1000;
853
-           // $stringValue = intval($primitiveValue->format('%s'))*1000; // Miliszekundumokkáé
853
+            // $stringValue = intval($primitiveValue->format('%s'))*1000; // Miliszekundumokkáé
854 854
         } else if ($type instanceof StringType) {
855 855
             $stringValue = mb_convert_encoding($primitiveValue, 'UTF-8');
856 856
         } else {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -849,7 +849,7 @@
 block discarded – undo
849 849
         } else if (($type instanceof DateTime || $type instanceof StringType) && $primitiveValue instanceof \DateTime) {
850 850
             $stringValue = $primitiveValue->format(\DateTime::ATOM);
851 851
         } else if ($type instanceof StringType && $primitiveValue instanceof \DateInterval) {
852
-            $stringValue = (($primitiveValue->d * 86400) + ($primitiveValue->h * 3600) + ($primitiveValue->i * 60) + $primitiveValue->s) * 1000;
852
+            $stringValue = (($primitiveValue->d*86400) + ($primitiveValue->h*3600) + ($primitiveValue->i*60) + $primitiveValue->s)*1000;
853 853
            // $stringValue = intval($primitiveValue->format('%s'))*1000; // Miliszekundumokkáé
854 854
         } else if ($type instanceof StringType) {
855 855
             $stringValue = mb_convert_encoding($primitiveValue, 'UTF-8');
Please login to merge, or discard this patch.