Update PreferenceMapper.php

remove 4 empty lines.
This commit is contained in:
fcki1984 2023-05-12 21:48:51 +08:00 committed by GitHub
parent 4798977aea
commit ec7597142c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,11 +38,7 @@ class PreferenceMapper extends ReaderMapper {
->andWhere($query->expr()->eq('user_id', $query->createNamedParameter($this->userId)));
if (!empty($name)) {
$query->andWhere($query->expr()->eq('name', $query->createNamedParameter($name)));
$query->andWhere($query->expr()->eq('name', $query->createNamedParameter($name)));
}
return $this->findEntities($query);