diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2021-01-08 23:26:10 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-01-12 13:29:08 +0100 |
commit | 67b6c4e1b0a9fa0138eb897f8a19e5b85d705c29 (patch) | |
tree | e1eeaea2f2e9bd41a9ca9437109f0fe2f3306295 /lib/Db/ItemMapperV2.php | |
parent | e5d56f2c2e4542fca98194620a30605aa9e14437 (diff) |
Fix psalm issues
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Db/ItemMapperV2.php')
-rw-r--r-- | lib/Db/ItemMapperV2.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Db/ItemMapperV2.php b/lib/Db/ItemMapperV2.php index a67275320..0c3191540 100644 --- a/lib/Db/ItemMapperV2.php +++ b/lib/Db/ItemMapperV2.php @@ -12,7 +12,6 @@ namespace OCA\News\Db; -use Doctrine\DBAL\FetchMode; use OCA\News\Utility\Time; use OCP\AppFramework\Db\DoesNotExistException; use OCP\AppFramework\Db\Entity; @@ -152,7 +151,7 @@ class ItemMapperV2 extends NewsMapperV2 ->groupBy('feed_id') ->where(''); - return $this->db->executeQuery($query)->fetch(FetchMode::ASSOCIATIVE); + return $this->db->executeQuery($query->getSQL()); } /** |