N°5302 - Replace deprecated php strlen usages (#308)

This commit is contained in:
bdalsass
2022-07-08 10:27:52 +02:00
committed by GitHub
parent 65c6e99a3f
commit 33054d306d
6 changed files with 53 additions and 26 deletions

View File

@@ -135,7 +135,7 @@ class InputWithLabel extends UIBlock
*/
public function HasDescription(): bool
{
return utils::StrLen($this->sDescription) > 0;
return utils::IsNotNullOrEmptyString($this->sDescription);
}
}