diff --git a/typo3/sysext/backend/Classes/Controller/RecordListController.php b/typo3/sysext/backend/Classes/Controller/RecordListController.php index 3db2b3d141cdd3eaa7db73eea1630877159a3d26..a444d754fa64650457920502e8560125e54cb6c3 100644 --- a/typo3/sysext/backend/Classes/Controller/RecordListController.php +++ b/typo3/sysext/backend/Classes/Controller/RecordListController.php @@ -143,8 +143,8 @@ class RecordListController $dbList->disableSingleTableView = $this->modTSconfig['disableSingleTableView'] ?? false; $dbList->listOnlyInSingleTableMode = $this->modTSconfig['listOnlyInSingleTableView'] ?? false; $dbList->hideTables = $this->modTSconfig['hideTables'] ?? ''; - $dbList->hideTranslations = $this->modTSconfig['hideTranslations'] ?? false; - $dbList->tableTSconfigOverTCA = $this->modTSconfig['table.'] ?? false; + $dbList->hideTranslations = (string)($this->modTSconfig['hideTranslations'] ?? ''); + $dbList->tableTSconfigOverTCA = $this->modTSconfig['table.'] ?? []; $dbList->allowedNewTables = GeneralUtility::trimExplode(',', $this->modTSconfig['allowedNewTables'] ?? '', true); $dbList->deniedNewTables = GeneralUtility::trimExplode(',', $this->modTSconfig['deniedNewTables'] ?? '', true); $dbList->pageRow = $this->pageInfo; diff --git a/typo3/sysext/backend/Classes/RecordList/DatabaseRecordList.php b/typo3/sysext/backend/Classes/RecordList/DatabaseRecordList.php index 314b97e9bb0e414ad0f9ec92af69518aeb928e71..540a3e47605a17354f77e0805a745eceb014dbab 100644 --- a/typo3/sysext/backend/Classes/RecordList/DatabaseRecordList.php +++ b/typo3/sysext/backend/Classes/RecordList/DatabaseRecordList.php @@ -130,7 +130,7 @@ class DatabaseRecordList * * @var string */ - public $hideTranslations = ''; + public string $hideTranslations = ''; /** * Cache for record path @@ -249,9 +249,9 @@ class DatabaseRecordList /** * TSconfig which overwrites TCA-Settings * - * @var mixed[][] + * @var string[][] */ - public $tableTSconfigOverTCA = []; + public array $tableTSconfigOverTCA = []; /** * Fields to display for the current table