Test Failed
Push — master ( effefb...3db776 )
by Bálint
19:20 queued 14:18
created
src/POData/Providers/Metadata/Type/DateTime.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
      */
102 102
     public function convertToOData($value)
103 103
     {
104
-		if ($value instanceof DateTimeInterface) return 'datetime\'' . urlencode($value->format(DateTimeInterface::ATOM)) . '\'';
104
+        if ($value instanceof DateTimeInterface) return 'datetime\'' . urlencode($value->format(DateTimeInterface::ATOM)) . '\'';
105 105
         return 'datetime\'' . urlencode($value) . '\'';
106 106
     }
107 107
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,9 @@
 block discarded – undo
101 101
      */
102 102
     public function convertToOData($value)
103 103
     {
104
-		if ($value instanceof DateTimeInterface) return 'datetime\'' . urlencode($value->format(DateTimeInterface::ATOM)) . '\'';
104
+		if ($value instanceof DateTimeInterface) {
105
+		    return 'datetime\'' . urlencode($value->format(DateTimeInterface::ATOM)) . '\'';
106
+		}
105 107
         return 'datetime\'' . urlencode($value) . '\'';
106 108
     }
107 109
 
Please login to merge, or discard this patch.