aboutsummaryrefslogtreecommitdiff
path: root/app/Models/UserQuery.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-10-30 20:47:27 +0100
committerGravatar GitHub <noreply@github.com> 2023-10-30 20:47:27 +0100
commit06d00995049db9c7b915f67cfd4a5708aace458f (patch)
tree0176ca9761b34d72ffd597bd96da3c3ae4912d86 /app/Models/UserQuery.php
parent4a02352ccc1b313ce967415c6ac10a32aba1893a (diff)
Require PHP 7.4+ (#5720)
* Require PHP 7.4+ https://github.com/FreshRSS/FreshRSS/discussions/5474 * Update Docker oldest Alpine 3.13 with PHP 7.4.26 * Add missing packets to Docker oldest * Update to typed properties https://php.net/migration74.new-features#migration74.new-features.core.typed-properties * More types
Diffstat (limited to 'app/Models/UserQuery.php')
-rw-r--r--app/Models/UserQuery.php36
1 files changed, 12 insertions, 24 deletions
diff --git a/app/Models/UserQuery.php b/app/Models/UserQuery.php
index 2f7968315..3454ede31 100644
--- a/app/Models/UserQuery.php
+++ b/app/Models/UserQuery.php
@@ -8,30 +8,18 @@
*/
class FreshRSS_UserQuery {
- /** @var bool */
- private $deprecated = false;
- /** @var string */
- private $get = '';
- /** @var string */
- private $get_name = '';
- /** @var string */
- private $get_type = '';
- /** @var string */
- private $name = '';
- /** @var string */
- private $order = '';
- /** @var FreshRSS_BooleanSearch */
- private $search;
- /** @var int */
- private $state = 0;
- /** @var string */
- private $url = '';
- /** @var FreshRSS_FeedDAO|null */
- private $feed_dao;
- /** @var FreshRSS_CategoryDAO|null */
- private $category_dao;
- /** @var FreshRSS_TagDAO|null */
- private $tag_dao;
+ private bool $deprecated = false;
+ private string $get = '';
+ private string $get_name = '';
+ private string $get_type = '';
+ private string $name = '';
+ private string $order = '';
+ private FreshRSS_BooleanSearch $search;
+ private int $state = 0;
+ private string $url = '';
+ private ?FreshRSS_FeedDAO $feed_dao;
+ private ?FreshRSS_CategoryDAO $category_dao;
+ private ?FreshRSS_TagDAO $tag_dao;
/**
* @param array{'get'?:string,'name'?:string,'order'?:string,'search'?:string,'state'?:int,'url'?:string} $query