1
0
Fork 0

Update type hint of System::jsonExit parameter to mixed

- Output isn't necessarily an array
This commit is contained in:
Hypolite Petovan 2019-11-30 23:15:28 -05:00
parent 8e3428764b
commit d3c45f9186

View file

@ -149,7 +149,7 @@ class System extends BaseObject
* and adds an application/json HTTP header to the output.
* 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').
*/
public static function jsonExit($x, $content_type = 'application/json') {