Fix null returned by Field::IsHidden

This commit is contained in:
Pierre Goiffon
2020-12-21 15:23:46 +01:00
parent 4089e853f8
commit 4ebe3d2b2f
2 changed files with 7 additions and 7 deletions

View File

@@ -58,7 +58,7 @@ class FieldFactory
private static function UpdateFlagsFieldFromParams($oField, $sMethodName, $iParamsFlags, $iConstant): void
{
$oField->$sMethodName(($iParamsFlags & $iConstant) === $iConstant);
$oField->$sMethodName((($iParamsFlags & $iConstant) === $iConstant));
}
public static function MakeFromObject(string $sLabel, AbstractInput $oInput, ?string $sLayout = null)