@@ -68,7 +68,7 @@ discard block  | 
                                                    ||
| 68 | 68 | * Find List.  | 
                                                        
| 69 | 69 | *  | 
                                                        
| 70 | 70 | * @param int $limit  | 
                                                        
| 71 | - * @param int|string $listStartTime  | 
                                                        |
| 71 | + * @param integer $listStartTime  | 
                                                        |
| 72 | 72 | * @param int $startOffsetHours  | 
                                                        
| 73 | 73 | * @param int $overrideStartDate  | 
                                                        
| 74 | 74 | * @param int $overrideEndDate  | 
                                                        
@@ -203,7 +203,7 @@ discard block  | 
                                                    ||
| 203 | 203 | * Find by traversing information.  | 
                                                        
| 204 | 204 | *  | 
                                                        
| 205 | 205 | * @param DomainObjectInterface $event  | 
                                                        
| 206 | - * @param bool|true $future  | 
                                                        |
| 206 | + * @param boolean $future  | 
                                                        |
| 207 | 207 | * @param bool|false $past  | 
                                                        
| 208 | 208 | * @param int $limit  | 
                                                        
| 209 | 209 | * @param string $sort  | 
                                                        
@@ -74,7 +74,7 @@ discard block  | 
                                                    ||
| 74 | 74 | $config = $objectManager->get(ConfigurationManagerInterface::class);  | 
                                                        
| 75 | 75 | $pluginConfig = $config->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS);  | 
                                                        
| 76 | 76 | |
| 77 | - $mode = isset($pluginConfig['indexLanguageMode']) ? (string) $pluginConfig['indexLanguageMode'] : 'strict';  | 
                                                        |
| 77 | + $mode = isset($pluginConfig['indexLanguageMode']) ? (string)$pluginConfig['indexLanguageMode'] : 'strict';  | 
                                                        |
| 78 | 78 | return $mode;  | 
                                                        
| 79 | 79 | }  | 
                                                        
| 80 | 80 | |
@@ -355,7 +355,7 @@ discard block  | 
                                                    ||
| 355 | 355 | */  | 
                                                        
| 356 | 356 | public function findWeek($year, $week, $weekStart = 1)  | 
                                                        
| 357 | 357 |      { | 
                                                        
| 358 | - $weekStart = (int) $weekStart;  | 
                                                        |
| 358 | + $weekStart = (int)$weekStart;  | 
                                                        |
| 359 | 359 | $daysShift = DateTimeUtility::SECONDS_DAY * ($weekStart - 1);  | 
                                                        
| 360 | 360 | $firstDay = DateTimeUtility::convertWeekYear2DayMonthYear($week, $year);  | 
                                                        
| 361 | 361 | $timezone = DateTimeUtility::getTimeZone();  | 
                                                        
@@ -39,7 +39,7 @@  | 
                                                    ||
| 39 | 39 | * Add one row to the table.  | 
                                                        
| 40 | 40 | *  | 
                                                        
| 41 | 41 | * @param string $label  | 
                                                        
| 42 | - * @param mixed $value  | 
                                                        |
| 42 | + * @param string $value  | 
                                                        |
| 43 | 43 | */  | 
                                                        
| 44 | 44 | public function addRow($label, $value)  | 
                                                        
| 45 | 45 |      { | 
                                                        
@@ -57,7 +57,7 @@  | 
                                                    ||
| 57 | 57 | */  | 
                                                        
| 58 | 58 | public function coolUri($xml, $value)  | 
                                                        
| 59 | 59 |      { | 
                                                        
| 60 | - $alias = $this->getIndexBase((int) $value);  | 
                                                        |
| 60 | + $alias = $this->getIndexBase((int)$value);  | 
                                                        |
| 61 | 61 | $alias = Functions::URLize($alias);  | 
                                                        
| 62 | 62 | $alias = Functions::sanitize_title_with_dashes($alias);  | 
                                                        
| 63 | 63 | |
@@ -239,7 +239,7 @@  | 
                                                    ||
| 239 | 239 | */  | 
                                                        
| 240 | 240 | protected function getFrequencyLimitPerItem()  | 
                                                        
| 241 | 241 |      { | 
                                                        
| 242 | -        $maxLimit = (int) ConfigurationUtility::get('frequencyLimitPerItem'); | 
                                                        |
| 242 | +        $maxLimit = (int)ConfigurationUtility::get('frequencyLimitPerItem'); | 
                                                        |
| 243 | 243 |          if ($maxLimit <= 0) { | 
                                                        
| 244 | 244 | $maxLimit = 300;  | 
                                                        
| 245 | 245 | }  | 
                                                        
@@ -30,7 +30,7 @@  | 
                                                    ||
| 30 | 30 | |
| 31 | 31 | $ids = [];  | 
                                                        
| 32 | 32 |          foreach ($rows as $row) { | 
                                                        
| 33 | - $ids[] = (int) $row['uid'];  | 
                                                        |
| 33 | + $ids[] = (int)$row['uid'];  | 
                                                        |
| 34 | 34 | }  | 
                                                        
| 35 | 35 | |
| 36 | 36 | return $ids;  | 
                                                        
@@ -185,7 +185,7 @@ discard block  | 
                                                    ||
| 185 | 185 | */  | 
                                                        
| 186 | 186 | public function isAllDay()  | 
                                                        
| 187 | 187 |      { | 
                                                        
| 188 | - return (bool) $this->allDay;  | 
                                                        |
| 188 | + return (bool)$this->allDay;  | 
                                                        |
| 189 | 189 | }  | 
                                                        
| 190 | 190 | |
| 191 | 191 | /**  | 
                                                        
@@ -195,7 +195,7 @@ discard block  | 
                                                    ||
| 195 | 195 | */  | 
                                                        
| 196 | 196 | public function setAllDay($allDay)  | 
                                                        
| 197 | 197 |      { | 
                                                        
| 198 | - $this->allDay = (bool) $allDay;  | 
                                                        |
| 198 | + $this->allDay = (bool)$allDay;  | 
                                                        |
| 199 | 199 | }  | 
                                                        
| 200 | 200 | |
| 201 | 201 | /**  | 
                                                        
@@ -60,7 +60,7 @@ discard block  | 
                                                    ||
| 60 | 60 |      { | 
                                                        
| 61 | 61 |          GeneralUtility::makeInstance(PageRenderer::class)->loadRequireJsModule('TYPO3/CMS/Recordlist/PageLinkHandler'); | 
                                                        
| 62 | 62 | |
| 63 | - $this->expandPage = isset($request->getQueryParams()['expandPage']) ? (int) $request->getQueryParams()['expandPage'] : 0;  | 
                                                        |
| 63 | + $this->expandPage = isset($request->getQueryParams()['expandPage']) ? (int)$request->getQueryParams()['expandPage'] : 0;  | 
                                                        |
| 64 | 64 | $this->setTemporaryDbMounts();  | 
                                                        
| 65 | 65 | |
| 66 | 66 | $backendUser = $this->getBackendUser();  | 
                                                        
@@ -68,9 +68,9 @@ discard block  | 
                                                    ||
| 68 | 68 | /** @var ElementBrowserPageTreeView $pageTree */  | 
                                                        
| 69 | 69 | $pageTree = GeneralUtility::makeInstance(ElementBrowserPageTreeView::class);  | 
                                                        
| 70 | 70 | $pageTree->setLinkParameterProvider($this);  | 
                                                        
| 71 | -        $pageTree->ext_showNavTitle = (bool) $backendUser->getTSConfigVal('options.pageTree.showNavTitle'); | 
                                                        |
| 72 | -        $pageTree->ext_showPageId = (bool) $backendUser->getTSConfigVal('options.pageTree.showPageIdWithTitle'); | 
                                                        |
| 73 | -        $pageTree->ext_showPathAboveMounts = (bool) $backendUser->getTSConfigVal('options.pageTree.showPathAboveMounts'); | 
                                                        |
| 71 | +        $pageTree->ext_showNavTitle = (bool)$backendUser->getTSConfigVal('options.pageTree.showNavTitle'); | 
                                                        |
| 72 | +        $pageTree->ext_showPageId = (bool)$backendUser->getTSConfigVal('options.pageTree.showPageIdWithTitle'); | 
                                                        |
| 73 | +        $pageTree->ext_showPathAboveMounts = (bool)$backendUser->getTSConfigVal('options.pageTree.showPathAboveMounts'); | 
                                                        |
| 74 | 74 |          $pageTree->addField('nav_title'); | 
                                                        
| 75 | 75 | |
| 76 | 76 |          $this->view->assign('temporaryTreeMountCancelLink', $this->getTemporaryTreeMountCancelNotice()); | 
                                                        
@@ -36,7 +36,7 @@  | 
                                                    ||
| 36 | 36 | }  | 
                                                        
| 37 | 37 | |
| 38 | 38 | $days = [];  | 
                                                        
| 39 | -        $move = (int) ($date->format('N') - ((int) $this->arguments['weekStartsAt'])); | 
                                                        |
| 39 | +        $move = (int)($date->format('N') - ((int)$this->arguments['weekStartsAt'])); | 
                                                        |
| 40 | 40 |          $date->modify('-' . $move . ' days'); | 
                                                        
| 41 | 41 | $inWeek = false;  | 
                                                        
| 42 | 42 |          for ($i = 0; $i < 7; ++$i) { | 
                                                        
@@ -21,7 +21,7 @@  | 
                                                    ||
| 21 | 21 |      { | 
                                                        
| 22 | 22 |          $daysInMonth = $date->format('t'); | 
                                                        
| 23 | 23 | $days = [];  | 
                                                        
| 24 | -        $move = (int) ($date->format('j') - 1); | 
                                                        |
| 24 | +        $move = (int)($date->format('j') - 1); | 
                                                        |
| 25 | 25 |          $date->modify('-' . $move . ' days'); | 
                                                        
| 26 | 26 | |
| 27 | 27 |          for ($i = 0; $i < $daysInMonth; ++$i) { |