From 6c01e4e7d6c177ac345c826059e585bffdd1d517 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Fri, 7 Apr 2023 00:13:49 +0200 Subject: Use typed access to request parameters (#5267) * Use typed access to request parameters This was a big source of mixed datatypes in many places * Fix notifications * Fix bookmarkAction --- app/Models/UserConfiguration.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Models/UserConfiguration.php') diff --git a/app/Models/UserConfiguration.php b/app/Models/UserConfiguration.php index 77e1d2821..d76f5bcf5 100644 --- a/app/Models/UserConfiguration.php +++ b/app/Models/UserConfiguration.php @@ -12,7 +12,7 @@ * @property bool $bottomline_sharing * @property bool $bottomline_tags * @property string $content_width - * @property-read string $default_state + * @property-read int $default_state * @property string $default_view * @property string|bool $display_categories * @property string $show_tags @@ -47,7 +47,7 @@ * @property bool $icons_as_emojis * @property int $simplify_over_n_feeds * @property bool $show_nav_buttons - * @property string $sort_order + * @property 'ASC'|'DESC' $sort_order * @property array> $sharing * @property array $shortcuts * @property bool $sides_close_article -- cgit v1.2.3