| @@ -149,14 +149,14 @@ | ||
| 149 | 149 |          $params = $GLOBALS['TYPO3_REQUEST']->getAttribute('normalizedParams'); | 
| 150 | 150 | $docRoot = \rtrim($params->getDocumentRoot(), '/') . '/'; | 
| 151 | 151 | $relativeSrc = \str_replace($docRoot, '', $absoluteImageName); | 
| 152 | - $focusPointX = MathUtility::forceIntegerInRange((int) $x, -100, 100, 0); | |
| 153 | - $focusPointY = MathUtility::forceIntegerInRange((int) $y, -100, 100, 0); | |
| 152 | + $focusPointX = MathUtility::forceIntegerInRange((int)$x, -100, 100, 0); | |
| 153 | + $focusPointY = MathUtility::forceIntegerInRange((int)$y, -100, 100, 0); | |
| 154 | 154 | |
| 155 | 155 |          if (0 === $focusPointX && 0 === $focusPointY) { | 
| 156 | 156 | $row = GeneralUtility::makeInstance(FileStandaloneRepository::class)->findOneByRelativeFilePath($relativeSrc); | 
| 157 | 157 |              if (isset($row['focus_point_x'])) { | 
| 158 | - $focusPointX = MathUtility::forceIntegerInRange((int) $row['focus_point_x'], -100, 100, 0); | |
| 159 | - $focusPointY = MathUtility::forceIntegerInRange((int) $row['focus_point_y'], -100, 100, 0); | |
| 158 | + $focusPointX = MathUtility::forceIntegerInRange((int)$row['focus_point_x'], -100, 100, 0); | |
| 159 | + $focusPointY = MathUtility::forceIntegerInRange((int)$row['focus_point_y'], -100, 100, 0); | |
| 160 | 160 | } | 
| 161 | 161 | } | 
| 162 | 162 | |
| @@ -79,7 +79,7 @@ | ||
| 79 | 79 | */ | 
| 80 | 80 | public function mainAction(ServerRequestInterface $request, ResponseInterface $response = null) | 
| 81 | 81 |      { | 
| 82 | -        if($response === null) { | |
| 82 | +        if ($response === null) { | |
| 83 | 83 |              $response = new HtmlResponse(''); | 
| 84 | 84 | } | 
| 85 | 85 | $content = $this->main(); |