Completed
Push — master ( 5caf16...14fdc0 )
by Anton
11s
created
application/modules/media/controllers/upload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
  * @throws BadRequestException
27 27
  * @throws ConfigException
28 28
  */
29
-return function () {
29
+return function() {
30 30
     /**
31 31
      * @var Controller $this
32 32
      * @var UploadedFile $file
Please login to merge, or discard this patch.
application/modules/media/controllers/manager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 /**
18 18
  * @return array
19 19
  */
20
-return function () {
20
+return function() {
21 21
     /**
22 22
      * @var Controller $this
23 23
      */
Please login to merge, or discard this patch.
application/models/Media/Manager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
  * @link https://github.com/bluzphp/skeleton
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Application\Media;
10 10
 
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
         // If file already exists, increment name
195 195
         $originFileName = $fileName;
196 196
         $counter = 0;
197
-        while (file_exists($path .'/'.$fileName.'.'.$fileExt)) {
197
+        while (file_exists($path.'/'.$fileName.'.'.$fileExt)) {
198 198
             $counter++;
199 199
             $fileName = $originFileName.'-'.$counter;
200 200
         }
Please login to merge, or discard this patch.