@@ -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 | */ |
31 | 31 | public function __construct(Option $options, Attribute $attributes, Status $status) |
32 | 32 | { |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | * |
109 | 109 | * @param string|array|null $key |
110 | 110 | * @param mixed|null $default |
111 | - * @return \ArinaSystems\JsonResponse\Option|mixed |
|
111 | + * @return integer |
|
112 | 112 | */ |
113 | 113 | public function options($key = null, $default = null) |
114 | 114 | { |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | * Set json response attributes. |
166 | 166 | * |
167 | 167 | * @param \ArinaSystems\JsonResponse\Attribute|array|string $attributes |
168 | - * @param null|mixed $value |
|
168 | + * @param \Throwable $value |
|
169 | 169 | * @return self |
170 | 170 | */ |
171 | 171 | public function setAttributes($attributes, $value = null) |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | /** |
218 | 218 | * Get the current instance of json response builder. |
219 | 219 | * |
220 | - * @return ArinaSystems\JsonResponse\JsonResponse |
|
220 | + * @return JsonResponse |
|
221 | 221 | */ |
222 | 222 | public function instance(): self |
223 | 223 | { |