Skip to content

Commit

Permalink
N°4326 - Fix error in dashboard when no tooltip exist on Pill
Browse files Browse the repository at this point in the history
(cherry picked from commit 6caf78f)
  • Loading branch information
eespie committed Oct 4, 2021
1 parent 1a14399 commit f9fc85e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sources/application/UI/Base/Component/Pill/Pill.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,13 @@ public function GetTooltip(): ?string
}

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

Expand Down

0 comments on commit f9fc85e

Please sign in to comment.