We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb2288f commit b457797Copy full SHA for b457797
src/Validator/IntValidator.php src/Validator/IntegerValidator.phpsrc/Validator/IntValidator.php renamed to src/Validator/IntegerValidator.php
@@ -2,7 +2,7 @@
2
3
namespace MintyPHP\Form\Validator;
4
5
-class IntValidator implements Validator
+class IntegerValidator implements Validator
6
{
7
protected string $message = 'Must be a whole number';
8
src/Validator/Validators.php
@@ -33,7 +33,7 @@ public static function url(string $message = ''): Validator
33
34
public static function integer(string $message = ''): Validator
35
36
- $validator = new IntValidator();
+ $validator = new IntegerValidator();
37
if ($message) {
38
$validator->message($message);
39
}
0 commit comments