From 6df61f76dd3ca7ccd8522486b65984c85ed4b7bf Mon Sep 17 00:00:00 2001
From: Georg Ringer <georg.ringer@gmail.com>
Date: Fri, 17 Mar 2023 08:37:11 +0100
Subject: [PATCH] [TASK] Fix casing of DropDownDivider class name

Use `DropDownDivider::class` instead of `DropdownDivider`.

Resolves: #100192
Releases: main
Change-Id: I5521fd87b3df8aa25f66208d78715e0b73bb8c09
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78143
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: Josef Glatz <typo3@josefglatz.at>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Josef Glatz <typo3@josefglatz.at>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Stefan Froemken <froemken@gmail.com>
---
 typo3/sysext/filelist/Classes/Controller/FileListController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typo3/sysext/filelist/Classes/Controller/FileListController.php b/typo3/sysext/filelist/Classes/Controller/FileListController.php
index be9361c7a09f..da616d618e20 100644
--- a/typo3/sysext/filelist/Classes/Controller/FileListController.php
+++ b/typo3/sysext/filelist/Classes/Controller/FileListController.php
@@ -448,7 +448,7 @@ class FileListController implements LoggerAwareInterface
             ->setHref($this->filelist->createModuleUri(['viewMode' => ViewMode::LIST->value]))
             ->setLabel($lang->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.view.list'))
             ->setIcon($this->iconFactory->getIcon('actions-viewmode-list'));
-        $viewModeItems[] = GeneralUtility::makeInstance(DropdownDivider::class);
+        $viewModeItems[] = GeneralUtility::makeInstance(DropDownDivider::class);
         if ($GLOBALS['TYPO3_CONF_VARS']['GFX']['thumbnails'] && ($this->getBackendUser()->getTSConfig()['options.']['file_list.']['enableDisplayThumbnails'] ?? '') === 'selectable') {
             $viewModeItems[] = GeneralUtility::makeInstance(DropDownToggle::class)
                 ->setActive((bool)$this->moduleData->get('displayThumbs'))
-- 
GitLab