|
18 | 18 | * @method static JsonResponse accepted($data = null, string $message = '', string $location = '')
|
19 | 19 | * @method static JsonResponse created($data = null, string $message = '', string $location = '')
|
20 | 20 | * @method static JsonResponse noContent(string $message = '')
|
21 |
| - * @method static JsonResponse localize(int|\BackedEnum $code = 200, array $headers = [], int $option = 0) |
22 |
| - * @method static JsonResponse ok(string $message = '', int|\BackedEnum $code = 200, array $headers = [], int $option = 0) |
23 |
| - * @method static JsonResponse success($data = null, string $message = '', int|\BackedEnum $code = 200, array $headers = [], int $option = 0) |
| 21 | + * @method static JsonResponse localize(int|\BackedEnum $code = 200) |
| 22 | + * @method static JsonResponse ok(string $message = '', int|\BackedEnum $code = 200) |
| 23 | + * @method static JsonResponse success($data = null, string $message = '', int|\BackedEnum $code = 200) |
24 | 24 | * @method static void errorBadRequest(?string $message = '')
|
25 | 25 | * @method static void errorUnauthorized(string $message = '')
|
26 | 26 | * @method static void errorForbidden(string $message = '')
|
27 | 27 | * @method static void errorNotFound(string $message = '')
|
28 | 28 | * @method static void errorMethodNotAllowed(string $message = '')
|
29 | 29 | * @method static void errorInternal(string $message = '')
|
30 |
| - * @method static JsonResponse fail(string $message = '', int|\BackedEnum $code = 500, $errors = null, array $header = [], int $options = 0) |
| 30 | + * @method static JsonResponse fail(string $message = '', int|\BackedEnum $code = 500, $errors = null) |
31 | 31 | *
|
32 | 32 | * @see \Jiannei\Response\Laravel\Response
|
33 | 33 | */
|
|
0 commit comments