Skip to content

Commit cfccab1

Browse files
committed
add inField
1 parent 5ff9926 commit cfccab1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Validator/GlobalMessage.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ final class GlobalMessage
7171
'lteField' => '{attr} value must be less than or equals to {value0}',
7272
'gtField' => '{attr} value must be greater than {value0}',
7373
'gteField' => '{attr} value must be greater than or equals to {value0}',
74+
'inField' => '{attr} value must be exists in {value0}',
7475

7576
// 'in', 'enum',
7677
'enum' => '{attr} must in ({value0})',
@@ -123,7 +124,7 @@ public static function get(string $key)
123124
}
124125

125126
/**
126-
* @param string $key
127+
* @param string $key
127128
* @param string|array $msg
128129
*/
129130
public static function set(string $key, $msg): void

0 commit comments

Comments
 (0)