🐛 Fix php 7.4 compatibility in bulkchange.class.inc.php (for itop 3.1)

This commit is contained in:
jf-cbd
2024-04-08 11:10:12 +02:00
parent b10d381dda
commit 8357c86361

View File

@@ -276,12 +276,21 @@ class CellStatus_NullIssue extends CellStatus_Issue
*/
class ReportValue
{
protected DBObject $oObject;
protected string $sAttCode;
protected bool $bOriginal;
/**
* @param DBObject $oObject
* @param string $sAttCode
* @param bool $bOriginal
*/
public function __construct(protected DBObject $oObject, protected string $sAttCode, protected bool $bOriginal){}
public function __construct(DBObject $oObject, string $sAttCode, bool $bOriginal)
{
$this->oObject = $oObject;
$this->sAttCode = $sAttCode;
$this->bOriginal = $bOriginal;
}
public function GetAsHTML(bool $bLocalizedValues)
{