aboutsummaryrefslogtreecommitdiff
path: root/app/Models
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models')
-rw-r--r--app/Models/UserConfiguration.php2
-rw-r--r--app/Models/UserQuery.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/Models/UserConfiguration.php b/app/Models/UserConfiguration.php
index 173ab78b9..30095af34 100644
--- a/app/Models/UserConfiguration.php
+++ b/app/Models/UserConfiguration.php
@@ -39,7 +39,7 @@
* @property bool $onread_jump_next
* @property string $passwordHash
* @property int $posts_per_page
- * @property array<array<string,string|int>> $queries
+ * @property array<array{'get'?:string,'name'?:string,'order'?:string,'search'?:string,'state'?:int,'url'?:string}> $queries
* @property bool $reading_confirm
* @property int $since_hours_posts_per_rss
* @property bool $show_fav_unread
diff --git a/app/Models/UserQuery.php b/app/Models/UserQuery.php
index f0d809378..f2301ff26 100644
--- a/app/Models/UserQuery.php
+++ b/app/Models/UserQuery.php
@@ -34,7 +34,7 @@ class FreshRSS_UserQuery {
private $tag_dao;
/**
- * @param array<string,string|int> $query
+ * @param array{'get'?:string,'name'?:string,'order'?:string,'search'?:string,'state'?:int,'url'?:string} $query
*/
public function __construct(array $query, FreshRSS_FeedDAO $feed_dao = null, FreshRSS_CategoryDAO $category_dao = null, FreshRSS_TagDAO $tag_dao = null) {
$this->category_dao = $category_dao;
@@ -70,7 +70,7 @@ class FreshRSS_UserQuery {
/**
* Convert the current object to an array.
*
- * @return array<string,string|int>
+ * @return array{'get'?:string,'name'?:string,'order'?:string,'search'?:string,'state'?:int,'url'?:string}
*/
public function toArray(): array {
return array_filter(array(