template fixes + bug fixes + style fixes

This commit is contained in:
Dennis Eichhorn 2024-04-02 21:40:47 +00:00
parent fb378433ae
commit ba022d1a99

View File

@ -83,7 +83,7 @@ final class CommentVoteMapper extends DataMapperFactory
$results = self::getAll()
->where('comment', $comment)
->where('createdBy', $account)
->execute();
->executeGetArray();
return empty($results) ? new NullCommentVote() : \reset($results);
}