Skip to content

Commit fa7db7b

Browse files
committed
Bump webmozart
1 parent bd4a46b commit fa7db7b

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"ext-spl": "*",
2121
"ext-uri": "*",
2222

23-
"webmozart/assert": "~2.1"
23+
"webmozart/assert": "~2.5"
2424
},
2525
"require-dev": {
2626
"ext-intl": "*",

‎src/Assert.php‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@
120120
* @method static mixed methodExists(string|object $classOrObject, mixed $method, string $message = '', string $exception = '')
121121
* @method static mixed methodNotExists(string|object $classOrObject, mixed $method, string $message = '', string $exception = '')
122122
* @method static mixed keyExists(mixed[] $array, string|int $key, string $message = '', string $exception = '')
123+
* @method static mixed keysExist(mixed[] $array, array<string> $keys, string $message = '', string $exception = '')
123124
* @method static mixed keyNotExists(mixed[] $array, string|int $key, string $message = '', string $exception = '')
124125
* @method static mixed validArrayKey($value, string $message = '', string $exception = '')
125126
* @method static mixed count(\Countable|mixed[] $array, int $number, string $message = '', string $exception = '')
@@ -218,6 +219,7 @@
218219
* @method static mixed nullOrMethodExists(string|object|null $classOrObject, mixed $method, string $message = '', string $exception = '')
219220
* @method static mixed nullOrMethodNotExists(string|object|null $classOrObject, mixed $method, string $message = '', string $exception = '')
220221
* @method static mixed nullOrKeyExists(mixed[]|null $array, string|int $key, string $message = '', string $exception = '')
222+
* @method static mixed nullOrKeysExist(mixed[]|null $array, array<string> $keys, string $message = '', string $exception = '')
221223
* @method static mixed nullOrKeyNotExists(mixed[]|null $array, string|int $key, string $message = '', string $exception = '')
222224
* @method static mixed nullOrValidArrayKey(mixed $value, string $message = '', string $exception = '')
223225
* @method static mixed nullOrCount(\Countable|mixed[]|null $array, int $number, string $message = '', string $exception = '')
@@ -317,6 +319,7 @@
317319
* @method static mixed allMethodExists(iterable<string|object> $classOrObject, mixed $method, string $message = '', string $exception = '')
318320
* @method static mixed allMethodNotExists(iterable<string|object> $classOrObject, mixed $method, string $message = '', string $exception = '')
319321
* @method static mixed allKeyExists(iterable<mixed[]> $array, string|int $key, string $message = '', string $exception = '')
322+
* @method static mixed allKeysExist(iterable<mixed[]> $array, array<string> $keys, string $message = '', string $exception = '')
320323
* @method static mixed allKeyNotExists(iterable<mixed[]> $array, string|int $key, string $message = '', string $exception = '')
321324
* @method static mixed allValidArrayKey(mixed $value, string $message = '', string $exception = '')
322325
* @method static mixed allCount(iterable<\Countable|mixed[]> $array, int $number, string $message = '', string $exception = '')
@@ -416,6 +419,7 @@
416419
* @method static mixed allNullOrMethodExists(iterable<string|object> $classOrObject, mixed $method, string $message = '', string $exception = '')
417420
* @method static mixed allNullOrMethodNotExists(iterable<string|object> $classOrObject, mixed $method, string $message = '', string $exception = '')
418421
* @method static mixed allNullOrKeyExists(iterable<mixed[]> $array, string|int $key, string $message = '', string $exception = '')
422+
* @method static mixed allNullOrKeysExist(iterable<mixed[]> $array, array<string> $keys, string $message = '', string $exception = '')
419423
* @method static mixed allNullOrKeyNotExists(iterable<mixed[]> $array, string|int $key, string $message = '', string $exception = '')
420424
* @method static mixed allNullOrValidArrayKey(mixed $value, string $message = '', string $exception = '')
421425
* @method static mixed allNullOrCount(iterable<\Countable|mixed[]> $array, int $number, string $message = '', string $exception = '')

0 commit comments

Comments
 (0)