Skip to content

Commit

Permalink
File & UploadedFile tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb committed Apr 27, 2011
1 parent e96b39f commit d350e01
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/Symfony/Component/HttpFoundation/FileBag.php
Expand Up @@ -133,7 +133,8 @@ protected function fixPhpFilesArray($data)
foreach (array_keys($data['name']) as $key) {
$files[$key] = $this->fixPhpFilesArray(array(
'error' => $data['error'][$key],
'name' => $data['name'][$key], 'type' => $data['type'][$key],
'name' => $data['name'][$key],
'type' => $data['type'][$key],
'tmp_name' => $data['tmp_name'][$key],
'size' => $data['size'][$key]
));
Expand Down
1 change: 0 additions & 1 deletion src/Symfony/Component/HttpFoundation/Request.php
Expand Up @@ -12,7 +12,6 @@
namespace Symfony\Component\HttpFoundation;

use Symfony\Component\HttpFoundation\SessionStorage\NativeSessionStorage;
use Symfony\Component\HttpFoundation\File\UploadedFile;

/**
* Request represents an HTTP request.
Expand Down
Expand Up @@ -23,7 +23,6 @@
use Symfony\Component\Form\Util\PropertyPath;
use Symfony\Component\Form\CallbackTransformer;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Symfony\Component\Validator\ConstraintViolation;
use Symfony\Component\Validator\ConstraintViolationList;
use Symfony\Component\Validator\ExecutionView;
Expand Down
Expand Up @@ -12,7 +12,6 @@
namespace Symfony\Tests\Component\HttpFoundation;

use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\File\UploadedFile;

class RequestTest extends \PHPUnit_Framework_TestCase
{
Expand Down

0 comments on commit d350e01

Please sign in to comment.