@@ -20,7 +20,7 @@ |
||
20 | 20 | * |
21 | 21 | * @return array |
22 | 22 | */ |
23 | -return function () { |
|
23 | +return function() { |
|
24 | 24 | /** |
25 | 25 | * @var Controller $this |
26 | 26 | */ |
@@ -29,7 +29,7 @@ |
||
29 | 29 | * @throws \Bluz\Application\Exception\ForbiddenException |
30 | 30 | * @throws \Bluz\Application\Exception\NotImplementedException |
31 | 31 | */ |
32 | -return function () { |
|
32 | +return function() { |
|
33 | 33 | /** |
34 | 34 | * @var Controller $this |
35 | 35 | */ |
@@ -19,7 +19,7 @@ |
||
19 | 19 | * @return array |
20 | 20 | * @throws Exception |
21 | 21 | */ |
22 | -return function () { |
|
22 | +return function() { |
|
23 | 23 | /** |
24 | 24 | * @var Controller $this |
25 | 25 | */ |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * @return string |
19 | 19 | * @throws Exception |
20 | 20 | */ |
21 | -return function ($file) { |
|
21 | +return function($file) { |
|
22 | 22 | /** |
23 | 23 | * @var Controller $this |
24 | 24 | */ |
@@ -26,7 +26,7 @@ |
||
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 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * @return array |
19 | 19 | */ |
20 | -return function () { |
|
20 | +return function() { |
|
21 | 21 | /** |
22 | 22 | * @var Controller $this |
23 | 23 | */ |
@@ -194,7 +194,7 @@ |
||
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 | } |