🎨 CS Fixer

This commit is contained in:
Eric Espie
2025-11-18 14:52:10 +01:00
parent e08835c1a2
commit 11973d61ec
69 changed files with 219 additions and 194 deletions

View File

@@ -1,4 +1,5 @@
<?php
/*
* @copyright Copyright (C) 2010-2025 Combodo SARL
* @license http://opensource.org/licenses/AGPL-3.0
@@ -23,10 +24,10 @@ class ChoiceFromInputsBlock extends ChoiceFormBlock
$aChoices = [];
/** @var FormInput $oInput */
foreach ($this->GetInputs() as $oInput) {
if($oInput->HasValue()){
if ($oInput->HasValue()) {
$aChoices[strval($oInput->GetValue())] = $oInput->GetName();
}
}
$oOptionsRegister->SetOption('choices', $aChoices);
}
}
}