@@ -36,7 +36,7 @@ |
||
36 | 36 | array $fields, |
37 | 37 | $sectionValue, |
38 | 38 | $returnValue, |
39 | - ContentObjectRenderer &$parentObject |
|
39 | + ContentObjectRenderer&$parentObject |
|
40 | 40 | ) { |
41 | 41 | $parts = explode(':', $getDataString); |
42 | 42 | if (isset($parts[0]) && isset($parts[1]) && $parts[0] === 'fp') { |
@@ -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 | } |
@@ -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 | } |