PHP 8.1: Replace strlen() usages with utils::StrLen() for compatibility

This commit is contained in:
Molkobain
2022-05-18 18:32:40 +02:00
parent 5574eabfed
commit d3fb08ba81
2 changed files with 14 additions and 13 deletions

View File

@@ -9,6 +9,7 @@ namespace Combodo\iTop\Application\UI\Base\Component\Input;
use Combodo\iTop\Application\UI\Base\UIBlock;
use utils;
/**
* You might want to use a {@link \Combodo\iTop\Application\UI\Base\Component\Field\Field} component instead...
@@ -134,7 +135,7 @@ class InputWithLabel extends UIBlock
*/
public function HasDescription(): bool
{
return strlen($this->sDescription) > 0;
return utils::StrLen($this->sDescription) > 0;
}
}