Skip to content

Commit f2afb18

Browse files
committed
update
1 parent f9c77ce commit f2afb18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SelectOrType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function extract(bool $withNulls = false): array
129129
if ($this->disabled) {
130130
return [];
131131
}
132-
$value = trim($this->values[0] ?? '');
132+
$value = trim($this->value);
133133
if ($withNulls) {
134134
$value = strlen($value) ? $value : null;
135135
}

0 commit comments

Comments
 (0)