Completed
Pull Request — master (#74)
by Adrian
11:16
created
src/Abstractor/Eloquent/Model.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,6 @@
 block discarded – undo
16 16
 use Anavel\Crud\Abstractor\Exceptions\AbstractorException;
17 17
 use Illuminate\Http\Request;
18 18
 use Illuminate\Support\Collection;
19
-use League\Flysystem\Adapter\Local;
20
-use League\Flysystem\Filesystem;
21 19
 
22 20
 class Model implements ModelAbstractorContract
23 21
 {
Please login to merge, or discard this patch.
src/Abstractor/Eloquent/Traits/HandleFiles.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 namespace Anavel\Crud\Abstractor\Eloquent\Traits;
5 5
 
6 6
 use Illuminate\Database\Eloquent\Model;
7
-use Illuminate\Support\Facades\App;
8 7
 use League\Flysystem\Adapter\Local;
9 8
 use League\Flysystem\Filesystem;
10 9
 use Illuminate\Http\Request;
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         {
63 63
             $requestValue = $request->input($contentFromUploadedField);
64 64
 
65
-        }elseif ($request->hasFile($groupName .'.'.$fieldName)) {
65
+        } elseif ($request->hasFile($groupName .'.'.$fieldName)) {
66 66
             $fileName = pathinfo($request->file($groupName .'.'.$fieldName)->getClientOriginalName(), PATHINFO_FILENAME);
67 67
             $extension = pathinfo($request->file($groupName .'.'.$fieldName)->getClientOriginalName(), PATHINFO_EXTENSION);
68 68
 
Please login to merge, or discard this patch.