From fdddc21bc8f4bc956fd1cc208f2a766d200c1ffb Mon Sep 17 00:00:00 2001 From: raviks789 <33730024+raviks789@users.noreply.github.com> Date: Tue, 15 Aug 2023 08:04:56 +0200 Subject: [PATCH] `View`: Define parameter `$var` for `escape()` as nullable --- library/Icinga/Web/View.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/View.php b/library/Icinga/Web/View.php index f00584f9f..2c80d1d2a 100644 --- a/library/Icinga/Web/View.php +++ b/library/Icinga/Web/View.php @@ -99,7 +99,7 @@ class View extends Zend_View_Abstract /** * Escape the given value top be safely used in view scripts * - * @param string $var The output to be escaped + * @param ?string $var The output to be escaped * @return string */ public function escape($var)