@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | public function generate(string $content, array $configuration) |
28 | 28 | { |
29 | 29 | $arguments = GeneralUtility::_GET('tx_calendarize_calendar'); |
30 | - $indexUid = isset($arguments['index']) ? (int) $arguments['index'] : 0; |
|
30 | + $indexUid = isset($arguments['index']) ? (int)$arguments['index'] : 0; |
|
31 | 31 | if ($indexUid === 0) { |
32 | 32 | return $content; |
33 | 33 | } |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | $contentObjectRenderer = GeneralUtility::makeInstance(ContentObjectRenderer::class); |
42 | 42 | |
43 | 43 | |
44 | - if(isset($configuration['doNotLinkIt']) && (bool)$configuration['doNotLinkIt']) { |
|
44 | + if (isset($configuration['doNotLinkIt']) && (bool)$configuration['doNotLinkIt']) { |
|
45 | 45 | $content = $event['title']; |
46 | 46 | } else { |
47 | 47 | $linkConfiguration = [ |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | */ |
60 | 60 | protected function getEventByIndex($row) |
61 | 61 | { |
62 | - return $this->fetchRecordByUid($row['foreign_table'], (int) $row['foreign_uid']); |
|
62 | + return $this->fetchRecordByUid($row['foreign_table'], (int)$row['foreign_uid']); |
|
63 | 63 | } |
64 | 64 | |
65 | 65 | /** |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | { |
80 | 80 | $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable($table); |
81 | 81 | $where = [ |
82 | - $queryBuilder->expr()->eq('uid', (int) $uid) |
|
82 | + $queryBuilder->expr()->eq('uid', (int)$uid) |
|
83 | 83 | ]; |
84 | 84 | $rows = $queryBuilder->select('*') |
85 | 85 | ->from($table) |