Skip to content

Commit 8da677c

Browse files
committed
Use string type for class constants
1 parent 00ae95b commit 8da677c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Validation/Rules/StringRule.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ class StringRule extends RegexRule
1111
{
1212
use Concerns\MinMaxValues;
1313

14-
protected const TYPE_STRING = 'string';
15-
protected const TYPE_ALPHA = 'alpha';
14+
protected const string TYPE_STRING = 'string';
15+
protected const string TYPE_ALPHA = 'alpha';
1616

1717
/** @var list<string> */
1818
protected const TYPES = [

0 commit comments

Comments
 (0)