Skip to content

Commit b457797

Browse files
committed
update
1 parent bb2288f commit b457797

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace MintyPHP\Form\Validator;
44

5-
class IntValidator implements Validator
5+
class IntegerValidator implements Validator
66
{
77
protected string $message = 'Must be a whole number';
88

src/Validator/Validators.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public static function url(string $message = ''): Validator
3333

3434
public static function integer(string $message = ''): Validator
3535
{
36-
$validator = new IntValidator();
36+
$validator = new IntegerValidator();
3737
if ($message) {
3838
$validator->message($message);
3939
}

0 commit comments

Comments
 (0)