Fix phpcs
This commit is contained in:
parent
afe61579e8
commit
2b526f7469
@ -634,7 +634,7 @@ if (empty($reshook))
|
|||||||
$msg = $arraydefaultmessage->content;
|
$msg = $arraydefaultmessage->content;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($labeltouse) || (int)$labeltouse === -1) {
|
if (empty($labeltouse) || (int) $labeltouse === -1) {
|
||||||
//fallback on the old configuration.
|
//fallback on the old configuration.
|
||||||
setEventMessages('WarningMandatorySetupNotComplete', [], 'errors');
|
setEventMessages('WarningMandatorySetupNotComplete', [], 'errors');
|
||||||
$error++;
|
$error++;
|
||||||
@ -715,7 +715,7 @@ if (empty($reshook))
|
|||||||
$msg = $arraydefaultmessage->content;
|
$msg = $arraydefaultmessage->content;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($labeltouse) || (int)$labeltouse === -1) {
|
if (empty($labeltouse) || (int) $labeltouse === -1) {
|
||||||
//fallback on the old configuration.
|
//fallback on the old configuration.
|
||||||
setEventMessages('WarningMandatorySetupNotComplete', [], 'errors');
|
setEventMessages('WarningMandatorySetupNotComplete', [], 'errors');
|
||||||
$error++;
|
$error++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user