@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | : $topDir; |
181 | 181 | $newFilePath = $nowDir.'/'.$filename; |
182 | 182 | if (file_exists($newFilePath)) { |
183 | - throw new IOException(trans('admin.content.file.dir_exists', [ '%file_name%' => $filename, ])); |
|
183 | + throw new IOException(trans('admin.content.file.dir_exists', ['%file_name%' => $filename, ])); |
|
184 | 184 | } |
185 | 185 | $fs->mkdir($newFilePath); |
186 | 186 | |
@@ -288,7 +288,7 @@ discard block |
||
288 | 288 | $filename = $this->convertStrToServer($file->getClientOriginalName()); |
289 | 289 | try { |
290 | 290 | $file->move($nowDir, $filename); |
291 | - $successCount ++; |
|
291 | + $successCount++; |
|
292 | 292 | } catch (FileException $e) { |
293 | 293 | $this->errors[] = ['message' => trans('admin.content.file.upload_error', [ |
294 | 294 | '%file_name%' => $filename, |