@@ -253,7 +253,7 @@ |
||
| 253 | 253 | */ |
| 254 | 254 | protected function getFrequencyLimitPerItem(): int |
| 255 | 255 | { |
| 256 | - $maxLimit = (int) ConfigurationUtility::get('frequencyLimitPerItem'); |
|
| 256 | + $maxLimit = (int)ConfigurationUtility::get('frequencyLimitPerItem'); |
|
| 257 | 257 | if ($maxLimit <= 0) { |
| 258 | 258 | $maxLimit = 300; |
| 259 | 259 | } |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | */ |
| 53 | 53 | protected function getCwYear(\DateTime $date) |
| 54 | 54 | { |
| 55 | - $year = (int) $date->format('Y'); |
|
| 55 | + $year = (int)$date->format('Y'); |
|
| 56 | 56 | if ('01' === $date->format('m') && ('52' === $date->format('W') || '53' === $date->format('W'))) { |
| 57 | 57 | --$year; |
| 58 | 58 | } else { |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | */ |
| 31 | 31 | public static function renderStatic(array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) |
| 32 | 32 | { |
| 33 | - $content = \trim((string) $renderChildrenClosure()); |
|
| 33 | + $content = \trim((string)$renderChildrenClosure()); |
|
| 34 | 34 | if (!empty($content)) { |
| 35 | 35 | $GLOBALS['TSFE']->altPageTitle = $content; |
| 36 | 36 | $GLOBALS['TSFE']->indexedDocTitle = $content; |