diff --git a/src/Pecee/Http/Input/Input.php b/src/Pecee/Http/Input/Input.php index a1aa0b1..ae86bca 100644 --- a/src/Pecee/Http/Input/Input.php +++ b/src/Pecee/Http/Input/Input.php @@ -58,10 +58,9 @@ class Input public function parseFiles() { - $files = $_FILES; $list = []; - foreach ($files as $key => $value) { + foreach ($_FILES as $key => $value) { // Handle array input if (is_array($value['name']) === false) {