Skip to content

Commit bca1212

Browse files
authored
fix boolean message index
1 parent 1ed6502 commit bca1212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FormValidation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ private function _check_integer($rule, $name): array
487487
private function _check_boolean($rule, $name): array
488488
{
489489
$value = $this->getParam($name);
490-
return [is_bool($value), ['string']];
490+
return [is_bool($value), ['boolean']];
491491
}
492492

493493
public function _check_digits($rule, $name): array

0 commit comments

Comments
 (0)