Skip to content

Commit

Permalink
changed the UploadFile usage to laravels http UploadFile class
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Kluska committed Jun 27, 2016
1 parent 52a618a commit 5c803e3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Handler/AbstractHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
namespace Pion\Laravel\ChunkUpload\Handler;

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

/**
* The handler that will detect if we can continue the chunked upload
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/ContentRangeUploadHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
namespace Pion\Laravel\ChunkUpload\Handler;

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

/**
* Class JqueryUploadReceiver
Expand Down
3 changes: 2 additions & 1 deletion src/Receiver/FileReceiver.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use Pion\Laravel\ChunkUpload\Save\AbstractSave;
use Pion\Laravel\ChunkUpload\Save\ChunkSave;
use Pion\Laravel\ChunkUpload\Save\SingleSave;
use Illuminate\Http\UploadedFile;

class FileReceiver
{
Expand All @@ -15,7 +16,7 @@ class FileReceiver
protected $request;

/**
* @var \Symfony\Component\HttpFoundation\File\UploadedFile|null
* @var UploadedFile|null
*/
protected $file;

Expand Down
2 changes: 1 addition & 1 deletion src/Save/AbstractSave.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

use Pion\Laravel\ChunkUpload\Handler\AbstractHandler;
use Symfony\Component\HttpFoundation\File\File;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Illuminate\Http\UploadedFile;

/**
* Class AbstractSave
Expand Down
2 changes: 1 addition & 1 deletion src/Save/ChunkSave.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

use Pion\Laravel\ChunkUpload\Exceptions\ChunkSaveException;
use Pion\Laravel\ChunkUpload\Handler\AbstractHandler;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Illuminate\Http\UploadedFile;

class ChunkSave extends AbstractSave
{
Expand Down

0 comments on commit 5c803e3

Please sign in to comment.