Skip to content

Commit bd9d526

Browse files
authored
Update AjaxSelect.php
1 parent bebd206 commit bd9d526

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Form/AjaxSelect.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ public function __construct(?string $label, callable $callback)
2828

2929
public function getValue()
3030
{
31-
if (!\in_array($this->value, [null, '', []], true)) {
32-
$this->setValue($this->value);
33-
}
34-
35-
return \array_key_exists($this->value, $this->getItems()) ? $this->value : null;
36-
}
31+
if (!\in_array($this->value, [null, '', []], true)) {
32+
$this->setValue($this->value);
33+
}
34+
35+
return \array_key_exists($this->value, $this->getItems()) ? $this->value : null;
36+
}
3737
}

0 commit comments

Comments
 (0)