@@ -4,7 +4,7 @@ discard block |
||
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 |
||
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 | } |