From 9bc2918d353c4b5701d962983921589f04270717 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Wed, 7 Aug 2019 10:40:19 +0200 Subject: [PATCH] Fix some return type annotations. --- NativeRequestHandler.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/NativeRequestHandler.php b/NativeRequestHandler.php index 5997fba67d..69a2a1c728 100644 --- a/NativeRequestHandler.php +++ b/NativeRequestHandler.php @@ -192,7 +192,7 @@ private static function getRequestMethod() * This method is identical to {@link \Symfony\Component\HttpFoundation\FileBag::fixPhpFilesArray} * and should be kept as such in order to port fixes quickly and easily. * - * @return array + * @return mixed */ private static function fixPhpFilesArray($data) { @@ -228,9 +228,7 @@ private static function fixPhpFilesArray($data) /** * Sets empty uploaded files to NULL in the given uploaded files array. * - * @param mixed $data The file upload data - * - * @return array|null Returns the stripped upload data + * @return mixed Returns the stripped upload data */ private static function stripEmptyFiles($data) {