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

Fix some namespaces and phpdoc

This commit is contained in:
Nicolas Hart 2017-07-29 22:51:50 +02:00
parent d69a66a58e
commit 52b84c11a5
9 changed files with 17 additions and 8 deletions

View file

@ -3,9 +3,10 @@
namespace Wallabag\CoreBundle\Repository;
use Doctrine\ORM\EntityRepository;
use Doctrine\ORM\Query;
use Doctrine\ORM\QueryBuilder;
use Pagerfanta\Adapter\DoctrineORMAdapter;
use Pagerfanta\Pagerfanta;
use Wallabag\CoreBundle\Entity\Entry;
use Wallabag\CoreBundle\Entity\Tag;
class EntryRepository extends EntityRepository
@ -74,7 +75,7 @@ class EntryRepository extends EntityRepository
*
* @param int $userId
* @param string $term
* @param strint $currentRoute
* @param string $currentRoute
*
* @return QueryBuilder
*/
@ -126,7 +127,7 @@ class EntryRepository extends EntityRepository
* @param int $since
* @param string $tags
*
* @return array
* @return Pagerfanta
*/
public function findEntries($userId, $isArchived = null, $isStarred = null, $isPublic = null, $sort = 'created', $order = 'ASC', $since = 0, $tags = '')
{
@ -172,7 +173,7 @@ class EntryRepository extends EntityRepository
*
* @param int $userId
*
* @return Entry
* @return array
*/
public function findOneWithTags($userId)
{

View file

@ -3,6 +3,7 @@
namespace Wallabag\CoreBundle\Repository;
use Doctrine\ORM\EntityRepository;
use Wallabag\CoreBundle\Entity\Tag;
class TagRepository extends EntityRepository
{