@@ -65,7 +65,7 @@ |
||
| 65 | 65 | |
| 66 | 66 | $actions = $this->flexFormService->get('switchableControllerActions', 'main'); |
| 67 | 67 | $parts = GeneralUtility::trimExplode(';', $actions, true); |
| 68 | - $parts = array_map(function ($element) { |
|
| 68 | + $parts = array_map(function($element) { |
|
| 69 | 69 | $split = explode('->', $element); |
| 70 | 70 | |
| 71 | 71 | return ucfirst($split[1]); |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | |
| 34 | 34 | $date = $arguments['date']; |
| 35 | 35 | if ($date instanceof \DateTimeInterface) { |
| 36 | - $renderChildrenClosure = function () use ($date) { |
|
| 36 | + $renderChildrenClosure = function() use ($date) { |
|
| 37 | 37 | // Convert date to timestamp, so that it can be reparsed. |
| 38 | 38 | return $date->getTimestamp(); |
| 39 | 39 | }; |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | use HDNET\Calendarize\Domain\Model\ConfigurationInterface; |
| 11 | 11 | use HDNET\Calendarize\Utility\HelperUtility; |
| 12 | 12 | use TYPO3\CMS\Install\Updates\DatabaseUpdatedPrerequisite; |
| 13 | -use TYPO3\CMS\Install\Updates\UpgradeWizardInterface; |
|
| 14 | 13 | |
| 15 | 14 | /** |
| 16 | 15 | * NewIncludeExcludeStructureUpdate. |
@@ -25,8 +25,6 @@ |
||
| 25 | 25 | use TYPO3\CMS\Extbase\Persistence\QueryInterface; |
| 26 | 26 | use TYPO3\CMS\Extbase\Property\TypeConverter\DateTimeConverter; |
| 27 | 27 | use TYPO3\CMS\Extbase\SignalSlot\Dispatcher; |
| 28 | -use TYPO3\CMS\Frontend\Controller\ErrorController; |
|
| 29 | -use TYPO3\CMS\Frontend\Page\PageAccessFailureReasons; |
|
| 30 | 28 | |
| 31 | 29 | /** |
| 32 | 30 | * Calendar. |
@@ -114,7 +114,7 @@ |
||
| 114 | 114 | * Check if access to page is allowed for current user. |
| 115 | 115 | * |
| 116 | 116 | * @param int $pageId |
| 117 | - * @param array $mountPoints |
|
| 117 | + * @param integer[] $mountPoints |
|
| 118 | 118 | * @return bool |
| 119 | 119 | */ |
| 120 | 120 | protected function isPageAllowed(int $pageId, array $mountPoints):bool |