From d5e93a9d68391fc8cad9b530bfd10cb1c59c9739 Mon Sep 17 00:00:00 2001 From: raviks789 <33730024+raviks789@users.noreply.github.com> Date: Tue, 15 Aug 2023 10:54:37 +0200 Subject: [PATCH] `UrlParams`: Fix type for parameter `$value` of method `add()` The parameter `$value` can be null, string or bool. --- library/Icinga/Web/UrlParams.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/Icinga/Web/UrlParams.php b/library/Icinga/Web/UrlParams.php index 6da1f308b..f9329c486 100644 --- a/library/Icinga/Web/UrlParams.php +++ b/library/Icinga/Web/UrlParams.php @@ -180,8 +180,8 @@ class UrlParams * This will add the given parameter, regardless of whether it already * exists. * - * @param string $param The parameter you're interested in - * @param string $value The value to be stored + * @param string $param The parameter you're interested in + * @param string|bool $value The value to be stored * * @return $this */