Completed
Push — develop ( fe1a65...38b7c5 )
by Carsten
24:14 queued 12:39
created
src/UserAbstract.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,8 +42,9 @@  discard block
 block discarded – undo
42 42
      */
43 43
     public function getCreationDateTime()
44 44
     {
45
-        if ($this->created)
46
-            return \DateTime::createFromFormat( "Y-m-d H:i:s", $this->created );
45
+        if ($this->created) {
46
+                    return \DateTime::createFromFormat( "Y-m-d H:i:s", $this->created );
47
+        }
47 48
         return $this->created;
48 49
     }
49 50
 
@@ -53,8 +54,9 @@  discard block
 block discarded – undo
53 54
      */
54 55
     public function getLastUpdateDateTime()
55 56
     {
56
-        if ($this->updated)
57
-            return \DateTime::createFromFormat( "Y-m-d H:i:s", $this->updated );
57
+        if ($this->updated) {
58
+                    return \DateTime::createFromFormat( "Y-m-d H:i:s", $this->updated );
59
+        }
58 60
         return $this->updated;
59 61
 
60 62
     }
Please login to merge, or discard this patch.