mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°4326 - Fix error in dashboard when no tooltip exist on Pill
(cherry picked from commit 6caf78fdcd)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user