Skip to content

Commit 9e08dc5

Browse files
committed
Fix faulty @method tag
1 parent 86b1012 commit 9e08dc5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/Assert.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
* @method static mixed scalar(mixed $value, string $message = '', string $exception = '')
4949
* @method static mixed object(mixed $value, string $message = '', string $exception = '')
5050
* @method static mixed objectish(mixed $value, string $message = '', string $exception = '')
51-
* @method static mixed resource(mixed $value, string|null $type, string $message = '', string $exception = '')
51+
* @method static mixed resource(mixed $value, string|null $type = null, string $message = '', string $exception = '')
5252
* @method static mixed isInitialized(mixed $value, string $message = '', string $exception = '')
5353
* @method static mixed isCallable(mixed $value, string $message = '', string $exception = '')
5454
* @method static mixed isArray(mixed $value, string $message = '', string $exception = '')
@@ -149,7 +149,7 @@
149149
* @method static mixed nullOrScalar(mixed $value, string $message = '', string $exception = '')
150150
* @method static mixed nullOrObject(mixed $value, string $message = '', string $exception = '')
151151
* @method static mixed nullOrObjectish(mixed $value, string $message = '', string $exception = '')
152-
* @method static mixed nullOrResource(mixed $value, string|null $type, string $message = '', string $exception = '')
152+
* @method static mixed nullOrResource(mixed $value, string|null $type = null, string $message = '', string $exception = '')
153153
* @method static mixed nullOrIsCallable(mixed $value, string $message = '', string $exception = '')
154154
* @method static mixed nullOrIsArray(mixed $value, string $message = '', string $exception = '')
155155
* @method static mixed nullOrIsArrayAccessible(mixed $value, string $message = '', string $exception = '')
@@ -247,7 +247,7 @@
247247
* @method static mixed allScalar(mixed $value, string $message = '', string $exception = '')
248248
* @method static mixed allObject(mixed $value, string $message = '', string $exception = '')
249249
* @method static mixed allObjectish(mixed $value, string $message = '', string $exception = '')
250-
* @method static mixed allResource(mixed $value, string|null $type, string $message = '', string $exception = '')
250+
* @method static mixed allResource(mixed $value, string|null $type = null, string $message = '', string $exception = '')
251251
* @method static mixed allIsCallable(mixed $value, string $message = '', string $exception = '')
252252
* @method static mixed allIsArray(mixed $value, string $message = '', string $exception = '')
253253
* @method static mixed allIsArrayAccessible(mixed $value, string $message = '', string $exception = '')
@@ -346,7 +346,7 @@
346346
* @method static mixed allNullOrScalar(mixed $value, string $message = '', string $exception = '')
347347
* @method static mixed allNullOrObject(mixed $value, string $message = '', string $exception = '')
348348
* @method static mixed allNullOrObjectish(mixed $value, string $message = '', string $exception = '')
349-
* @method static mixed allNullOrResource(mixed $value, string|null $type, string $message = '', string $exception = '')
349+
* @method static mixed allNullOrResource(mixed $value, string|null $type = null, string $message = '', string $exception = '')
350350
* @method static mixed allNullOrIsCallable(mixed $value, string $message = '', string $exception = '')
351351
* @method static mixed allNullOrIsArray(mixed $value, string $message = '', string $exception = '')
352352
* @method static mixed allNullOrIsArrayAccessible(mixed $value, string $message = '', string $exception = '')

0 commit comments

Comments
 (0)