fix: noverify --fix

This commit is contained in:
origami11@yandex.ru 2024-06-14 14:12:02 +03:00
parent 5aff28d2b8
commit 117640a755
44 changed files with 174 additions and 174 deletions

View file

@ -8,7 +8,7 @@ class SelectMany extends Select
function setValue($value)
{
// Установить selected у options
if (!is_array($value)) { $value = array($value); }
if (!is_array($value)) { $value = [$value]; }
$this->value = $value;
foreach ($this->options as &$option) {
$option['selected'] = (in_array($option['value'], $value));