N°4326 - Fix error in dashboard when no tooltip exist on Pill

(cherry picked from commit 6caf78fdcd)
This commit is contained in:
Eric Espie
2021-09-28 15:07:27 +02:00
parent 1a1439946b
commit f9fc85e763

View File

@@ -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;