@@ -103,7 +103,7 @@ |
||
103 | 103 | } else { |
104 | 104 | throw new \Exception("Something went wrong, file can't upload!"); |
105 | 105 | } |
106 | - }else{ |
|
106 | + } else{ |
|
107 | 107 | throw new \Exception("The file format is not allowed!"); |
108 | 108 | } |
109 | 109 |
@@ -23,7 +23,7 @@ |
||
23 | 23 | { |
24 | 24 | if(request()->hasFile($column->getName())) { |
25 | 25 | return cb()->uploadFile($column->getName()); |
26 | - }else{ |
|
26 | + } else{ |
|
27 | 27 | return null; |
28 | 28 | } |
29 | 29 | } |
@@ -23,7 +23,7 @@ |
||
23 | 23 | { |
24 | 24 | if(request()->hasFile($column->getName())) { |
25 | 25 | return cb()->uploadFile($column->getName()); |
26 | - }else{ |
|
26 | + } else{ |
|
27 | 27 | return null; |
28 | 28 | } |
29 | 29 | } |