Update type hint of System::jsonExit parameter to mixed
- Output isn't necessarily an array
This commit is contained in:
parent
8e3428764b
commit
d3c45f9186
|
@ -149,7 +149,7 @@ class System extends BaseObject
|
||||||
* and adds an application/json HTTP header to the output.
|
* and adds an application/json HTTP header to the output.
|
||||||
* After finishing the process is getting killed.
|
* After finishing the process is getting killed.
|
||||||
*
|
*
|
||||||
* @param array $x The input content.
|
* @param mixed $x The input content.
|
||||||
* @param string $content_type Type of the input (Default: 'application/json').
|
* @param string $content_type Type of the input (Default: 'application/json').
|
||||||
*/
|
*/
|
||||||
public static function jsonExit($x, $content_type = 'application/json') {
|
public static function jsonExit($x, $content_type = 'application/json') {
|
||||||
|
|
Loading…
Reference in a new issue