Fix Response::addJSON param docblock

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth 2021-03-19 13:10:45 -03:00
parent c7a6b31e68
commit 0bb356ee9a
No known key found for this signature in database
GPG Key ID: 6A16FD38AFC89CC8

View File

@ -292,9 +292,9 @@ class Response
/**
* Add JSON code to the response
*
* @param string|int|array<array-key, mixed> $json Either a key (string) or an array or key-value pairs
* @param mixed|null $value Null, if passing an array in $json otherwise
* it's a string value to the key
* @param string|int|array $json Either a key (string) or an array or key-value pairs
* @param mixed|null $value Null, if passing an array in $json otherwise
* it's a string value to the key
*/
public function addJSON($json, $value = null): void
{