N°8772 - cleanup code

This commit is contained in:
Eric Espie
2025-10-30 14:24:09 +01:00
parent 601cde0e2d
commit 0df54413b3
23 changed files with 183 additions and 150 deletions

View File

@@ -296,6 +296,7 @@ abstract class AbstractFormBlock
return true;
}
}
return false;
}
@@ -333,6 +334,7 @@ abstract class AbstractFormBlock
$aBindings[$oFormOutput->GetName()] = $oFormOutput->GetBinding();
}
}
return $aBindings;
}
@@ -389,11 +391,11 @@ abstract class AbstractFormBlock
/** Iterate throw output @var FormOutput $oFormOutput */
foreach ($this->aFormOutputs as $oFormOutput) {
try{
try {
// Compute the output value
$oFormOutput->ComputeValue($sEventType, $oData);
}
catch(IOException $oException){
catch (IOException $oException) {
IssueLog::Exception(sprintf('Unable to compute values for output %s of block %s', $oFormOutput->GetName(), $this->GetName()), $oException);
}