@@ -244,10 +244,10 @@ |
||
| 244 | 244 | |
| 245 | 245 | /** |
| 246 | 246 | * |
| 247 | - * @param $absoluteImageName |
|
| 248 | - * @param $ratio |
|
| 249 | - * @param $focusPointX |
|
| 250 | - * @param $focusPointY |
|
| 247 | + * @param string $absoluteImageName |
|
| 248 | + * @param string $ratio |
|
| 249 | + * @param integer $focusPointX |
|
| 250 | + * @param integer $focusPointY |
|
| 251 | 251 | * @return array |
| 252 | 252 | */ |
| 253 | 253 | protected function generateTempImageName($absoluteImageName, $ratio, $focusPointX, $focusPointY) |
@@ -112,7 +112,7 @@ |
||
| 112 | 112 | |
| 113 | 113 | $focusTag = '<div class="' . $additionalClassDiv . '" data-image-imageSrc="' . $this->tag->getAttribute('src') . '" data-focus-x="' . ($focusPointX / 100) . '" data-focus-y="' . ($focusPointY / 100) . '" data-image-w="' . $this->tag->getAttribute('width') . '" data-image-h="' . $this->tag->getAttribute('height') . '">'; |
| 114 | 114 | return $focusTag . $this->tag->render() . '</div>'; |
| 115 | - } else { |
|
| 115 | + } else { |
|
| 116 | 116 | return 'Missing internal image!'; |
| 117 | 117 | } |
| 118 | 118 | } |