Skip to content

Commit 01b4e70

Browse files
committed
Fix invalid @static method signature
1 parent b551f50 commit 01b4e70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Assert.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
* @method static void boolean(mixed $value, string $message = '', string $exception = '')
4545
* @method static void scalar(mixed $value, string $message = '', string $exception = '')
4646
* @method static void object(mixed $value, string $message = '', string $exception = '')
47-
* @method static void resource(mixed $value, string|null $type, string $message = '', string $exception = '')
47+
* @method static void resource(mixed $value, string|null $type = null, string $message = '', string $exception = '')
4848
* @method static void isCallable(mixed $value, string $message = '', string $exception = '')
4949
* @method static void isArray(mixed $value, string $message = '', string $exception = '')
5050
* @method static void isTraversable(mixed $value, string $message = '', string $exception = '')
@@ -149,8 +149,8 @@
149149
* @method static void allScalar(mixed $value, string $message = '', string $exception = '')
150150
* @method static void nullOrObject(mixed $value, string $message = '', string $exception = '')
151151
* @method static void allObject(mixed $value, string $message = '', string $exception = '')
152-
* @method static void nullOrResource(mixed $value, string|null $type, string $message = '', string $exception = '')
153-
* @method static void allResource(mixed $value, string|null $type, string $message = '', string $exception = '')
152+
* @method static void nullOrResource(mixed $value, string|null $type = null, string $message = '', string $exception = '')
153+
* @method static void allResource(mixed $value, string|null $type = null, string $message = '', string $exception = '')
154154
* @method static void nullOrIsCallable(mixed $value, string $message = '', string $exception = '')
155155
* @method static void allIsCallable(mixed $value, string $message = '', string $exception = '')
156156
* @method static void nullOrIsArray(mixed $value, string $message = '', string $exception = '')

0 commit comments

Comments
 (0)