@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | $url = $imageService->getImageUri($processedImage); |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | - if(filter_var($url, FILTER_VALIDATE_URL)) { |
|
| 74 | + if (filter_var($url, FILTER_VALIDATE_URL)) { |
|
| 75 | 75 | return $url; |
| 76 | 76 | } |
| 77 | 77 | |
@@ -88,8 +88,8 @@ discard block |
||
| 88 | 88 | protected function cleanupPosition(array $position): array |
| 89 | 89 | { |
| 90 | 90 | return [ |
| 91 | - MathUtility::forceIntegerInRange((int) $position[0], -100, 100, 0), |
|
| 92 | - MathUtility::forceIntegerInRange((int) $position[1], -100, 100, 0), |
|
| 91 | + MathUtility::forceIntegerInRange((int)$position[0], -100, 100, 0), |
|
| 92 | + MathUtility::forceIntegerInRange((int)$position[1], -100, 100, 0), |
|
| 93 | 93 | ]; |
| 94 | 94 | } |
| 95 | 95 | } |