Skip to content

Commit 194911b

Browse files
committed
Fixed some wrong types
1 parent 653b687 commit 194911b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

app/Models/Context.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,29 +35,29 @@ final class FreshRSS_Context {
3535
* @var int
3636
*/
3737
public static $total_unread = 0;
38-
/**
39-
* @var array<string, int>
40-
*/
41-
public static $total_starred = array(
38+
39+
/** @var array{'all':int,'read':int,'unread':int} */
40+
public static $total_starred = [
4241
'all' => 0,
4342
'read' => 0,
4443
'unread' => 0,
45-
);
44+
];
45+
4646
/**
4747
* @var int
4848
*/
4949
public static $get_unread = 0;
50-
/**
51-
* @var array<string, bool>
52-
*/
53-
public static $current_get = array(
50+
51+
/** @var array{'all':bool,'starred':bool,'feed':int|false,'category':int|false,'tag':int|false,'tags':bool} */
52+
public static $current_get = [
5453
'all' => false,
5554
'starred' => false,
5655
'feed' => false,
5756
'category' => false,
5857
'tag' => false,
5958
'tags' => false,
60-
);
59+
];
60+
6161
/**
6262
* @var string
6363
*/

0 commit comments

Comments
 (0)