From f9fc85e763daa10cd553c983c01a3af451fa57d1 Mon Sep 17 00:00:00 2001 From: Eric Espie Date: Tue, 28 Sep 2021 15:07:27 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B04326=20-=20Fix=20error=20in=20dashboard?= =?UTF-8?q?=20when=20no=20tooltip=20exist=20on=20Pill?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 6caf78fdcd3d35bf34f4845a77ed6ee42e8b988b) --- sources/application/UI/Base/Component/Pill/Pill.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sources/application/UI/Base/Component/Pill/Pill.php b/sources/application/UI/Base/Component/Pill/Pill.php index 57c361769..86bf4691a 100644 --- a/sources/application/UI/Base/Component/Pill/Pill.php +++ b/sources/application/UI/Base/Component/Pill/Pill.php @@ -121,12 +121,13 @@ class Pill extends UIContentBlock } /** - * @param string $sTooltip - * * @see static::$sTooltip + * + * @param string|null $sTooltip + * * @return $this */ - public function SetTooltip(string $sTooltip) + public function SetTooltip(?string $sTooltip) { $this->sTooltip = $sTooltip;