diff options
Diffstat (limited to 'lib/Db/ItemMapperV2.php')
-rw-r--r-- | lib/Db/ItemMapperV2.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Db/ItemMapperV2.php b/lib/Db/ItemMapperV2.php index 93457d4f9..a8b101719 100644 --- a/lib/Db/ItemMapperV2.php +++ b/lib/Db/ItemMapperV2.php @@ -132,12 +132,12 @@ class ItemMapperV2 extends NewsMapperV2 * @param int $feedId ID of the feed * @param string $guidHash hash to find with * - * @return Item|Entity + * @return Item * * @throws DoesNotExistException * @throws MultipleObjectsReturnedException */ - public function findForUserByGuidHash(string $userId, int $feedId, string $guidHash): Item + public function findForUserByGuidHash(string $userId, int $feedId, string $guidHash): Entity { $builder = $this->db->getQueryBuilder(); $builder->select('items.*') |