Fix phpcs

This commit is contained in:
Laurent Destailleur 2023-02-03 17:08:24 +01:00
parent 5395a4ab4b
commit 86c2f2fcde

View File

@ -292,7 +292,7 @@ $parameters = [
]; ];
$reshook = $hookmanager->executeHooks('doValidatePayment', $parameters, $object, $action); $reshook = $hookmanager->executeHooks('doValidatePayment', $parameters, $object, $action);
if ($reshook < 0) { if ($reshook < 0) {
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
} elseif ($reshook > 0) { } elseif ($reshook > 0) {
print $hookmanager->resPrint; print $hookmanager->resPrint;
} }