1
0
Fork 0
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:
Yassine Guedidi 2025-04-21 16:27:44 +02:00
parent 3ef7064ada
commit 36eb513e1b
22 changed files with 60 additions and 47 deletions

View file

@ -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
*/