mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 18:18:46 +02:00
N°8772 - Form dependencies manager implementation - WIP
This commit is contained in:
@@ -10,7 +10,7 @@ class FormOutput
|
||||
|
||||
private string $sType;
|
||||
|
||||
private AbstractConverter $oConverter;
|
||||
private null|AbstractConverter $oConverter;
|
||||
|
||||
public function __construct(string $sName, string $sType, AbstractConverter $oConverter = null)
|
||||
{
|
||||
@@ -41,7 +41,7 @@ class FormOutput
|
||||
|
||||
public function GetOutputValue(mixed $oData): mixed
|
||||
{
|
||||
$this->oConverter->Convert($oData);
|
||||
return $this->oConverter->Convert($oData);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user