Passed
Pull Request — master (#67)
by Daniel
06:38
created
src/Helper/Timestamped/TimestampedDataPersister.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@
 block discarded – undo
37 37
         $configuration = $this->annotationReader->getConfiguration($timestamped);
38 38
         $classMetadata = $this->getClassMetadata($timestamped);
39 39
         $classMetadata->setFieldValue($timestamped, $configuration->createdAtField, $isNew ?
40
-            new \DateTimeImmutable() :
41
-            $classMetadata->getFieldValue($timestamped, $configuration->createdAtField));
40
+            new \DateTimeImmutable() : $classMetadata->getFieldValue($timestamped, $configuration->createdAtField));
42 41
         $classMetadata->setFieldValue($timestamped, $configuration->modifiedAtField, new \DateTime());
43 42
     }
44 43
 }
Please login to merge, or discard this patch.