Skip to content

Commit

Permalink
Fix some return type annotations.
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Aug 7, 2019
1 parent 58eca0f commit 9bc2918
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions NativeRequestHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit 9bc2918

Please sign in to comment.