From d3c45f91867ff4d36b044044efc4391d12c7d122 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 30 Nov 2019 23:15:28 -0500 Subject: [PATCH] Update type hint of System::jsonExit parameter to mixed - Output isn't necessarily an array --- src/Core/System.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/System.php b/src/Core/System.php index 0888f390a6..f367d28587 100644 --- a/src/Core/System.php +++ b/src/Core/System.php @@ -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') { -- 2.39.2