@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | /** |
27 | 27 | * Create a new instance. |
28 | 28 | * |
29 | - * @param \ArinaSystems\JsonResponse\Option|array|string $options |
|
29 | + * @param Option $options |
|
30 | 30 | * @return void |
31 | 31 | */ |
32 | 32 | public function __construct(Option $options, Attribute $attributes, Status $status) |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | * |
108 | 108 | * @param string|array|null $key |
109 | 109 | * @param mixed|null $default |
110 | - * @return \ArinaSystems\JsonResponse\Option|mixed |
|
110 | + * @return integer |
|
111 | 111 | */ |
112 | 112 | public function options($key = null, $default = null) |
113 | 113 | { |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | * Set json response attributes. |
165 | 165 | * |
166 | 166 | * @param \ArinaSystems\JsonResponse\Attribute|array|string $attributes |
167 | - * @param null|mixed $value |
|
167 | + * @param \Throwable $value |
|
168 | 168 | * @return self |
169 | 169 | */ |
170 | 170 | public function setAttributes($attributes, $value = null) |
@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | /** |
217 | 217 | * Get the current instance of json response builder. |
218 | 218 | * |
219 | - * @return ArinaSystems\JsonResponse\JsonResponse |
|
219 | + * @return JsonResponse |
|
220 | 220 | */ |
221 | 221 | public function instance(): self |
222 | 222 | { |