1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-10-20 19:52:09 +00:00

Fix typo & CS

This commit is contained in:
Jeremy Benoist 2019-06-05 17:09:05 +02:00
parent ad51743e8b
commit 0f2d24feb4
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
2 changed files with 5 additions and 4 deletions

View file

@ -131,15 +131,16 @@ class EntryRepository extends EntityRepository
/**
* Retrieve the number of untagged entries for a user.
*
*
* @param int $userId
*
*
* @return int
*/
public function countUntaggedEntriesByUser($userId)
{
return $this->getRawBuilderForUntaggedByUser($userId)
return (int) $this->getRawBuilderForUntaggedByUser($userId)
->select('count(e.id)')
->getQuery()
->getSingleScalarResult();
}