]> git.mxchange.org Git - friendica.git/commitdiff
Update type hint of System::jsonExit parameter to mixed
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 1 Dec 2019 04:15:28 +0000 (23:15 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 1 Dec 2019 04:15:28 +0000 (23:15 -0500)
- Output isn't necessarily an array

src/Core/System.php

index 0888f390a694c8d59769a80e5a876e01ce9e8e37..f367d28587a9452b265f41dc9a080e146de7e2a7 100644 (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') {