@@ -172,7 +172,7 @@ |
||
172 | 172 | { |
173 | 173 | // NOTE that new \DateTime('@timestamp') does NOT work - @see comment in normalizeDateTimeSingle() |
174 | 174 | // So we create a date string with timezone information first, and a \DateTime in the current server timezone then. |
175 | - return new \DateTime(date(\DateTime::ATOM, (int) $GLOBALS['SIM_ACCESS_TIME'])); |
|
175 | + return new \DateTime(date(\DateTime::ATOM, (int)$GLOBALS['SIM_ACCESS_TIME'])); |
|
176 | 176 | } |
177 | 177 | |
178 | 178 | /** |
@@ -32,6 +32,6 @@ |
||
32 | 32 | 'index' => $index->getUid() |
33 | 33 | ], |
34 | 34 | ]; |
35 | - return parent::renderLink($this->getPageUid($pageUid, 'detailPid'), $additionalParams, (bool) $absolute); |
|
35 | + return parent::renderLink($this->getPageUid($pageUid, 'detailPid'), $additionalParams, (bool)$absolute); |
|
36 | 36 | } |
37 | 37 | } |
@@ -25,7 +25,7 @@ |
||
25 | 25 | */ |
26 | 26 | public function render(Index $index, $pageUid = null, $absolute = false) |
27 | 27 | { |
28 | - parent::render($index, $pageUid, (bool) $absolute); |
|
28 | + parent::render($index, $pageUid, (bool)$absolute); |
|
29 | 29 | return $this->lastHref; |
30 | 30 | } |
31 | 31 | } |
@@ -45,6 +45,6 @@ |
||
45 | 45 | $useIndexTime = false |
46 | 46 | ) { |
47 | 47 | $indexRepository = $this->objectManager->get(IndexRepository::class); |
48 | - return $indexRepository->findByTraversing($index, $future, $past, (int) $limit, $sort, $useIndexTime); |
|
48 | + return $indexRepository->findByTraversing($index, $future, $past, (int)$limit, $sort, $useIndexTime); |
|
49 | 49 | } |
50 | 50 | } |
@@ -36,7 +36,7 @@ |
||
36 | 36 | |
37 | 37 | $previewLimit = 10; |
38 | 38 | if (isset($configuration['fieldConf']['config']['items'])) { |
39 | - $previewLimit = (int) $configuration['fieldConf']['config']['items']; |
|
39 | + $previewLimit = (int)$configuration['fieldConf']['config']['items']; |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | $indexService = GeneralUtility::makeInstance(IndexerService::class); |