Update type hint of System::jsonExit parameter to mixed

- Output isn't necessarily an array
pull/7884/head
Hypolite Petovan 2019-11-30 23:15:28 -05:00
rodzic 8e3428764b
commit d3c45f9186
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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') {