N°3537 Code review

Thanks @Molkobain !
This commit is contained in:
Pierre Goiffon
2020-12-16 08:06:53 +01:00
parent cb4fb15b0a
commit a20fd2278f
4 changed files with 33 additions and 6 deletions

View File

@@ -24,7 +24,12 @@ class AbstractInput extends UIBlock
return $this->sName;
}
public function SetName(string $sName): AbstractInput
/**
* @param string $sName
*
* @return $this
*/
public function SetName(string $sName)
{
$this->sName = $sName;
@@ -36,7 +41,12 @@ class AbstractInput extends UIBlock
return $this->sValue;
}
public function SetValue(?string $sValue): AbstractInput
/**
* @param string|null $sValue
*
* @return $this
*/
public function SetValue(?string $sValue)
{
$this->sValue = $sValue;