From afe1064b24d0b8c330e6ed0ab4524bbb09873d12 Mon Sep 17 00:00:00 2001 From: thibdrev Date: Fri, 19 Jan 2024 12:43:06 +0100 Subject: [PATCH] qual: phpstan htdocs/bookmarks/card.php 89 Property Bookmark::$fk_user (int) does not accept array|string. htdocs/bookmarks/card.php 94 Property Bookmark::$position (int) does not accept array|string. --- htdocs/bookmarks/card.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/bookmarks/card.php b/htdocs/bookmarks/card.php index 7bebdcb2af7..d9d887ab4d4 100644 --- a/htdocs/bookmarks/card.php +++ b/htdocs/bookmarks/card.php @@ -40,8 +40,8 @@ $title = (string) GETPOST("title", "alpha"); $url = (string) GETPOST("url", "alpha"); $urlsource = GETPOST("urlsource", "alpha"); $target = GETPOST("target", "int"); -$userid = GETPOST("userid", "int"); -$position = GETPOST("position", "int"); +$userid = GETPOSTINT("userid"); +$position = GETPOSTINT("position"); $backtopage = GETPOST('backtopage', 'alpha');