diff --git a/src/Dao/EntityConverters/CommentEntityConverter.php b/src/Dao/EntityConverters/CommentEntityConverter.php index 3d618549..b8855717 100644 --- a/src/Dao/EntityConverters/CommentEntityConverter.php +++ b/src/Dao/EntityConverters/CommentEntityConverter.php @@ -13,8 +13,8 @@ class CommentEntityConverter extends AbstractEntityConverter implements IEntityC 'userId' => $entity->getUserId(), 'postId' => $entity->getPostId(), 'text' => $entity->getText(), - 'lastEditTime' => $this->entityTimeToDbTime($entity->getCreationTime()), - 'creationTime' => $this->entityTimeToDbTime($entity->getLastEditTime()), + 'creationTime' => $this->entityTimeToDbTime($entity->getCreationTime()), + 'lastEditTime' => $this->entityTimeToDbTime($entity->getLastEditTime()), ]; }