From ec7597142c9594ef0c3ff9c3c0fa6e83090357b9 Mon Sep 17 00:00:00 2001 From: fcki1984 <39592566+fcki1984@users.noreply.github.com> Date: Fri, 12 May 2023 21:48:51 +0800 Subject: [PATCH] Update PreferenceMapper.php remove 4 empty lines. --- lib/Db/PreferenceMapper.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/Db/PreferenceMapper.php b/lib/Db/PreferenceMapper.php index 3248b96..e4db648 100644 --- a/lib/Db/PreferenceMapper.php +++ b/lib/Db/PreferenceMapper.php @@ -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);