diff options
| author | 2023-04-08 10:44:40 +0200 | |
|---|---|---|
| committer | 2023-04-08 10:44:40 +0200 | |
| commit | 2882f44179cc03f4c193d5b7528e9c7a884ff131 (patch) | |
| tree | b505097b8bdf24dac12ab9f165ada4550b740599 /app/Models/EntryDAO.php | |
| parent | b6ac505f8fa0012fa48d2442dd98cabdaf122269 (diff) | |
Fix phpstan level 6 error (#5272)
* Fix phpstan level 6 error
* Better typing
---------
Co-authored-by: Luc <sanchezluc+freshrss@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/Models/EntryDAO.php')
| -rw-r--r-- | app/Models/EntryDAO.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php index cf5550573..739e10247 100644 --- a/app/Models/EntryDAO.php +++ b/app/Models/EntryDAO.php @@ -1072,6 +1072,7 @@ SQL; } /** + * @phpstan-param 'a'|'A'|'s'|'S'|'c'|'f'|'t'|'T'|'ST' $type * @param int $id category/feed/tag ID * @return array{0:array<int|string>,1:string} */ @@ -1135,6 +1136,7 @@ SQL; } /** + * @phpstan-param 'a'|'A'|'s'|'S'|'c'|'f'|'t'|'T'|'ST' $type * @param int $id category/feed/tag ID * @return PDOStatement|false */ @@ -1214,6 +1216,7 @@ SQL; } /** + * @phpstan-param 'a'|'A'|'s'|'S'|'c'|'f'|'t'|'T'|'ST' $type * @param int $id category/feed/tag ID * @return array<numeric-string>|false */ |
