From 4b9f4a4d38e561086aa92ee6b19a3b216089bc08 Mon Sep 17 00:00:00 2001 From: Torben Hansen <derhansen@gmail.com> Date: Sun, 12 Mar 2023 18:26:05 +0100 Subject: [PATCH] [TASK] Use native types in ext:fluid_styled_content tests This change adds a native type declaration for the property `$contentFields` in `ContentVisibleFieldsTest`. Resolves: #100149 Releases: main Signed-off-by: Torben Hansen <derhansen@gmail.com> Change-Id: I241d2051153f19b730bb0bbfeb404ab3c2873376 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78103 Tested-by: core-ci <typo3@b13.com> Tested-by: Oliver Klee <typo3-coding@oliverklee.de> Tested-by: Benni Mack <benni@typo3.org> Tested-by: Georg Ringer <georg.ringer@gmail.com> Reviewed-by: Georg Ringer <georg.ringer@gmail.com> Reviewed-by: Benni Mack <benni@typo3.org> Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de> --- .../Tests/Functional/Tca/ContentVisibleFieldsTest.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/typo3/sysext/fluid_styled_content/Tests/Functional/Tca/ContentVisibleFieldsTest.php b/typo3/sysext/fluid_styled_content/Tests/Functional/Tca/ContentVisibleFieldsTest.php index 961685cd495d..4ba9ba7e9513 100644 --- a/typo3/sysext/fluid_styled_content/Tests/Functional/Tca/ContentVisibleFieldsTest.php +++ b/typo3/sysext/fluid_styled_content/Tests/Functional/Tca/ContentVisibleFieldsTest.php @@ -26,10 +26,7 @@ class ContentVisibleFieldsTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['fluid_styled_content']; - /** - * @var array - */ - protected static $contentFields = [ + protected static array $contentFields = [ 'CType', 'colPos', 'sys_language_uid', -- GitLab