@@ -37,7 +37,7 @@ |
||
37 | 37 | public function __construct(ImageResizerService $imageResizerService, array $options = []) |
38 | 38 | { |
39 | 39 | $this->setOptions(array_merge($this->options, $options)) |
40 | - ->setImageResizerService($imageResizerService); |
|
40 | + ->setImageResizerService($imageResizerService); |
|
41 | 41 | } |
42 | 42 | |
43 | 43 | /** |
@@ -121,12 +121,12 @@ |
||
121 | 121 | |
122 | 122 | // Prep this model |
123 | 123 | $this->setPath($path) |
124 | - ->setSplFileInfo(new SplFileInfo($path)) |
|
125 | - ->setOriginalWidth($width) |
|
126 | - ->setOriginalHeight($height) |
|
127 | - ->setTargetWidth($targetWidth) |
|
128 | - ->setTargetHeight($targetHeight) |
|
129 | - ->calculateCropPositions($cropMode, $x, $y); |
|
124 | + ->setSplFileInfo(new SplFileInfo($path)) |
|
125 | + ->setOriginalWidth($width) |
|
126 | + ->setOriginalHeight($height) |
|
127 | + ->setTargetWidth($targetWidth) |
|
128 | + ->setTargetHeight($targetHeight) |
|
129 | + ->calculateCropPositions($cropMode, $x, $y); |
|
130 | 130 | |
131 | 131 | // Create a new unique name based on the image vectors |
132 | 132 | $targetPath = str_replace( |