Skip to content

Commit 2c556cf

Browse files
committed
Fix @method tags to satisfy the codesniffer qa
1 parent 7acb82a commit 2c556cf

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/Assert.php

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
* @method static void isInstanceOfAny(mixed $value, array<object|class-string> $classes, string $message = '', string $exception = '')
5454
* @method static void isAOf(string|object $value, string $class, string $message = '', string $exception = '')
5555
* @method static void isNotA(string|object $value, string $class, string $message = '', string $exception = '')
56-
* @method static void isAnyOf(string|object $value, string[] $classes, string $message = '', string $exception = '')
56+
* @method static void isAnyOf(class-string|object $value, string[] $classes, string $message = '', string $exception = '')
5757
* @method static void isEmpty(mixed $value, string $message = '', string $exception = '')
5858
* @method static void notEmpty(mixed $value, string $message = '', string $exception = '')
5959
* @method static void null(mixed $value, string $message = '', string $exception = '')
@@ -169,9 +169,9 @@
169169
* @method static void nullOrIsAOf(object|string|null $value, string $class, string $message = '', string $exception = '')
170170
* @method static void allIsAOf(object|string|null $value, string $class, string $message = '', string $exception = '')
171171
* @method static void nullOrIsNotA(object|string|null $value, string $class, string $message = '', string $exception = '')
172-
* @method static void allIsNotA(\Iterable<object|string> $value, string $class, string $message = '', string $exception = '')
173-
* @method static void nullOrIsAnyOf(object|string|null $value, string[] $classes, string $message = '', string $exception = '')
174-
* @method static void allIsAnyOf(\Iterable<object|string $value, string[] $classes, string $message = '', string $exception = '')
172+
* @method static void allIsNotA(iterable<object|string> $value, string $class, string $message = '', string $exception = '')
173+
* @method static void nullOrIsAnyOf(object|class-string|null $value, string[] $classes, string $message = '', string $exception = '')
174+
* @method static void allIsAnyOf(iterable<object|class-string> $value, string[] $classes, string $message = '', string $exception = '')
175175
* @method static void nullOrIsEmpty(mixed $value, string $message = '', string $exception = '')
176176
* @method static void allIsEmpty(mixed $value, string $message = '', string $exception = '')
177177
* @method static void nullOrNotEmpty(mixed $value, string $message = '', string $exception = '')
@@ -193,7 +193,7 @@
193193
* @method static void nullOrEmail(mixed $value, string $message = '', string $exception = '')
194194
* @method static void allEmail(mixed $value, string $message = '', string $exception = '')
195195
* @method static void nullOrUniqueValues(array<mixed>|null $values, string $message = '', string $exception = '')
196-
* @method static void allUniqueValues(\Iterable<array> $values, string $message = '', string $exception = '')
196+
* @method static void allUniqueValues(iterable<array<mixed>> $values, string $message = '', string $exception = '')
197197
* @method static void nullOrEq(mixed $value, mixed $expect, string $message = '', string $exception = '')
198198
* @method static void allEq(mixed $value, mixed $expect, string $message = '', string $exception = '')
199199
* @method static void nullOrNotEq(mixed $value, mixed $expect, string $message = '', string $exception = '')
@@ -275,27 +275,27 @@
275275
* @method static void nullOrImplementsInterface(mixed $value, mixed $interface, string $message = '', string $exception = '')
276276
* @method static void allImplementsInterface(mixed $value, mixed $interface, string $message = '', string $exception = '')
277277
* @method static void nullOrPropertyExists(string|object|null $classOrObject, mixed $property, string $message = '', string $exception = '')
278-
* @method static void allPropertyExists(\Iterable<class-string|object> $classOrObject, mixed $property, string $message = '', string $exception = '')
278+
* @method static void allPropertyExists(iterable<class-string|object> $classOrObject, mixed $property, string $message = '', string $exception = '')
279279
* @method static void nullOrPropertyNotExists(string|object|null $classOrObject, mixed $property, string $message = '', string $exception = '')
280-
* @method static void allPropertyNotExists(\Iterable<class-string|object> $classOrObject, mixed $property, string $message = '', string $exception = '')
280+
* @method static void allPropertyNotExists(iterable<class-string|object> $classOrObject, mixed $property, string $message = '', string $exception = '')
281281
* @method static void nullOrMethodExists(string|object|null $classOrObject, mixed $method, string $message = '', string $exception = '')
282-
* @method static void allMethodExists(\Iterable<class-string|object> $classOrObject, mixed $method, string $message = '', string $exception = '')
282+
* @method static void allMethodExists(iterable<class-string|object> $classOrObject, mixed $method, string $message = '', string $exception = '')
283283
* @method static void nullOrMethodNotExists(string|object|null $classOrObject, mixed $method, string $message = '', string $exception = '')
284-
* @method static void allMethodNotExists(\Iterable<class-string|object> $classOrObject, mixed $method, string $message = '', string $exception = '')
284+
* @method static void allMethodNotExists(iterable<class-string|object> $classOrObject, mixed $method, string $message = '', string $exception = '')
285285
* @method static void nullOrKeyExists(array<mixed>|null $array, string|int $key, string $message = '', string $exception = '')
286-
* @method static void allKeyExists(\Iterable<array> $array, string|int $key, string $message = '', string $exception = '')
286+
* @method static void allKeyExists(iterable<array<mixed>> $array, string|int $key, string $message = '', string $exception = '')
287287
* @method static void nullOrKeyNotExists(array<mixed>|null $array, string|int $key, string $message = '', string $exception = '')
288-
* @method static void allKeyNotExists(\Iterable<array> $array, string|int $key, string $message = '', string $exception = '')
288+
* @method static void allKeyNotExists(iterable<array<mixed>> $array, string|int $key, string $message = '', string $exception = '')
289289
* @method static void nullOrValidArrayKey(mixed $value, string $message = '', string $exception = '')
290290
* @method static void allValidArrayKey(mixed $value, string $message = '', string $exception = '')
291291
* @method static void nullOrCount(\Countable|array<mixed>|null $array, int $number, string $message = '', string $exception = '')
292-
* @method static void allCount(\Iterable<\Countable|array> $array, int $number, string $message = '', string $exception = '')
292+
* @method static void allCount(iterable<\Countable|array<mixed>> $array, int $number, string $message = '', string $exception = '')
293293
* @method static void nullOrMinCount(\Countable|array<mixed>|null $array, int|float $min, string $message = '', string $exception = '')
294-
* @method static void allMinCount(\Iterable<\Countable|array> $array, int|float $min, string $message = '', string $exception = '')
294+
* @method static void allMinCount(iterable<\Countable|array<mixed>> $array, int|float $min, string $message = '', string $exception = '')
295295
* @method static void nullOrMaxCount(\Countable|array<mixed>|null $array, int|float $max, string $message = '', string $exception = '')
296-
* @method static void allMaxCount(\Iterable<\Countable|array> $array, int|float $max, string $message = '', string $exception = '')
296+
* @method static void allMaxCount(iterable<\Countable|array<mixed>> $array, int|float $max, string $message = '', string $exception = '')
297297
* @method static void nullOrCountBetween(\Countable|array<mixed>|null $array, int|float $min, int|float $max, string $message = '', string $exception = '')
298-
* @method static void allCountBetween(\Iterable<\Countable|array> $array, int|float $min, int|float $max, string $message = '', string $exception = '')
298+
* @method static void allCountBetween(iterable<\Countable|array<mixed>> $array, int|float $min, int|float $max, string $message = '', string $exception = '')
299299
* @method static void nullOrIsList(mixed $array, string $message = '', string $exception = '')
300300
* @method static void allIsList(mixed $array, string $message = '', string $exception = '')
301301
* @method static void nullOrIsNonEmptyList(mixed $array, string $message = '', string $exception = '')

0 commit comments

Comments
 (0)