@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | |
| 59 | 59 | $file = new UploadableFile($this->root_path, $croppable['image']); |
| 60 | 60 | $name = $this->makeCropName($file, $coordinates); |
| 61 | - $path = $file->getRootPath() . $name; |
|
| 61 | + $path = $file->getRootPath().$name; |
|
| 62 | 62 | |
| 63 | 63 | if (!file_exists($path)) { |
| 64 | 64 | $this->doCrop($file, $coordinates, $path); |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | $ext = $file->getExtension(); |
| 80 | 80 | $suffix = implode('_', $coordinates); |
| 81 | 81 | |
| 82 | - return preg_replace('/\.'. $ext .'$/ui', '_crop_'. $suffix .'.'. $ext, $file->getWebPath()); |
|
| 82 | + return preg_replace('/\.'.$ext.'$/ui', '_crop_'.$suffix.'.'.$ext, $file->getWebPath()); |
|
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | /** |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | { |
| 142 | 142 | if (!$image instanceof File) { |
| 143 | 143 | if ($relative) { |
| 144 | - $image = $this->root_path . $image; |
|
| 144 | + $image = $this->root_path.$image; |
|
| 145 | 145 | } |
| 146 | 146 | |
| 147 | 147 | $image = new File($image); |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | $this->columns = array(); |
| 32 | 32 | |
| 33 | 33 | foreach (explode(',', $this->getParameter('columns')) as $column) { |
| 34 | - $this->columns[trim($column)] = trim($column) .'_coordinates'; |
|
| 34 | + $this->columns[trim($column)] = trim($column).'_coordinates'; |
|
| 35 | 35 | } |
| 36 | 36 | } |
| 37 | 37 | |