mirror of
https://github.com/wallabag/wallabag.git
synced 2025-06-27 16:36:00 +00:00
PHPStan level 5
This commit is contained in:
parent
3ef7064ada
commit
36eb513e1b
22 changed files with 60 additions and 47 deletions
|
@ -13,7 +13,7 @@ use Wallabag\Entity\Tag;
|
|||
use Wallabag\Helper\UrlHasher;
|
||||
|
||||
/**
|
||||
* @method Entry[] findById(int $id)
|
||||
* @method Entry[] findById(int[] $id)
|
||||
* @method Entry|null findOneByUser(int $userId)
|
||||
*/
|
||||
class EntryRepository extends ServiceEntityRepository
|
||||
|
@ -171,9 +171,9 @@ class EntryRepository extends ServiceEntityRepository
|
|||
/**
|
||||
* Retrieves entries filtered with a search term for a user.
|
||||
*
|
||||
* @param int $userId
|
||||
* @param string $term
|
||||
* @param string $currentRoute
|
||||
* @param int $userId
|
||||
* @param string $term
|
||||
* @param 'starred'|'unread'|'homepage'|'archive'|null $currentRoute
|
||||
*
|
||||
* @return QueryBuilder
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue