diff --git a/Classes/Service/CompileService.php b/Classes/Service/CompileService.php index 3c028e204..18c8a08e2 100644 --- a/Classes/Service/CompileService.php +++ b/Classes/Service/CompileService.php @@ -67,6 +67,7 @@ public function getCompiledFile(string $file): ?string && is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/bootstrap-package/css']['parser']) ) { foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/bootstrap-package/css']['parser'] as $className) { + /** @var class-string $className */ $parser = GeneralUtility::makeInstance($className); if ($parser instanceof ParserInterface && isset($settings['file']['info']['extension']) diff --git a/Classes/Service/IconService.php b/Classes/Service/IconService.php index 01a84879d..3083087b1 100644 --- a/Classes/Service/IconService.php +++ b/Classes/Service/IconService.php @@ -79,6 +79,7 @@ public function getIconProviders(): array && is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/bootstrap-package/icons']['provider']) ) { foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/bootstrap-package/icons']['provider'] as $className) { + /** @var class-string $className */ $iconProviders[] = GeneralUtility::makeInstance($className); } }