|
49 | 49 | * @method static void validUnsignedInt(mixed $value, string $message = '', string $exception = '') |
50 | 50 | * @method static void validUnsignedLong(mixed $value, string $message = '', string $exception = '') |
51 | 51 | * @method static void validUnsignedShort(mixed $value, string $message = '', string $exception = '') |
| 52 | + * @method static void validYear(mixed $value, string $message = '', string $exception = '') |
52 | 53 | * @method static void validYearMonth(mixed $value, string $message = '', string $exception = '') |
53 | 54 | * @method static void nullOrValidAnyURI(mixed $value, string $message = '', string $exception = '') |
54 | 55 | * @method static void nullOrValidBase64Binary(mixed $value, string $message = '', string $exception = '') |
|
90 | 91 | * @method static void nullOrValidUnsignedInt(mixed $value, string $message = '', string $exception = '') |
91 | 92 | * @method static void nullOrValidUnsignedLong(mixed $value, string $message = '', string $exception = '') |
92 | 93 | * @method static void nullOrValidUnsignedShort(mixed $value, string $message = '', string $exception = '') |
| 94 | + * @method static void nullOrValidYear(mixed $value, string $message = '', string $exception = '') |
93 | 95 | * @method static void nullOrValidYearMonth(mixed $value, string $message = '', string $exception = '') |
94 | 96 | * @method static void allValidAnyURI(mixed $value, string $message = '', string $exception = '') |
95 | 97 | * @method static void allValidBase64Binary(mixed $value, string $message = '', string $exception = '') |
|
131 | 133 | * @method static void allValidUnsignedInt(mixed $value, string $message = '', string $exception = '') |
132 | 134 | * @method static void allValidUnsignedLong(mixed $value, string $message = '', string $exception = '') |
133 | 135 | * @method static void allValidUnsignedShort(mixed $value, string $message = '', string $exception = '') |
| 136 | + * @method static void allValidYear(mixed $value, string $message = '', string $exception = '') |
134 | 137 | * @method static void allValidYearMonth(mixed $value, string $message = '', string $exception = '') |
135 | 138 | */ |
136 | 139 | class Assert extends BaseAssert |
@@ -175,5 +178,6 @@ class Assert extends BaseAssert |
175 | 178 | use UnsignedIntTrait; |
176 | 179 | use UnsignedLongTrait; |
177 | 180 | use UnsignedShortTrait; |
| 181 | + use YearTrait; |
178 | 182 | use YearMonthTrait; |
179 | 183 | } |
0 commit comments