Skip to content

Commit 3e68bc5

Browse files
committed
wip
1 parent 46451d7 commit 3e68bc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Settings/Blocks/Fields/Checkbox.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ class Checkbox extends Field
1313
#[\Override]
1414
public function getValueSanitizer(): callable
1515
{
16-
return 'intval';
16+
return 'absint';
1717
}
1818

1919
#[\Override]
2020
public function getValueType(): string
2121
{
22-
return 'boolean';
22+
return 'integer';
2323
}
2424

2525
#[\Override]

0 commit comments

Comments
 (0)