Passed
Push — master ( 48b1ba...935bf2 )
by Luca
03:20 queued 01:33
created
src/Converter/ValueConverter/DatetimeToStringConverter.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,10 +40,10 @@
 block discarded – undo
40 40
         if ($dateValue === null) {
41 41
             if($this->allowNulls == false){
42 42
                 throw new RuntimeException('Input must be DateTime object.');
43
-            }else{
43
+            } else{
44 44
                 $dateValue = null;
45 45
             }
46
-        }else {
46
+        } else {
47 47
             if (!($dateValue instanceof DateTime)) {
48 48
                 throw new RuntimeException('Input must be DateTime object.');
49 49
             }
Please login to merge, or discard this patch.