@@ -120,8 +120,8 @@ discard block |
||
| 120 | 120 | * Performs the image manipulation using current style information |
| 121 | 121 | * and user defined crop and focus rectangles. |
| 122 | 122 | * |
| 123 | - * @param $source |
|
| 124 | - * @param $destination |
|
| 123 | + * @param string $source |
|
| 124 | + * @param string $destination |
|
| 125 | 125 | * @param array $style |
| 126 | 126 | * @param null $cropFocusCoords |
| 127 | 127 | * |
@@ -177,6 +177,10 @@ discard block |
||
| 177 | 177 | $this->image->fit( |
| 178 | 178 | $this->styleData['width'], |
| 179 | 179 | $this->styleData['height'], |
| 180 | + |
|
| 181 | + /** |
|
| 182 | + * @param string $constraint |
|
| 183 | + */ |
|
| 180 | 184 | function ($constraint) { |
| 181 | 185 | $constraint->upsize(); |
| 182 | 186 | } |