forked from wallabag/wallabag
Fix some namespaces and phpdoc
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
namespace Wallabag\CoreBundle\Repository;
|
||||
|
||||
use Doctrine\ORM\EntityRepository;
|
||||
use Wallabag\CoreBundle\Entity\Tag;
|
||||
|
||||
class TagRepository extends EntityRepository
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user