@@ -40,11 +40,11 @@ |
||
40 | 40 | |
41 | 41 | $ext = $file->guessExtension(); |
42 | 42 | $basename = pathinfo($file->getClientOriginalName(), PATHINFO_FILENAME); |
43 | - $filename = $basename.'.'.$ext; |
|
44 | - $i=0; |
|
43 | + $filename = $basename . '.' . $ext; |
|
44 | + $i = 0; |
|
45 | 45 | while ($fs->exists($this->getRealPath($filename))) { |
46 | 46 | $i++; |
47 | - $filename = $basename.".$i.$ext"; |
|
47 | + $filename = $basename . ".$i.$ext"; |
|
48 | 48 | } |
49 | 49 | return $filename; |
50 | 50 | } |
@@ -49,7 +49,7 @@ |
||
49 | 49 | } else { |
50 | 50 | [$this->width, $this->height] = getimagesize($filePath); |
51 | 51 | } |
52 | - $this->imagineKey= $imagineKey; |
|
52 | + $this->imagineKey = $imagineKey; |
|
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |