mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-13 18:38:48 +00:00
[Core] lint
This commit is contained in:
parent
9c009d2f15
commit
60874b093a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user