fix phpcs

This commit is contained in:
Frédéric FRANCE 2023-04-21 16:01:34 +02:00 committed by GitHub
parent d943a0f810
commit 5056373778
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -371,7 +371,7 @@ if ($mode == 'feature') {
$text .= '<br><strong>'.$langs->trans("DependsOn").':</strong> ';
if (is_array($objMod->depends) && count($objMod->depends)) {
$i = 0;
foreach($objMod->depends as $modulestringorarray) {
foreach ($objMod->depends as $modulestringorarray) {
if (is_array($modulestringorarray)) {
$text .= ($i ? ', ' : '').join(', ', $modulestringorarray);
} else {
@ -387,7 +387,7 @@ if ($mode == 'feature') {
$text .= '<br><strong>'.$langs->trans("RequiredBy").':</strong> ';
if (is_array($objMod->requiredby) && count($objMod->requiredby)) {
$i = 0;
foreach($objMod->requiredby as $modulestringorarray) {
foreach ($objMod->requiredby as $modulestringorarray) {
if (is_array($modulestringorarray)) {
$text .= ($i ? ', ' : '').join(', ', $modulestringorarray);
} else {