@@ -113,11 +113,11 @@ |
||
113 | 113 | if ('tt_content' !== $parts[0]) { |
114 | 114 | throw new \Exception('Invalid part 0. part 0 have to be tt_content', 127383); |
115 | 115 | } |
116 | - $record = BackendUtility::getRecord($parts[0], (int) $parts[1]); |
|
116 | + $record = BackendUtility::getRecord($parts[0], (int)$parts[1]); |
|
117 | 117 | if (!isset($record['image_ratio'])) { |
118 | 118 | throw new \Exception('No image_ratio found in the current record', 324672); |
119 | 119 | } |
120 | 120 | |
121 | - return trim((string) $record['image_ratio']); |
|
121 | + return trim((string)$record['image_ratio']); |
|
122 | 122 | } |
123 | 123 | } |