diff --git a/typo3/sysext/core/Classes/Console/CommandApplication.php b/typo3/sysext/core/Classes/Console/CommandApplication.php
index 55dcb9c081658540330716232e2ccf505ba6e811..1c1f0a88dff2c3cf3359e768fd41f2bb8504bc4e 100644
--- a/typo3/sysext/core/Classes/Console/CommandApplication.php
+++ b/typo3/sysext/core/Classes/Console/CommandApplication.php
@@ -15,6 +15,7 @@
 
 namespace TYPO3\CMS\Core\Console;
 
+use Symfony\Component\Console\Application as SymfonyConsoleApplication;
 use Symfony\Component\Console\Exception\ExceptionInterface;
 use Symfony\Component\Console\Input\ArgvInput;
 use Symfony\Component\Console\Output\ConsoleOutput;
@@ -49,7 +50,7 @@ class CommandApplication implements ApplicationInterface
 
     protected LanguageServiceFactory $languageServiceFactory;
 
-    protected Application $application;
+    protected SymfonyConsoleApplication $application;
 
     public function __construct(
         Context $context,