[Core] lint

This commit is contained in:
Florent VIOLLEAU 2024-12-08 23:23:32 +01:00
parent 9c009d2f15
commit 60874b093a

View File

@ -251,7 +251,7 @@ final class BridgeCard
$attributes = self::getInputAttributes($entry);
$fieldsDisplayString = '';
foreach($entry['fields_name_used_for_display'] as $index => $field) {
foreach ($entry['fields_name_used_for_display'] as $index => $field) {
if ($index === 0) {
$fieldsDisplayString = 'option.' . $field;
} else {
@ -260,7 +260,7 @@ final class BridgeCard
}
$fieldsValueString = '';
foreach($entry['fields_name_used_as_value'] as $index => $field) {
foreach ($entry['fields_name_used_as_value'] as $index => $field) {
if ($index === 0) {
$fieldsValueString = 'option.' . $field;
} else {
@ -268,7 +268,8 @@ final class BridgeCard
}
}
$list = sprintf('<input %s id="input-%s" name="%s" type="text" list="options-%s" onmousedown="
$list = sprintf(
'<input %s id="input-%s" name="%s" type="text" list="options-%s" onmousedown="
const id = \'%s\';
const inputElement = document.getElementById(\'input-\' + id);
const errorElement = document.getElementById(\'error-\' + id);