Skip to content

Commit

Permalink
Apply fixes from StyleCI (#351)
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
tabuna authored Dec 2, 2017
1 parent fd01aab commit fb50cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Platform/Http/Controllers/Systems/MediaController.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public function renameFile(Request $request)
public function upload(Request $request)
{
try {
foreach ($request->files as $file){
foreach ($request->files as $file) {
$path = $file->move(Storage::disk($this->filesystem)->getDriver()->getAdapter()->getPathPrefix(), $file->getClientOriginalName() . '.'. $file->getClientOriginalExtension());
}
$success = true;
Expand Down

0 comments on commit fb50cc1

Please sign in to comment.