mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Fix PHP comments
This commit is contained in:
@@ -25,7 +25,8 @@ class InputWithLabel extends UIBlock
|
||||
protected $oInput;
|
||||
/** @var bool Label before input ? */
|
||||
protected $bBeforeInput;
|
||||
/**@var string $sDescription for tooltip
|
||||
/**
|
||||
* @var string $sDescription for tooltip
|
||||
* @since 3.0.1
|
||||
*/
|
||||
protected $sDescription;
|
||||
@@ -131,7 +132,7 @@ class InputWithLabel extends UIBlock
|
||||
*/
|
||||
public function HasDescription(): bool
|
||||
{
|
||||
return $this->sDescription != null;
|
||||
return strlen($this->sDescription) > 0;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -18,8 +18,9 @@ trait tInputLabel
|
||||
protected $bIsLabelBefore = true;
|
||||
/** @var string|null Label to display with the input (null for no label) */
|
||||
protected $sLabel = null;
|
||||
/**@var string $sDescription for tooltip
|
||||
* @since 3.0.1
|
||||
/**
|
||||
* @var string $sDescription for tooltip
|
||||
* @since 3.0.1
|
||||
*/
|
||||
protected $sDescription;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user