[TASK] Streamline phpDoc order of @param and @var 24/58124/2
authorWouter Wolters <typo3@wouterwolters.nl>
Sun, 2 Sep 2018 10:52:59 +0000 (12:52 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 2 Sep 2018 11:36:39 +0000 (13:36 +0200)
Resolves: #86084
Releases: master
Change-Id: I6ebbe0756d799a3c04386c854f6e5e385eeac54f
Reviewed-on: https://review.typo3.org/58124
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
166 files changed:
typo3/sysext/backend/Classes/Configuration/BackendUserConfiguration.php
typo3/sysext/backend/Classes/Configuration/TsConfigParser.php
typo3/sysext/backend/Classes/ContextMenu/ContextMenu.php
typo3/sysext/backend/Classes/Controller/AbstractFormEngineAjaxController.php
typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php
typo3/sysext/backend/Classes/Controller/EditDocumentController.php
typo3/sysext/backend/Classes/Controller/FormInlineAjaxController.php
typo3/sysext/backend/Classes/Controller/LoginController.php
typo3/sysext/backend/Classes/Controller/NewRecordController.php
typo3/sysext/backend/Classes/Controller/OnlineMediaController.php
typo3/sysext/backend/Classes/Controller/Page/NewMultiplePagesController.php
typo3/sysext/backend/Classes/Controller/Page/SortSubPagesController.php
typo3/sysext/backend/Classes/Domain/Repository/Module/BackendModuleRepository.php
typo3/sysext/backend/Classes/Form/FormDataProvider/AbstractItemProvider.php
typo3/sysext/backend/Classes/Form/FormDataProvider/DatabaseSystemLanguageRows.php
typo3/sysext/backend/Classes/Module/BaseScriptClass.php
typo3/sysext/backend/Classes/Template/DocumentTemplate.php
typo3/sysext/backend/Classes/Tree/View/FolderTreeView.php
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/backend/Classes/View/BackendLayoutView.php
typo3/sysext/backend/Classes/View/PageLayoutView.php
typo3/sysext/backend/Classes/View/PageTreeView.php
typo3/sysext/belog/Classes/Controller/BackendLogController.php
typo3/sysext/belog/Classes/Domain/Repository/LogEntryRepository.php
typo3/sysext/belog/Classes/Domain/Repository/WorkspaceRepository.php
typo3/sysext/belog/Classes/Module/BackendLogModuleBootstrap.php
typo3/sysext/beuser/Classes/Controller/PermissionAjaxController.php
typo3/sysext/beuser/Classes/Controller/PermissionController.php
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php
typo3/sysext/core/Classes/Category/Collection/CategoryCollection.php
typo3/sysext/core/Classes/Collection/StaticRecordCollection.php
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Classes/DataHandling/ItemProcessingService.php
typo3/sysext/core/Classes/Database/ReferenceIndex.php
typo3/sysext/core/Classes/Database/RelationHandler.php
typo3/sysext/core/Classes/Error/ErrorHandler.php
typo3/sysext/core/Classes/Hooks/BackendUserGroupIntegrityCheck.php
typo3/sysext/core/Classes/Html/RteHtmlParser.php
typo3/sysext/core/Classes/Localization/LanguageService.php
typo3/sysext/core/Classes/Localization/Locales.php
typo3/sysext/core/Classes/Localization/LocalizationFactory.php
typo3/sysext/core/Classes/Log/LogManager.php
typo3/sysext/core/Classes/Log/Logger.php
typo3/sysext/core/Classes/Page/PageRenderer.php
typo3/sysext/core/Classes/Resource/Collection/AbstractFileCollection.php
typo3/sysext/core/Classes/Resource/Collection/FolderBasedFileCollection.php
typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php
typo3/sysext/core/Classes/Resource/FileReference.php
typo3/sysext/core/Classes/Resource/FileRepository.php
typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php
typo3/sysext/core/Classes/Resource/Processing/FileDeletionAspect.php
typo3/sysext/core/Classes/Resource/ResourceFactory.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/core/Classes/Resource/Service/FileProcessingService.php
typo3/sysext/core/Classes/Resource/Service/UserFileMountService.php
typo3/sysext/core/Classes/Resource/Service/UserStorageCapabilityService.php
typo3/sysext/core/Classes/Resource/StorageRepository.php
typo3/sysext/core/Classes/Resource/Utility/ListUtility.php
typo3/sysext/core/Classes/Tree/TableConfiguration/DatabaseTreeDataProvider.php
typo3/sysext/core/Classes/Tree/TableConfiguration/TreeDataProviderFactory.php
typo3/sysext/core/Classes/TypoScript/TemplateService.php
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php
typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php
typo3/sysext/core/Classes/Utility/MailUtility.php
typo3/sysext/core/Classes/Utility/RootlineUtility.php
typo3/sysext/core/Configuration/TCA/Overrides/be_users.php
typo3/sysext/extbase/Classes/Configuration/BackendConfigurationManager.php
typo3/sysext/extbase/Classes/Core/Bootstrap.php
typo3/sysext/extbase/Classes/Domain/Repository/BackendUserGroupRepository.php
typo3/sysext/extbase/Classes/Domain/Repository/BackendUserRepository.php
typo3/sysext/extbase/Classes/Domain/Repository/CategoryRepository.php
typo3/sysext/extbase/Classes/Domain/Repository/FileMountRepository.php
typo3/sysext/extbase/Classes/Error/Result.php
typo3/sysext/extbase/Classes/Mvc/Cli/RequestHandler.php
typo3/sysext/extbase/Classes/Mvc/Controller/AbstractController.php
typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php
typo3/sysext/extbase/Classes/Mvc/Controller/Arguments.php
typo3/sysext/extbase/Classes/Mvc/Web/BackendRequestHandler.php
typo3/sysext/extbase/Classes/Mvc/Web/FrontendRequestHandler.php
typo3/sysext/extbase/Classes/Mvc/Web/RequestBuilder.php
typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapFactory.php
typo3/sysext/extbase/Classes/Persistence/Generic/Typo3QuerySettings.php
typo3/sysext/extbase/Classes/Property/PropertyMappingConfigurationBuilder.php
typo3/sysext/extbase/Classes/Property/TypeConverter/AbstractFileCollectionConverter.php
typo3/sysext/extbase/Classes/Property/TypeConverter/AbstractFileFolderConverter.php
typo3/sysext/extbase/Classes/Reflection/ClassSchema.php
typo3/sysext/extbase/ext_localconf.php
typo3/sysext/extensionmanager/Classes/Command/ExtensionCommandController.php
typo3/sysext/extensionmanager/Classes/Controller/ListController.php
typo3/sysext/extensionmanager/Classes/Controller/UpdateFromTerController.php
typo3/sysext/extensionmanager/Classes/Controller/UpdateScriptController.php
typo3/sysext/extensionmanager/Classes/Domain/Model/Extension.php
typo3/sysext/extensionmanager/Classes/Domain/Repository/ExtensionRepository.php
typo3/sysext/extensionmanager/Classes/Domain/Repository/RepositoryRepository.php
typo3/sysext/extensionmanager/Classes/Report/ExtensionStatus.php
typo3/sysext/extensionmanager/Classes/Task/UpdateExtensionListTask.php
typo3/sysext/extensionmanager/Classes/Utility/ExtensionModelUtility.php
typo3/sysext/extensionmanager/Classes/Utility/Importer/ExtensionListUtility.php
typo3/sysext/extensionmanager/Classes/Utility/Importer/MirrorListUtility.php
typo3/sysext/extensionmanager/Classes/Utility/Repository/Helper.php
typo3/sysext/extensionmanager/Classes/ViewHelpers/ToggleExtensionInstallationStateViewHelper.php
typo3/sysext/extensionmanager/Classes/ViewHelpers/UpdateScriptViewHelper.php
typo3/sysext/filelist/Classes/Controller/FileListController.php
typo3/sysext/filelist/Classes/FileList.php
typo3/sysext/fluid/Classes/ViewHelpers/Be/AbstractBackendViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Be/TableListViewHelper.php
typo3/sysext/form/Classes/Domain/Finishers/ClosureFinisher.php
typo3/sysext/form/Classes/Service/TranslationService.php
typo3/sysext/frontend/Classes/Category/Collection/CategoryCollection.php
typo3/sysext/frontend/Classes/ContentObject/ContentContentObject.php
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Classes/ContentObject/FluidTemplateContentObject.php
typo3/sysext/frontend/Classes/ContentObject/HierarchicalMenuContentObject.php
typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Classes/Imaging/GifBuilder.php
typo3/sysext/frontend/Classes/Page/PageRepository.php
typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php
typo3/sysext/frontend/Classes/Resource/FileCollector.php
typo3/sysext/frontend/Classes/Typolink/AbstractTypolinkBuilder.php
typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php
typo3/sysext/impexp/Classes/Controller/ImportExportController.php
typo3/sysext/impexp/Classes/Domain/Repository/PresetRepository.php
typo3/sysext/impexp/Classes/Import.php
typo3/sysext/impexp/Classes/Task/ImportExportTask.php
typo3/sysext/impexp/Classes/Utility/ImportExportUtility.php
typo3/sysext/indexed_search/Classes/Indexer.php
typo3/sysext/install/Classes/Controller/EnvironmentController.php
typo3/sysext/install/Classes/Controller/MaintenanceController.php
typo3/sysext/install/Classes/Controller/UpgradeController.php
typo3/sysext/install/Classes/FolderStructure/DirectoryNode.php
typo3/sysext/install/Classes/Service/LanguagePackService.php
typo3/sysext/install/Classes/Service/Typo3tempFileService.php
typo3/sysext/install/Classes/Updates/AbstractDownloadExtensionUpdate.php
typo3/sysext/install/Classes/Updates/AbstractUpdate.php
typo3/sysext/linkvalidator/Classes/LinkAnalyzer.php
typo3/sysext/linkvalidator/Classes/Report/LinkValidatorReport.php
typo3/sysext/linkvalidator/Classes/Task/ValidatorTask.php
typo3/sysext/linkvalidator/Classes/Task/ValidatorTaskAdditionalFieldProvider.php
typo3/sysext/lowlevel/Classes/Controller/ConfigurationController.php
typo3/sysext/lowlevel/Classes/Controller/DatabaseIntegrityController.php
typo3/sysext/recordlist/Classes/Browser/FileBrowser.php
typo3/sysext/recordlist/Classes/Controller/RecordListController.php
typo3/sysext/recordlist/Classes/RecordList/AbstractDatabaseRecordList.php
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php
typo3/sysext/recycler/Classes/Controller/RecyclerAjaxController.php
typo3/sysext/recycler/Classes/Domain/Model/DeletedRecords.php
typo3/sysext/recycler/Classes/Domain/Model/Tables.php
typo3/sysext/rsaauth/Classes/Backend/BackendFactory.php
typo3/sysext/rsaauth/Classes/Backend/CommandLineBackend.php
typo3/sysext/rsaauth/Classes/Backend/PhpBackend.php
typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php
typo3/sysext/scheduler/Classes/Example/TestTask.php
typo3/sysext/scheduler/Classes/Execution.php
typo3/sysext/scheduler/Classes/Scheduler.php
typo3/sysext/scheduler/Classes/Task/AbstractTask.php
typo3/sysext/taskcenter/Classes/Controller/TaskModuleController.php
typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateObjectBrowserModuleFunctionController.php
typo3/sysext/workspaces/Classes/DataHandler/CommandMap.php
typo3/sysext/workspaces/Classes/Dependency/DependencyResolver.php
typo3/sysext/workspaces/Classes/Dependency/ElementEntity.php
typo3/sysext/workspaces/Classes/Dependency/ElementEntityProcessor.php
typo3/sysext/workspaces/Classes/Hook/BackendUtilityHook.php
typo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php
typo3/sysext/workspaces/Classes/Service/StagesService.php

index df797f9..18ab371 100644 (file)
@@ -139,7 +139,7 @@ class BackendUserConfiguration
     /**
      * Computes the subarray from dotted notation
      *
-     * @param $key string Dotted notation of subkeys like moduleData.module1.general.checked
+     * @param string $key Dotted notation of subkeys like moduleData.module1.general.checked
      * @return mixed value of the settings
      */
     protected function getFromDottedNotation(string $key)
index 8c1d724..240681c 100644 (file)
@@ -110,7 +110,7 @@ class TsConfigParser extends \TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser
      */
     protected function parseWithConditions($TSconfig)
     {
-        /** @var $matchObj \TYPO3\CMS\Backend\Configuration\TypoScript\ConditionMatching\ConditionMatcher */
+        /** @var \TYPO3\CMS\Backend\Configuration\TypoScript\ConditionMatching\ConditionMatcher $matchObj */
         $matchObj = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Configuration\TypoScript\ConditionMatching\ConditionMatcher::class);
         $matchObj->setRootline($this->rootLine);
         $matchObj->setPageId($this->id);
@@ -131,7 +131,7 @@ class TsConfigParser extends \TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser
     protected function matching(array $cc)
     {
         if (is_array($cc['sections'])) {
-            /** @var $matchObj \TYPO3\CMS\Backend\Configuration\TypoScript\ConditionMatching\ConditionMatcher */
+            /** @var \TYPO3\CMS\Backend\Configuration\TypoScript\ConditionMatching\ConditionMatcher $matchObj */
             $matchObj = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Configuration\TypoScript\ConditionMatching\ConditionMatcher::class);
             $matchObj->setRootline($this->rootLine);
             $matchObj->setPageId($this->id);
index 2d65fe1..7dba98b 100644 (file)
@@ -44,7 +44,7 @@ class ContextMenu
         $items = [];
         $itemsProviders = $this->getAvailableProviders($table, $identifier, $context);
 
-        /** @var $provider \TYPO3\CMS\Backend\ContextMenu\ItemProviders\ProviderInterface */
+        /** @var \TYPO3\CMS\Backend\ContextMenu\ItemProviders\ProviderInterface $provider */
         foreach ($itemsProviders as $provider) {
             $items = $provider->addItems($items);
         }
index ca960bb..a61665e 100644 (file)
@@ -98,7 +98,7 @@ abstract class AbstractFormEngineAjaxController
      */
     protected function getLabelsFromLocalizationFile($file)
     {
-        /** @var $languageFactory LocalizationFactory */
+        /** @var LocalizationFactory $languageFactory */
         $languageFactory = GeneralUtility::makeInstance(LocalizationFactory::class);
         $language = $GLOBALS['LANG']->lang;
         $localizationArray = $languageFactory->getParsedData($file, $language);
index a7cbdca..59535c6 100644 (file)
@@ -585,7 +585,7 @@ class ElementInformationController
             $selectTable = $table;
             $selectUid = $ref;
         }
-        /** @var $queryBuilder \TYPO3\CMS\Core\Database\Query\QueryBuilder */
+        /** @var \TYPO3\CMS\Core\Database\Query\QueryBuilder $queryBuilder */
         $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)
             ->getQueryBuilderForTable('sys_refindex');
         $rows = $queryBuilder
@@ -667,7 +667,7 @@ class ElementInformationController
         $refFromLines = [];
         $lang = $this->getLanguageService();
 
-        /** @var $queryBuilder \TYPO3\CMS\Core\Database\Query\QueryBuilder */
+        /** @var \TYPO3\CMS\Core\Database\Query\QueryBuilder $queryBuilder */
         $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)
             ->getQueryBuilderForTable('sys_refindex');
         $rows = $queryBuilder
@@ -729,7 +729,7 @@ class ElementInformationController
      */
     protected function transformFileReferenceToRecordReference(array $referenceRecord)
     {
-        /** @var $queryBuilder \TYPO3\CMS\Core\Database\Query\QueryBuilder */
+        /** @var \TYPO3\CMS\Core\Database\Query\QueryBuilder $queryBuilder */
         $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)
             ->getQueryBuilderForTable('sys_file_reference');
         $queryBuilder->getRestrictions()->removeAll();
index 9dafd4c..794d70e 100644 (file)
@@ -637,7 +637,7 @@ class EditDocumentController
     /**
      * Do processing of data, submitting it to DataHandler. May return a RedirectResponse
      *
-     * @param $request ServerRequestInterface
+     * @param ServerRequestInterface $request
      * @return ResponseInterface|null
      */
     public function processData(ServerRequestInterface $request = null): ?ResponseInterface
@@ -828,7 +828,7 @@ class EditDocumentController
                 $relatedPageId = -$nRec['t3ver_oid'];
             }
 
-            /** @var $duplicateTce \TYPO3\CMS\Core\DataHandling\DataHandler */
+            /** @var \TYPO3\CMS\Core\DataHandling\DataHandler $duplicateTce */
             $duplicateTce = GeneralUtility::makeInstance(DataHandler::class);
 
             $duplicateCmd = [
@@ -897,7 +897,7 @@ class EditDocumentController
     /**
      * Initialize the view part of the controller logic.
      *
-     * @param $request ServerRequestInterface
+     * @param ServerRequestInterface $request
      */
     public function init(ServerRequestInterface $request = null): void
     {
@@ -1156,7 +1156,7 @@ class EditDocumentController
     /**
      * Main module operation
      *
-     * @param $request ServerRequestInterface
+     * @param ServerRequestInterface $request
      */
     public function main(ServerRequestInterface $request = null): void
     {
@@ -1391,7 +1391,7 @@ class EditDocumentController
     /**
      * Create the panel of buttons for submitting the form or otherwise perform operations.
      *
-     * @param $request ServerRequestInterface
+     * @param ServerRequestInterface $request
      */
     protected function getButtons(ServerRequestInterface $request): void
     {
@@ -2624,7 +2624,7 @@ class EditDocumentController
      * - other values will call setDocument with ->retUrl
      *
      * @param int $mode the close mode: one of self::DOCUMENT_CLOSE_MODE_*
-     * @param $request ServerRequestInterface Incoming request
+     * @param ServerRequestInterface $request Incoming request
      * @return ResponseInterface|null Redirect response if needed
      */
     public function closeDocument($mode = self::DOCUMENT_CLOSE_MODE_DEFAULT, ServerRequestInterface $request = null): ?ResponseInterface
index e9ee48c..84b2001 100644 (file)
@@ -330,7 +330,7 @@ class FormInlineAjaxController extends AbstractFormEngineAjaxController
                 ];
             }
 
-            /** @var $tce DataHandler */
+            /** @var DataHandler $tce */
             $tce = GeneralUtility::makeInstance(DataHandler::class);
             $tce->start([], $cmd);
             $tce->process_cmdmap();
index 406e756..5872b1d 100644 (file)
@@ -192,7 +192,7 @@ class LoginController implements LoggerAwareInterface
      */
     protected function createLoginLogoutForm(ServerRequestInterface $request): string
     {
-        /** @var $pageRenderer PageRenderer */
+        /** @var PageRenderer $pageRenderer */
         $pageRenderer = GeneralUtility::makeInstance(PageRenderer::class);
         $pageRenderer->loadRequireJsModule('TYPO3/CMS/Backend/Login');
 
index c84f0a8..33e72ff 100644 (file)
@@ -558,7 +558,7 @@ class NewRecordController
 
         if ($numberOfPages > 0) {
             $this->code .= '<h3>' . htmlspecialchars($this->getLanguageService()->getLL('selectPosition')) . ':</h3>';
-            /** @var $positionMap \TYPO3\CMS\Backend\Tree\View\PagePositionMap */
+            /** @var \TYPO3\CMS\Backend\Tree\View\PagePositionMap $positionMap */
             $positionMap = GeneralUtility::makeInstance(PagePositionMap::class, NewRecordPageTreeView::class);
             $this->code .= $positionMap->positionTree(
                 $this->id,
index fdb853a..2cb512c 100644 (file)
@@ -136,10 +136,10 @@ class OnlineMediaController
      */
     protected function addFlashMessage(FlashMessage $flashMessage)
     {
-        /** @var $flashMessageService FlashMessageService */
+        /** @var FlashMessageService $flashMessageService */
         $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
 
-        /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */
+        /** @var \TYPO3\CMS\Core\Messaging\FlashMessageQueue $defaultFlashMessageQueue */
         $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
         $defaultFlashMessageQueue->enqueue($flashMessage);
     }
index 8f7ab9c..49a9818 100644 (file)
@@ -47,7 +47,7 @@ class NewMultiplePagesController
     /**
      * Constructor Method
      *
-     * @var $moduleTemplate ModuleTemplate
+     * @var ModuleTemplate $moduleTemplate
      */
     public function __construct(ModuleTemplate $moduleTemplate = null)
     {
@@ -57,7 +57,7 @@ class NewMultiplePagesController
     /**
      * Main function Handling input variables and rendering main view
      *
-     * @param $request ServerRequestInterface
+     * @param ServerRequestInterface $request
      * @return ResponseInterface Response
      */
     public function mainAction(ServerRequestInterface $request): ResponseInterface
index bc34c56..5121c7b 100644 (file)
@@ -46,7 +46,7 @@ class SortSubPagesController
     /**
      * Constructor Method
      *
-     * @var $moduleTemplate ModuleTemplate
+     * @var ModuleTemplate $moduleTemplate
      */
     public function __construct(ModuleTemplate $moduleTemplate = null)
     {
@@ -56,7 +56,7 @@ class SortSubPagesController
     /**
      * Main function Handling input variables and rendering main view
      *
-     * @param $request ServerRequestInterface
+     * @param ServerRequestInterface $request
      * @return ResponseInterface Response
      */
     public function mainAction(ServerRequestInterface $request): ResponseInterface
index 95f6204..f426908 100644 (file)
@@ -149,7 +149,7 @@ class BackendModuleRepository implements \TYPO3\CMS\Core\SingletonInterface
      */
     protected function createEntryFromRawData(array $module)
     {
-        /** @var $entry \TYPO3\CMS\Backend\Domain\Model\Module\BackendModule */
+        /** @var \TYPO3\CMS\Backend\Domain\Model\Module\BackendModule $entry */
         $entry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Domain\Model\Module\BackendModule::class);
         if (!empty($module['name']) && is_string($module['name'])) {
             $entry->setName($module['name']);
index 329efaf..29010ee 100644 (file)
@@ -95,7 +95,7 @@ abstract class AbstractItemProvider
                 FlashMessage::ERROR,
                 true
             );
-            /** @var $flashMessageService \TYPO3\CMS\Core\Messaging\FlashMessageService */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageService $flashMessageService */
             $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
             $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
             $defaultFlashMessageQueue->enqueue($flashMessage);
@@ -465,11 +465,11 @@ abstract class AbstractItemProvider
             $msg = $databaseError . '. ';
             $msg .= $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:error.database_schema_mismatch');
             $msgTitle = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:error.database_schema_mismatch_title');
-            /** @var $flashMessage FlashMessage */
+            /** @var FlashMessage $flashMessage */
             $flashMessage = GeneralUtility::makeInstance(FlashMessage::class, $msg, $msgTitle, FlashMessage::ERROR, true);
-            /** @var $flashMessageService FlashMessageService */
+            /** @var FlashMessageService $flashMessageService */
             $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
-            /** @var $defaultFlashMessageQueue FlashMessageQueue */
+            /** @var FlashMessageQueue $defaultFlashMessageQueue */
             $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
             $defaultFlashMessageQueue->enqueue($flashMessage);
             return $items;
index b279e78..fc0e7ad 100644 (file)
@@ -82,7 +82,7 @@ class DatabaseSystemLanguageRows implements FormDataProviderInterface
                     '',
                     FlashMessage::ERROR
                 );
-                /** @var $flashMessageService FlashMessageService */
+                /** @var FlashMessageService $flashMessageService */
                 $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
                 $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
                 $defaultFlashMessageQueue->enqueue($flashMessage);
index 44dbb0f..0fdaaa5 100644 (file)
@@ -332,9 +332,9 @@ class BaseScriptClass
                 $this->getLanguageService()->getLL('title'),
                 FlashMessage::ERROR
             );
-            /** @var $flashMessageService \TYPO3\CMS\Core\Messaging\FlashMessageService */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageService $flashMessageService */
             $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
-            /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageQueue $defaultFlashMessageQueue */
             $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
             $defaultFlashMessageQueue->enqueue($flashMessage);
         } else {
index a028633..1037bd4 100644 (file)
@@ -834,9 +834,9 @@ function jumpToUrl(URL) {
      */
     public function getFlashMessages()
     {
-        /** @var $flashMessageService \TYPO3\CMS\Core\Messaging\FlashMessageService */
+        /** @var \TYPO3\CMS\Core\Messaging\FlashMessageService $flashMessageService */
         $flashMessageService = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Messaging\FlashMessageService::class);
-        /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */
+        /** @var \TYPO3\CMS\Core\Messaging\FlashMessageQueue $defaultFlashMessageQueue */
         $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
         return $defaultFlashMessageQueue->renderFlashMessages();
     }
index 6910042..6974ab7 100644 (file)
@@ -301,7 +301,7 @@ class FolderTreeView extends AbstractTreeView
         $this->reset();
         // Go through all "root level folders" of this tree (can be the rootlevel folder or any file mount points)
         foreach ($rootLevelFolders as $rootLevelFolderInfo) {
-            /** @var $rootLevelFolder Folder */
+            /** @var Folder $rootLevelFolder */
             $rootLevelFolder = $rootLevelFolderInfo['folder'];
             $rootLevelFolderName = $rootLevelFolderInfo['name'];
             $folderHashSpecUID = GeneralUtility::md5int($rootLevelFolder->getCombinedIdentifier());
@@ -459,9 +459,9 @@ class FolderTreeView extends AbstractTreeView
                 $this->getLanguageService()->sL('LLL:EXT:backend/Resources/Private/Language/locallang.xlf:foldertreeview.noFolders.title'),
                 FlashMessage::INFO
             );
-            /** @var $flashMessageService \TYPO3\CMS\Core\Messaging\FlashMessageService */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageService $flashMessageService */
             $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
-            /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageQueue $defaultFlashMessageQueue */
             $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
             $defaultFlashMessageQueue->enqueue($message);
             return $defaultFlashMessageQueue->renderFlashMessages();
@@ -483,7 +483,7 @@ class FolderTreeView extends AbstractTreeView
         // so we know how many we have to close when all children are done rendering
         $closeDepth = [];
         foreach ($treeItems as $treeItem) {
-            /** @var $folderObject Folder */
+            /** @var Folder $folderObject */
             $folderObject = $treeItem['row']['folder'];
             $classAttr = $treeItem['row']['_CSSCLASS'] ?? '';
             $folderIdentifier = $folderObject->getCombinedIdentifier();
index 8881623..1625810 100644 (file)
@@ -871,7 +871,7 @@ class BackendUtility
         }
         // Parsing the page TS-Config
         $pageTs = implode(LF . '[GLOBAL]' . LF, $TSdataArray);
-        /* @var $parseObj \TYPO3\CMS\Backend\Configuration\TsConfigParser */
+        /* @var \TYPO3\CMS\Backend\Configuration\TsConfigParser $parseObj */
         $parseObj = GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Configuration\TsConfigParser::class);
         $res = $parseObj->parseTSconfig($pageTs, 'PAGES', $id, $rootLine);
         if ($res) {
@@ -1256,7 +1256,7 @@ class BackendUtility
         }
 
         $fileReferences = [];
-        /** @var $relationHandler RelationHandler */
+        /** @var RelationHandler $relationHandler */
         $relationHandler = GeneralUtility::makeInstance(RelationHandler::class);
         if ($workspaceId !== null) {
             $relationHandler->setWorkspaceId($workspaceId);
@@ -1957,7 +1957,7 @@ class BackendUtility
                                 }
                             }
                         }
-                        /** @var $dbGroup RelationHandler */
+                        /** @var RelationHandler $dbGroup */
                         $dbGroup = GeneralUtility::makeInstance(RelationHandler::class);
                         $dbGroup->start(
                             $value,
@@ -2114,7 +2114,7 @@ class BackendUtility
                                     }
                                 }
                             }
-                            /** @var $dbGroup RelationHandler */
+                            /** @var RelationHandler $dbGroup */
                             $dbGroup = GeneralUtility::makeInstance(RelationHandler::class);
                             $dbGroup->start(
                                 $value,
index 9075815..73f2876 100644 (file)
@@ -53,7 +53,7 @@ class BackendLayoutView implements \TYPO3\CMS\Core\SingletonInterface
      */
     protected function initializeDataProviderCollection()
     {
-        /** @var $dataProviderCollection BackendLayout\DataProviderCollection */
+        /** @var BackendLayout\DataProviderCollection $dataProviderCollection */
         $dataProviderCollection = GeneralUtility::makeInstance(
             BackendLayout\DataProviderCollection::class
         );
@@ -353,7 +353,7 @@ class BackendLayoutView implements \TYPO3\CMS\Core\SingletonInterface
         }
 
         if (!empty($backendLayout)) {
-            /** @var $parser TypoScriptParser */
+            /** @var TypoScriptParser $parser */
             $parser = GeneralUtility::makeInstance(TypoScriptParser::class);
             /** @var \TYPO3\CMS\Backend\Configuration\TypoScript\ConditionMatching\ConditionMatcher $conditionMatcher */
             $conditionMatcher = GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Configuration\TypoScript\ConditionMatching\ConditionMatcher::class);
index b331954..18b6323 100644 (file)
@@ -853,7 +853,7 @@ class PageLayoutView implements LoggerAwareInterface
         $this->initializeLanguages();
         $this->initializeClipboard();
         $pageTitleParamForAltDoc = '&recTitle=' . rawurlencode(BackendUtility::getRecordTitle('pages', BackendUtility::getRecordWSOL('pages', $id), true));
-        /** @var $pageRenderer PageRenderer */
+        /** @var PageRenderer $pageRenderer */
         $pageRenderer = GeneralUtility::makeInstance(PageRenderer::class);
         $pageRenderer->loadRequireJsModule('TYPO3/CMS/Backend/LayoutModule/DragDrop');
         $pageRenderer->loadRequireJsModule('TYPO3/CMS/Backend/Modal');
index a434995..5a9ab1f 100644 (file)
@@ -55,7 +55,7 @@ class PageTreeView extends BrowseTreeView
      */
     public function wrapIcon($thePageIcon, $row)
     {
-        /** @var $iconFactory IconFactory */
+        /** @var IconFactory $iconFactory */
         $iconFactory = GeneralUtility::makeInstance(IconFactory::class);
         // If the record is locked, present a warning sign.
         if ($lockInfo = BackendUtility::isRecordLocked('pages', $row['uid'])) {
index 9128020..a2c8a3a 100644 (file)
@@ -188,7 +188,7 @@ class BackendLogController extends ActionController
     protected function groupLogEntriesByPageAndDay(QueryResultInterface $logEntries, $groupByPage = false)
     {
         $targetStructure = [];
-        /** @var $entry LogEntry */
+        /** @var LogEntry $entry */
         foreach ($logEntries as $entry) {
             // Create page split list or flat list
             if ($groupByPage) {
@@ -253,7 +253,7 @@ class BackendLogController extends ActionController
         $workspaceArray[-99] = \TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate('any', 'Belog');
         $workspaceArray[0] = \TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate('live', 'Belog');
         $workspaces = $this->objectManager->get(\TYPO3\CMS\Belog\Domain\Repository\WorkspaceRepository::class)->findAll();
-        /** @var $workspace \TYPO3\CMS\Belog\Domain\Model\Workspace */
+        /** @var \TYPO3\CMS\Belog\Domain\Model\Workspace $workspace */
         foreach ($workspaces as $workspace) {
             $workspaceArray[$workspace->getUid()] = $workspace->getUid() . ': ' . $workspace->getTitle();
         }
index 6cb29f4..cac11af 100644 (file)
@@ -36,7 +36,7 @@ class LogEntryRepository extends \TYPO3\CMS\Extbase\Persistence\Repository
     public function initializeObject()
     {
         $this->beUserList = $this->getBackendUsers();
-        /** @var $defaultQuerySettings \TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface */
+        /** @var \TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface $defaultQuerySettings */
         $defaultQuerySettings = $this->objectManager->get(\TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface::class);
         $defaultQuerySettings->setRespectStoragePage(false);
         $this->setDefaultQuerySettings($defaultQuerySettings);
@@ -104,7 +104,7 @@ class LogEntryRepository extends \TYPO3\CMS\Extbase\Persistence\Repository
         $pageIds = [];
         // Check if we should get a whole tree of pages and not only a single page
         if ($constraint->getDepth() > 0) {
-            /** @var $pageTree \TYPO3\CMS\Backend\Tree\View\PageTreeView */
+            /** @var \TYPO3\CMS\Backend\Tree\View\PageTreeView $pageTree */
             $pageTree = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Tree\View\PageTreeView::class);
             $pageTree->init('AND ' . $GLOBALS['BE_USER']->getPagePermsClause(Permission::PAGE_SHOW));
             $pageTree->makeHTML = 0;
index 7fa850e..3e15aae 100644 (file)
@@ -25,7 +25,7 @@ class WorkspaceRepository extends \TYPO3\CMS\Extbase\Persistence\Repository
      */
     public function initializeObject()
     {
-        /** @var $querySettings \TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface */
+        /** @var \TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface $querySettings */
         $querySettings = $this->objectManager->get(\TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface::class);
         $querySettings->setRespectStoragePage(false);
         $this->setDefaultQuerySettings($querySettings);
index b67dee6..ded6db1 100644 (file)
@@ -57,7 +57,7 @@ class BackendLogModuleBootstrap
         $_GET['tx_belog_system_beloglog']['controller'] = 'BackendLog';
         $_GET['tx_belog_system_beloglog']['pageId'] = \TYPO3\CMS\Core\Utility\GeneralUtility::_GP('id');
         $_GET['tx_belog_system_beloglog']['layout'] = 'Plain';
-        /** @var $extbaseBootstrap \TYPO3\CMS\Extbase\Core\Bootstrap */
+        /** @var \TYPO3\CMS\Extbase\Core\Bootstrap $extbaseBootstrap */
         $extbaseBootstrap = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Core\Bootstrap::class);
         return $extbaseBootstrap->run('', $configuration);
     }
index e8ab8ec..6ab3bd8 100644 (file)
@@ -91,7 +91,7 @@ class PermissionAjaxController
 
         $content = '';
         // Init TCE for execution of update
-        /** @var $tce DataHandler */
+        /** @var DataHandler $tce */
         $tce = GeneralUtility::makeInstance(DataHandler::class);
         // Determine the scripts to execute
         switch ($this->conf['action']) {
index 7ec762f..4856da0 100644 (file)
@@ -232,7 +232,7 @@ class PermissionController extends ActionController
         $beGroupArray = BackendUtility::getGroupNames();
         $this->view->assign('beGroups', $beGroupArray);
 
-        /** @var $tree PageTreeView */
+        /** @var PageTreeView $tree */
         $tree = GeneralUtility::makeInstance(PageTreeView::class);
         $tree->init();
         $tree->addField('perms_user', true);
index c7a0d81..90f8d0b 100644 (file)
@@ -1598,7 +1598,7 @@ class BackendUserAuthentication extends AbstractUserAuthentication
     protected function initializeFileStorages()
     {
         $this->fileStorages = [];
-        /** @var $storageRepository \TYPO3\CMS\Core\Resource\StorageRepository */
+        /** @var \TYPO3\CMS\Core\Resource\StorageRepository $storageRepository */
         $storageRepository = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Resource\StorageRepository::class);
         // Admin users have all file storages visible, without any filters
         if ($this->isAdmin()) {
@@ -2470,7 +2470,7 @@ This is a dump of the failures:
                         ) . ':  ' . @sprintf($row['details'], (string)$theData[0], (string)$theData[1], (string)$theData[2]);
                     $email_body .= LF;
                 }
-                /** @var $mail \TYPO3\CMS\Core\Mail\MailMessage */
+                /** @var \TYPO3\CMS\Core\Mail\MailMessage $mail */
                 $mail = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Mail\MailMessage::class);
                 $mail->setTo($email)->setSubject($subject)->setBody($email_body);
                 $mail->send();
@@ -2661,7 +2661,7 @@ This is a dump of the failures:
                 $prefix = '[AdminLoginWarning]';
             }
             if ($warn) {
-                /** @var $mail \TYPO3\CMS\Core\Mail\MailMessage */
+                /** @var \TYPO3\CMS\Core\Mail\MailMessage $mail */
                 $mail = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Mail\MailMessage::class);
                 $mail->setTo($GLOBALS['TYPO3_CONF_VARS']['BE']['warning_email_addr'])->setSubject($prefix . ' ' . $subject)->setBody($msg);
                 $mail->send();
@@ -2669,7 +2669,7 @@ This is a dump of the failures:
         }
         // Trigger an email to the current BE user, if this has been enabled in the user configuration
         if ($this->uc['emailMeAtLogin'] && strstr($this->user['email'], '@')) {
-            /** @var $mail \TYPO3\CMS\Core\Mail\MailMessage */
+            /** @var \TYPO3\CMS\Core\Mail\MailMessage $mail */
             $mail = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Mail\MailMessage::class);
             $mail->setTo($this->user['email'])->setSubject($subject)->setBody($msg);
             $mail->send();
index d80fb51..4077f4b 100644 (file)
@@ -71,7 +71,7 @@ class CategoryCollection extends AbstractRecordCollection implements EditableCol
      */
     public static function create(array $collectionRecord, $fillItems = false)
     {
-        /** @var $collection CategoryCollection */
+        /** @var CategoryCollection $collection */
         $collection = GeneralUtility::makeInstance(
             self::class,
             $collectionRecord['table_name'],
@@ -281,7 +281,7 @@ class CategoryCollection extends AbstractRecordCollection implements EditableCol
     public function getItems()
     {
         $itemArray = [];
-        /** @var $item \TYPO3\CMS\Core\Resource\File */
+        /** @var \TYPO3\CMS\Core\Resource\File $item */
         foreach ($this->storage as $item) {
             $itemArray[] = $item;
         }
index aa2fc8c..cb0eb6d 100644 (file)
@@ -32,7 +32,7 @@ class StaticRecordCollection extends AbstractRecordCollection implements Editabl
      */
     public static function create(array $collectionRecord, $fillItems = false)
     {
-        /** @var $collection StaticRecordCollection */
+        /** @var StaticRecordCollection $collection */
         $collection = GeneralUtility::makeInstance(
             self::class,
             $collectionRecord['table_name']
index 15bd350..fc89e33 100644 (file)
@@ -853,7 +853,7 @@ class Bootstrap
     protected static function runExtTablesPostProcessingHooks()
     {
         foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['extTablesInclusion-PostProcessing'] ?? [] as $className) {
-            /** @var $hookObject \TYPO3\CMS\Core\Database\TableConfigurationPostProcessingHookInterface */
+            /** @var \TYPO3\CMS\Core\Database\TableConfigurationPostProcessingHookInterface $hookObject */
             $hookObject = GeneralUtility::makeInstance($className);
             if (!$hookObject instanceof \TYPO3\CMS\Core\Database\TableConfigurationPostProcessingHookInterface) {
                 throw new \UnexpectedValueException(
@@ -877,7 +877,7 @@ class Bootstrap
         // See if the Routes.php from all active packages have been built together already
         $cacheIdentifier = 'BackendRoutesFromPackages_' . sha1(TYPO3_version . Environment::getProjectPath() . 'BackendRoutesFromPackages');
 
-        /** @var $codeCache \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */
+        /** @var \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $codeCache */
         $codeCache = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Cache\CacheManager::class)->getCache('cache_core');
         $routesFromPackages = [];
         if ($codeCache->has($cacheIdentifier)) {
@@ -932,7 +932,7 @@ class Bootstrap
      */
     public static function initializeBackendUser($className = \TYPO3\CMS\Core\Authentication\BackendUserAuthentication::class)
     {
-        /** @var $backendUser \TYPO3\CMS\Core\Authentication\BackendUserAuthentication */
+        /** @var \TYPO3\CMS\Core\Authentication\BackendUserAuthentication $backendUser */
         $backendUser = GeneralUtility::makeInstance($className);
         // The global must be available very early, because methods below
         // might trigger code which relies on it. See: #45625
index 46c4313..d890234 100644 (file)
@@ -1126,7 +1126,7 @@ class DataHandler implements LoggerAwareInterface
                                 // new version of a record created in a workspace - so always refresh pagetree to indicate there is a change in the workspace
                                 $this->pagetreeNeedsRefresh = true;
 
-                                /** @var $tce DataHandler */
+                                /** @var DataHandler $tce */
                                 $tce = GeneralUtility::makeInstance(__CLASS__);
                                 $tce->enableLogging = $this->enableLogging;
                                 // Setting up command for creating a new version of the record:
@@ -2279,7 +2279,7 @@ class DataHandler implements LoggerAwareInterface
                     // If MM relations for the files also!
                     if ($tcaFieldConf['MM']) {
                         $dbAnalysis = $this->createRelationHandlerInstance();
-                        /** @var $dbAnalysis RelationHandler */
+                        /** @var RelationHandler $dbAnalysis */
                         $dbAnalysis->start('', 'files', $tcaFieldConf['MM'], $id);
                         foreach ($dbAnalysis->itemArray as $item) {
                             if ($item['id']) {
@@ -2383,7 +2383,7 @@ class DataHandler implements LoggerAwareInterface
             }
             // If MM relations for the files, we will set the relations as MM records and change the valuearray to contain a single entry with a count of the number of files!
             if ($tcaFieldConf['MM']) {
-                /** @var $dbAnalysis RelationHandler */
+                /** @var RelationHandler $dbAnalysis */
                 $dbAnalysis = $this->createRelationHandlerInstance();
                 // Dummy
                 $dbAnalysis->tableArray['files'] = [];
@@ -2587,7 +2587,7 @@ class DataHandler implements LoggerAwareInterface
      */
     public function checkValue_flexArray2Xml($array, $addPrologue = false)
     {
-        /** @var $flexObj FlexFormTools */
+        /** @var FlexFormTools $flexObj */
         $flexObj = GeneralUtility::makeInstance(FlexFormTools::class);
         return $flexObj->flexArray2Xml($array, $addPrologue);
     }
@@ -3068,7 +3068,7 @@ class DataHandler implements LoggerAwareInterface
             FlashMessage::ERROR,
             true // whether message should be stored in session
         );
-        /** @var $flashMessageService FlashMessageService */
+        /** @var FlashMessageService $flashMessageService */
         $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
         $flashMessageService->getMessageQueueByIdentifier()->enqueue($message);
     }
@@ -3096,7 +3096,7 @@ class DataHandler implements LoggerAwareInterface
         }
         $prep = $type === 'group' ? $tcaFieldConf['prepend_tname'] : '';
         $newRelations = implode(',', $valueArray);
-        /** @var $dbAnalysis RelationHandler */
+        /** @var RelationHandler $dbAnalysis */
         $dbAnalysis = $this->createRelationHandlerInstance();
         $dbAnalysis->registerNonTableValues = !empty($tcaFieldConf['allowNonIdValues']);
         $dbAnalysis->start($newRelations, $tables, '', 0, $currentTable, $tcaFieldConf);
@@ -3105,7 +3105,7 @@ class DataHandler implements LoggerAwareInterface
             // (only required for MM relations in a workspace context)
             $dbAnalysis->convertItemArray();
             if ($status === 'update') {
-                /** @var $oldRelations_dbAnalysis RelationHandler */
+                /** @var RelationHandler $oldRelations_dbAnalysis */
                 $oldRelations_dbAnalysis = $this->createRelationHandlerInstance();
                 $oldRelations_dbAnalysis->registerNonTableValues = !empty($tcaFieldConf['allowNonIdValues']);
                 // Db analysis with $id will initialize with the existing relations
@@ -3313,7 +3313,7 @@ class DataHandler implements LoggerAwareInterface
         $foreignTable = $tcaFieldConf['foreign_table'];
         $valueArray = $this->applyFiltersToValues($tcaFieldConf, $valueArray);
         // Fetch the related child records using \TYPO3\CMS\Core\Database\RelationHandler
-        /** @var $dbAnalysis RelationHandler */
+        /** @var RelationHandler $dbAnalysis */
         $dbAnalysis = $this->createRelationHandlerInstance();
         $dbAnalysis->start(implode(',', $valueArray), $foreignTable, '', 0, $table, $tcaFieldConf);
         // IRRE with a pointer field (database normalization):
@@ -3462,7 +3462,7 @@ class DataHandler implements LoggerAwareInterface
                 }
             }
         }
-        /** @var $copyTCE DataHandler */
+        /** @var DataHandler $copyTCE */
         $copyTCE = $this->getLocalTCE();
         $copyTCE->start($pasteDatamap, [], $this->BE_USER);
         $copyTCE->process_datamap();
@@ -3601,7 +3601,7 @@ class DataHandler implements LoggerAwareInterface
             $data[$table][$theNewID][$GLOBALS['TCA'][$table]['ctrl']['origUid']] = $uid;
         }
         // Do the copy by simply submitting the array through DataHandler:
-        /** @var $copyTCE DataHandler */
+        /** @var DataHandler $copyTCE */
         $copyTCE = $this->getLocalTCE();
         $copyTCE->start($data, [], $this->BE_USER);
         $copyTCE->process_datamap();
@@ -4011,7 +4011,7 @@ class DataHandler implements LoggerAwareInterface
         $localizeForeignTable = isset($conf['foreign_table']) && BackendUtility::isTableLocalizable($conf['foreign_table']);
         // Localize referenced records of select fields:
         $localizingNonManyToManyFieldReferences = empty($mmTable) && $localizeForeignTable && isset($conf['localizeReferencesAtParentLocalization']) && $conf['localizeReferencesAtParentLocalization'];
-        /** @var $dbAnalysis RelationHandler */
+        /** @var RelationHandler $dbAnalysis */
         $dbAnalysis = $this->createRelationHandlerInstance();
         $dbAnalysis->start($value, $allowedTables, $mmTable, $uid, $table, $conf);
         $purgeItems = false;
@@ -4066,7 +4066,7 @@ class DataHandler implements LoggerAwareInterface
         array $workspaceOptions
     ) {
         // Fetch the related child records using \TYPO3\CMS\Core\Database\RelationHandler
-        /** @var $dbAnalysis RelationHandler */
+        /** @var RelationHandler $dbAnalysis */
         $dbAnalysis = $this->createRelationHandlerInstance();
         $dbAnalysis->start($value, $conf['foreign_table'], '', $uid, $table, $conf);
         // Walk through the items, copy them and remember the new id:
@@ -4176,7 +4176,7 @@ class DataHandler implements LoggerAwareInterface
         // Get an array with files as values:
         if ($conf['MM']) {
             $theFileValues = [];
-            /** @var $dbAnalysis RelationHandler */
+            /** @var RelationHandler $dbAnalysis */
             $dbAnalysis = $this->createRelationHandlerInstance();
             $dbAnalysis->start('', 'files', $conf['MM'], $uid);
             foreach ($dbAnalysis->itemArray as $somekey => $someval) {
@@ -5029,7 +5029,7 @@ class DataHandler implements LoggerAwareInterface
         $removeArray = [];
         $mmTable = $inlineSubType === 'mm' && isset($config['MM']) && $config['MM'] ? $config['MM'] : '';
         // Fetch children from original language parent:
-        /** @var $dbAnalysisOriginal RelationHandler */
+        /** @var RelationHandler $dbAnalysisOriginal */
         $dbAnalysisOriginal = $this->createRelationHandlerInstance();
         $dbAnalysisOriginal->start($transOrigRecord[$field], $foreignTable, $mmTable, $transOrigRecord['uid'], $table, $config);
         $elementsOriginal = [];
@@ -5038,7 +5038,7 @@ class DataHandler implements LoggerAwareInterface
         }
         unset($dbAnalysisOriginal);
         // Fetch children from current localized parent:
-        /** @var $dbAnalysisCurrent RelationHandler */
+        /** @var RelationHandler $dbAnalysisCurrent */
         $dbAnalysisCurrent = $this->createRelationHandlerInstance();
         $dbAnalysisCurrent->start($parentRecord[$field], $foreignTable, $mmTable, $id, $table, $config);
         // Perform synchronization: Possibly removal of already localized records:
@@ -5434,7 +5434,7 @@ class DataHandler implements LoggerAwareInterface
         } else {
             /** @var FlashMessage $flashMessage */
             $flashMessage = GeneralUtility::makeInstance(FlashMessage::class, $res, '', FlashMessage::ERROR, true);
-            /** @var $flashMessageService FlashMessageService */
+            /** @var FlashMessageService $flashMessageService */
             $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
             $flashMessageService->getMessageQueueByIdentifier()->addMessage($flashMessage);
             $this->newlog($res, 1);
@@ -5882,13 +5882,13 @@ class DataHandler implements LoggerAwareInterface
                 $allowedTables = $conf['type'] === 'group' ? $conf['allowed'] : $conf['foreign_table'];
                 $prependName = $conf['type'] === 'group' ? $conf['prepend_tname'] : '';
                 if ($conf['MM']) {
-                    /** @var $dbAnalysis RelationHandler */
+                    /** @var RelationHandler $dbAnalysis */
                     $dbAnalysis = $this->createRelationHandlerInstance();
                     $dbAnalysis->start('', $allowedTables, $conf['MM'], $id, $table, $conf);
                     if (!empty($dbAnalysis->getValueArray($prependName))) {
                         $this->version_remapMMForVersionSwap_reg[$id][$field] = [$dbAnalysis, $conf['MM'], $prependName];
                     }
-                    /** @var $dbAnalysis RelationHandler */
+                    /** @var RelationHandler $dbAnalysis */
                     $dbAnalysis = $this->createRelationHandlerInstance();
                     $dbAnalysis->start('', $allowedTables, $conf['MM'], $swapWith, $table, $conf);
                     if (!empty($dbAnalysis->getValueArray($prependName))) {
@@ -5946,7 +5946,7 @@ class DataHandler implements LoggerAwareInterface
             $allowedTables = $dsConf['type'] === 'group' ? $dsConf['allowed'] : $dsConf['foreign_table'];
             $prependName = $dsConf['type'] === 'group' ? $dsConf['prepend_tname'] : '';
             if ($dsConf['MM']) {
-                /** @var $dbAnalysis RelationHandler */
+                /** @var RelationHandler $dbAnalysis */
                 $dbAnalysis = $this->createRelationHandlerInstance();
                 $dbAnalysis->start('', $allowedTables, $dsConf['MM'], $uid, $table, $dsConf);
                 $this->version_remapMMForVersionSwap_reg[$uid][$field . '/' . $path] = [$dbAnalysis, $dsConf['MM'], $prependName];
@@ -6178,7 +6178,7 @@ class DataHandler implements LoggerAwareInterface
             if ($inlineType === 'mm') {
                 $this->remapListedDBRecords_procDBRefs($conf, $value, $theUidToUpdate, $table);
             } elseif ($inlineType !== false) {
-                /** @var $dbAnalysis RelationHandler */
+                /** @var RelationHandler $dbAnalysis */
                 $dbAnalysis = $this->createRelationHandlerInstance();
                 $dbAnalysis->start($value, $conf['foreign_table'], '', 0, $table, $conf);
 
@@ -6527,7 +6527,7 @@ class DataHandler implements LoggerAwareInterface
         $res = $this->admin || (!$this->tableAdminOnly($table) && isset($this->BE_USER->groupData['tables_modify']) && GeneralUtility::inList($this->BE_USER->groupData['tables_modify'], $table));
         // Hook 'checkModifyAccessList': Post-processing of the state of access
         foreach ($this->getCheckModifyAccessListHookObjects() as $hookObject) {
-            /** @var $hookObject DataHandlerCheckModifyAccessListHookInterface */
+            /** @var DataHandlerCheckModifyAccessListHookInterface $hookObject */
             $hookObject->checkModifyAccessList($res, $table, $this);
         }
         return $res;
@@ -7412,7 +7412,7 @@ class DataHandler implements LoggerAwareInterface
      */
     public function updateRefIndex($table, $id)
     {
-        /** @var $refIndexObj ReferenceIndex */
+        /** @var ReferenceIndex $refIndexObj */
         $refIndexObj = GeneralUtility::makeInstance(ReferenceIndex::class);
         if (BackendUtility::isTableWorkspaceEnabled($table)) {
             $refIndexObj->setWorkspaceId($this->BE_USER->workspace);
@@ -8939,7 +8939,7 @@ class DataHandler implements LoggerAwareInterface
             $msg = $row['error'] . ': ' . sprintf($row['details'], $log_data[0], $log_data[1], $log_data[2], $log_data[3], $log_data[4]);
             /** @var FlashMessage $flashMessage */
             $flashMessage = GeneralUtility::makeInstance(FlashMessage::class, $msg, '', FlashMessage::ERROR, true);
-            /** @var $flashMessageService FlashMessageService */
+            /** @var FlashMessageService $flashMessageService */
             $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
             $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
             $defaultFlashMessageQueue->enqueue($flashMessage);
index 2f24f82..88e0f44 100644 (file)
@@ -73,7 +73,7 @@ class ItemProcessingService
                 FlashMessage::ERROR,
                 true
             );
-            /** @var $flashMessageService \TYPO3\CMS\Core\Messaging\FlashMessageService */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageService $flashMessageService */
             $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
             $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
             $defaultFlashMessageQueue->enqueue($flashMessage);
index 1ad976e..aff4211 100644 (file)
@@ -1481,9 +1481,9 @@ class ReferenceIndex implements LoggerAwareInterface
             $recordsCheckedString,
             $errorCount ? FlashMessage::ERROR : FlashMessage::OK
         );
-        /** @var $flashMessageService \TYPO3\CMS\Core\Messaging\FlashMessageService */
+        /** @var \TYPO3\CMS\Core\Messaging\FlashMessageService $flashMessageService */
         $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
-        /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */
+        /** @var \TYPO3\CMS\Core\Messaging\FlashMessageQueue $defaultFlashMessageQueue */
         $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
         $defaultFlashMessageQueue->enqueue($flashMessage);
         $bodyContent = $defaultFlashMessageQueue->renderFlashMessages();
index 433dd00..b8b9c5c 100644 (file)
@@ -1310,7 +1310,7 @@ class RelationHandler
     {
         $statisticsArray = [];
         if ($this->updateReferenceIndex) {
-            /** @var $refIndexObj \TYPO3\CMS\Core\Database\ReferenceIndex */
+            /** @var \TYPO3\CMS\Core\Database\ReferenceIndex $refIndexObj */
             $refIndexObj = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Database\ReferenceIndex::class);
             if (BackendUtility::isTableWorkspaceEnabled($table)) {
                 $refIndexObj->setWorkspaceId($this->getWorkspaceId());
index 5c01ded..9582b6f 100644 (file)
@@ -160,16 +160,16 @@ class ErrorHandler implements ErrorHandlerInterface, LoggerAwareInterface
             return false;
         }
         if ($this->debugMode) {
-            /** @var $flashMessage \TYPO3\CMS\Core\Messaging\FlashMessage */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessage $flashMessage */
             $flashMessage = GeneralUtility::makeInstance(
                         \TYPO3\CMS\Core\Messaging\FlashMessage::class,
                         $message,
                         $errorLevels[$errorLevel],
                         $flashMessageSeverity
                     );
-            /** @var $flashMessageService \TYPO3\CMS\Core\Messaging\FlashMessageService */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageService $flashMessageService */
             $flashMessageService = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Messaging\FlashMessageService::class);
-            /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageQueue $defaultFlashMessageQueue */
             $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
             $defaultFlashMessageQueue->enqueue($flashMessage);
         }
index 030ab41..a57ad85 100644 (file)
@@ -45,7 +45,7 @@ class BackendUserGroupIntegrityCheck
         foreach ($explicitAllowDenyFields as $value) {
             if ($value !== '' && strpos($value, 'tt_content:list_type:') === 0) {
                 if (!in_array('tt_content:CType:list:ALLOW', $explicitAllowDenyFields, true)) {
-                    /** @var $flashMessage FlashMessage */
+                    /** @var FlashMessage $flashMessage */
                     $flashMessage = GeneralUtility::makeInstance(
                         FlashMessage::class,
                         $this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:error.backendUserGroupListTypeError.message'),
@@ -53,9 +53,9 @@ class BackendUserGroupIntegrityCheck
                         FlashMessage::WARNING,
                         true
                     );
-                    /** @var $flashMessageService FlashMessageService */
+                    /** @var FlashMessageService $flashMessageService */
                     $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
-                    /** @var $defaultFlashMessageQueue FlashMessageQueue */
+                    /** @var FlashMessageQueue $defaultFlashMessageQueue */
                     $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
                     $defaultFlashMessageQueue->enqueue($flashMessage);
                 }
index 063b4d7..d0b531c 100644 (file)
@@ -342,9 +342,9 @@ class RteHtmlParser extends HtmlParser implements LoggerAwareInterface
         if (count($imgSplit) > 1) {
             $siteUrl = GeneralUtility::getIndpEnv('TYPO3_SITE_URL');
             $sitePath = str_replace(GeneralUtility::getIndpEnv('TYPO3_REQUEST_HOST'), '', $siteUrl);
-            /** @var $resourceFactory Resource\ResourceFactory */
+            /** @var Resource\ResourceFactory $resourceFactory */
             $resourceFactory = Resource\ResourceFactory::getInstance();
-            /** @var $magicImageService Resource\Service\MagicImageService */
+            /** @var Resource\Service\MagicImageService $magicImageService */
             $magicImageService = GeneralUtility::makeInstance(Resource\Service\MagicImageService::class);
             $magicImageService->setMagicImageMaximumDimensions($this->tsConfig);
             foreach ($imgSplit as $k => $v) {
@@ -373,7 +373,7 @@ class RteHtmlParser extends HtmlParser implements LoggerAwareInterface
                     if ($attribArray['data-htmlarea-file-uid']) {
                         // An original image file uid is available
                         try {
-                            /** @var $originalImageFile Resource\File */
+                            /** @var Resource\File $originalImageFile */
                             $originalImageFile = $resourceFactory->getFileObject((int)$attribArray['data-htmlarea-file-uid']);
                         } catch (Resource\Exception\FileDoesNotExistException $fileDoesNotExistException) {
                             // Log the fact the file could not be retrieved.
index d7d9a4c..ae277e5 100644 (file)
@@ -90,7 +90,7 @@ class LanguageService
     public function init($languageKey)
     {
         // Find the requested language in this list based on the $languageKey
-        /** @var $locales \TYPO3\CMS\Core\Localization\Locales */
+        /** @var \TYPO3\CMS\Core\Localization\Locales $locales */
         $locales = GeneralUtility::makeInstance(Locales::class);
         // Language is found. Configure it:
         if (in_array($languageKey, $locales->getLocales())) {
@@ -304,7 +304,7 @@ class LanguageService
             return $this->languageFileCache[$fileRef . $this->lang];
         }
 
-        /** @var $languageFactory LocalizationFactory */
+        /** @var LocalizationFactory $languageFactory */
         $languageFactory = GeneralUtility::makeInstance(LocalizationFactory::class);
 
         if ($this->lang !== 'default') {
index 70b7eea..0c8c4c9 100644 (file)
@@ -135,7 +135,7 @@ class Locales implements \TYPO3\CMS\Core\SingletonInterface
      */
     public static function initialize(): Locales
     {
-        /** @var $instance Locales */
+        /** @var Locales $instance */
         $instance = GeneralUtility::makeInstance(self::class);
         $instance->isoMapping = array_flip($instance->isoReverseMapping);
         // Allow user-defined locales
index ebbf037..f825f33 100644 (file)
@@ -116,7 +116,7 @@ class LocalizationFactory implements \TYPO3\CMS\Core\SingletonInterface
 
         try {
             $this->store->setConfiguration($fileReference, $languageKey);
-            /** @var $parser \TYPO3\CMS\Core\Localization\Parser\LocalizationParserInterface */
+            /** @var \TYPO3\CMS\Core\Localization\Parser\LocalizationParserInterface $parser */
             $parser = $this->store->getParserInstance($fileReference);
             // Get parsed data
             $LOCAL_LANG = $parser->getParsedData($this->store->getAbsoluteFileReference($fileReference), $languageKey);
index a2508a0..0a79b3d 100644 (file)
@@ -88,7 +88,7 @@ class LogManager implements SingletonInterface, LogManagerInterface
      */
     public function getLogger($name = '')
     {
-        /** @var $logger \TYPO3\CMS\Core\Log\Logger */
+        /** @var \TYPO3\CMS\Core\Log\Logger $logger */
         $logger = null;
         // Transform namespaces and underscore class names to the dot-name style
         $separators = ['_', '\\'];
@@ -97,7 +97,7 @@ class LogManager implements SingletonInterface, LogManagerInterface
             $logger = $this->loggers[$name];
         } else {
             // Lazy instantiation
-            /** @var $logger \TYPO3\CMS\Core\Log\Logger */
+            /** @var \TYPO3\CMS\Core\Log\Logger $logger */
             $logger = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(Logger::class, $name, $this->requestId);
             $this->loggers[$name] = $logger;
             $this->setWritersForLogger($logger);
@@ -137,7 +137,7 @@ class LogManager implements SingletonInterface, LogManagerInterface
         foreach ($configuration as $severityLevel => $writer) {
             foreach ($writer as $logWriterClassName => $logWriterOptions) {
                 try {
-                    /** @var $logWriter \TYPO3\CMS\Core\Log\Writer\WriterInterface */
+                    /** @var \TYPO3\CMS\Core\Log\Writer\WriterInterface $logWriter */
                     $logWriter = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance($logWriterClassName, $logWriterOptions);
                     $logger->addWriter($severityLevel, $logWriter);
                 } catch (\Psr\Log\InvalidArgumentException $e) {
@@ -160,7 +160,7 @@ class LogManager implements SingletonInterface, LogManagerInterface
         foreach ($configuration as $severityLevel => $processor) {
             foreach ($processor as $logProcessorClassName => $logProcessorOptions) {
                 try {
-                    /** @var $logProcessor \TYPO3\CMS\Core\Log\Processor\ProcessorInterface */
+                    /** @var \TYPO3\CMS\Core\Log\Processor\ProcessorInterface $logProcessor */
                     $logProcessor = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance($logProcessorClassName, $logProcessorOptions);
                     $logger->addProcessor($severityLevel, $logProcessor);
                 } catch (\Psr\Log\InvalidArgumentException $e) {
index d9df05c..2459957 100644 (file)
@@ -183,7 +183,7 @@ class Logger implements \Psr\Log\LoggerInterface
         if ($level > $this->minimumLogLevel) {
             return $this;
         }
-        /** @var $record \TYPO3\CMS\Core\Log\LogRecord */
+        /** @var \TYPO3\CMS\Core\Log\LogRecord $record */
         $record = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(LogRecord::class, $this->name, $level, $message, $data, $this->requestId);
         $record = $this->callProcessors($record);
         $this->writeLog($record);
index 1d53d66..0cda976 100644 (file)
@@ -1777,16 +1777,16 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface
     /**
      * Fills the marker array with the given strings and trims each value
      *
-     * @param $jsLibs string
-     * @param $jsFiles string
-     * @param $jsFooterFiles string
-     * @param $cssLibs string
-     * @param $cssFiles string
-     * @param $jsInline string
-     * @param $cssInline string
-     * @param $jsFooterInline string
-     * @param $jsFooterLibs string
-     * @param $metaTags string
+     * @param string $jsLibs
+     * @param string $jsFiles
+     * @param string $jsFooterFiles
+     * @param string $cssLibs
+     * @param string $cssFiles
+     * @param string $jsInline
+     * @param string $cssInline
+     * @param string $jsFooterInline
+     * @param string $jsFooterLibs
+     * @param string $metaTags
      * @return array Marker array
      */
     protected function getPreparedMarkerArray($jsLibs, $jsFiles, $jsFooterFiles, $cssLibs, $cssFiles, $jsInline, $cssInline, $jsFooterInline, $jsFooterLibs, $metaTags)
@@ -2306,7 +2306,7 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface
      */
     protected function readLLfile($fileRef)
     {
-        /** @var $languageFactory LocalizationFactory */
+        /** @var LocalizationFactory $languageFactory */
         $languageFactory = GeneralUtility::makeInstance(LocalizationFactory::class);
 
         if ($this->lang !== 'default') {
@@ -2632,15 +2632,15 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface
     /**
      * Execute postRenderHook for possible manipulation
      *
-     * @param $jsLibs string
-     * @param $jsFiles string
-     * @param $jsFooterFiles string
-     * @param $cssLibs string
-     * @param $cssFiles string
-     * @param $jsInline string
-     * @param $cssInline string
-     * @param $jsFooterInline string
-     * @param $jsFooterLibs string
+     * @param string $jsLibs
+     * @param string $jsFiles
+     * @param string $jsFooterFiles
+     * @param string $cssLibs
+     * @param string $cssFiles
+     * @param string $jsInline
+     * @param string $cssInline
+     * @param string $jsFooterInline
+     * @param string $jsFooterLibs
      */
     protected function executePostRenderHook(&$jsLibs, &$jsFiles, &$jsFooterFiles, &$cssLibs, &$cssFiles, &$jsInline, &$cssInline, &$jsFooterInline, &$jsFooterLibs)
     {
index 2e2f447..2a76d29 100644 (file)
@@ -77,7 +77,7 @@ abstract class AbstractFileCollection extends \TYPO3\CMS\Core\Collection\Abstrac
      */
     public function key()
     {
-        /** @var $currentRecord File */
+        /** @var File $currentRecord */
         $currentRecord = $this->storage->current();
         return $currentRecord->getIdentifier();
     }
@@ -91,7 +91,7 @@ abstract class AbstractFileCollection extends \TYPO3\CMS\Core\Collection\Abstrac
     protected function getItemUidList($includeTableName = false)
     {
         $list = [];
-        /** @var $entry File */
+        /** @var File $entry */
         foreach ($this->storage as $entry) {
             $list[] = $this->getItemTableName() . '_' . $entry->getUid();
         }
@@ -123,7 +123,7 @@ abstract class AbstractFileCollection extends \TYPO3\CMS\Core\Collection\Abstrac
     public function toArray()
     {
         $itemArray = [];
-        /** @var $item File */
+        /** @var File $item */
         foreach ($this->storage as $item) {
             $itemArray[] = $item->toArray();
         }
@@ -143,7 +143,7 @@ abstract class AbstractFileCollection extends \TYPO3\CMS\Core\Collection\Abstrac
     public function getItems()
     {
         $itemArray = [];
-        /** @var $item File */
+        /** @var File $item */
         foreach ($this->storage as $item) {
             $itemArray[] = $item;
         }
@@ -202,7 +202,7 @@ abstract class AbstractFileCollection extends \TYPO3\CMS\Core\Collection\Abstrac
      */
     public function addAll(CollectionInterface $other)
     {
-        /** @var $value File */
+        /** @var File $value */
         foreach ($other as $value) {
             $this->add($value);
         }
@@ -216,7 +216,7 @@ abstract class AbstractFileCollection extends \TYPO3\CMS\Core\Collection\Abstrac
     public function remove(File $file)
     {
         $offset = 0;
-        /** @var $value File */
+        /** @var File $value */
         foreach ($this->storage as $value) {
             if ($value === $file) {
                 break;
index 607ba2c..53dbdeb 100644 (file)
@@ -112,9 +112,9 @@ class FolderBasedFileCollection extends AbstractFileCollection
         $this->description = $array['description'];
         $this->recursive = (bool)$array['recursive'];
         if (!empty($array['folder']) && !empty($array['storage'])) {
-            /** @var $storageRepository StorageRepository */
+            /** @var StorageRepository $storageRepository */
             $storageRepository = GeneralUtility::makeInstance(StorageRepository::class);
-            /** @var $storage \TYPO3\CMS\Core\Resource\ResourceStorage */
+            /** @var \TYPO3\CMS\Core\Resource\ResourceStorage $storage */
             $storage = $storageRepository->findByUid($array['storage']);
             if ($storage) {
                 $this->folder = $storage->getFolder($array['folder']);
index f138b65..cc0e407 100644 (file)
@@ -536,7 +536,7 @@ class LocalDriver extends AbstractHierarchicalFilesystemDriver
 
         $directoryEntries = [];
         while ($iterator->valid()) {
-            /** @var $entry \SplFileInfo */
+            /** @var \SplFileInfo $entry */
             $entry = $iterator->current();
             $isFile = $entry->isFile();
             $isDirectory = $isFile ? false : $entry->isDir();
@@ -1058,7 +1058,7 @@ class LocalDriver extends AbstractHierarchicalFilesystemDriver
         $targetFolderPath = $this->getAbsolutePath($newFolderIdentifier);
 
         mkdir($targetFolderPath);
-        /** @var $iterator \RecursiveDirectoryIterator */
+        /** @var \RecursiveDirectoryIterator $iterator */
         $iterator = new \RecursiveIteratorIterator(
             new \RecursiveDirectoryIterator($sourceFolderPath),
             \RecursiveIteratorIterator::SELF_FIRST,
@@ -1067,7 +1067,7 @@ class LocalDriver extends AbstractHierarchicalFilesystemDriver
         // Rewind the iterator as this is important for some systems e.g. Windows
         $iterator->rewind();
         while ($iterator->valid()) {
-            /** @var $current \RecursiveDirectoryIterator */
+            /** @var \RecursiveDirectoryIterator $current */
             $current = $iterator->current();
             $fileName = $current->getFilename();
             $itemSubPath = GeneralUtility::fixWindowsFilePath($iterator->getSubPathname());
index 57f3546..4c10cde 100644 (file)
@@ -86,7 +86,7 @@ class FileReference implements FileInterface
             throw new \InvalidArgumentException('Incorrect reference to original file given for FileReference.', 1300098528);
         }
         if (!$factory) {
-            /** @var $factory ResourceFactory */
+            /** @var ResourceFactory $factory */
             $factory = ResourceFactory::getInstance();
         }
         $this->originalFile = $factory->getFileObject($fileReferenceData['uid_local']);
index 9c0c338..b9eba43 100644 (file)
@@ -106,7 +106,7 @@ class FileRepository extends AbstractRepository
                 $referenceUids[] = $row['uid'];
             }
         } else {
-            /** @var $relationHandler RelationHandler */
+            /** @var RelationHandler $relationHandler */
             $relationHandler = GeneralUtility::makeInstance(RelationHandler::class);
             $relationHandler->start(
                 '',
index e67bbf9..27c7d07 100644 (file)
@@ -551,7 +551,7 @@ class FileIndexRepository implements SingletonInterface
      */
     public function updateRefIndex($id)
     {
-        /** @var $refIndexObj ReferenceIndex */
+        /** @var ReferenceIndex $refIndexObj */
         $refIndexObj = GeneralUtility::makeInstance(ReferenceIndex::class);
         $refIndexObj->enableRuntimeCache();
         $refIndexObj->updateRefIndexTable($this->table, $id);
index a45ddae..17a947c 100644 (file)
@@ -150,7 +150,7 @@ class FileDeletionAspect
             return;
         }
 
-        /** @var $processedFile \TYPO3\CMS\Core\Resource\ProcessedFile */
+        /** @var \TYPO3\CMS\Core\Resource\ProcessedFile $processedFile */
         foreach ($this->getProcessedFileRepository()->findAllByOriginalFile($fileObject) as $processedFile) {
             if ($processedFile->exists()) {
                 $processedFile->delete(true);
index 477bf42..3a861f8 100644 (file)
@@ -93,7 +93,7 @@ class ResourceFactory implements ResourceFactoryInterface, \TYPO3\CMS\Core\Singl
      */
     public function getDriverObject($driverIdentificationString, array $driverConfiguration)
     {
-        /** @var $driverRegistry Driver\DriverRegistry */
+        /** @var Driver\DriverRegistry $driverRegistry */
         $driverRegistry = GeneralUtility::makeInstance(Driver\DriverRegistry::class);
         $driverClass = $driverRegistry->getDriverClass($driverIdentificationString);
         $driverObject = GeneralUtility::makeInstance($driverClass, $driverConfiguration);
@@ -112,7 +112,7 @@ class ResourceFactory implements ResourceFactoryInterface, \TYPO3\CMS\Core\Singl
      */
     public function getDefaultStorage()
     {
-        /** @var $storageRepository StorageRepository */
+        /** @var StorageRepository $storageRepository */
         $storageRepository = GeneralUtility::makeInstance(StorageRepository::class);
 
         $allStorages = $storageRepository->findAll();
@@ -169,9 +169,9 @@ class ResourceFactory implements ResourceFactoryInterface, \TYPO3\CMS\Core\Singl
                     'pathType' => 'relative'
                 ];
             } elseif (count($recordData) === 0 || (int)$recordData['uid'] !== $uid) {
-                /** @var $storageRepository StorageRepository */
+                /** @var StorageRepository $storageRepository */
                 $storageRepository = GeneralUtility::makeInstance(StorageRepository::class);
-                /** @var $storage ResourceStorage */
+                /** @var ResourceStorage $storage */
                 $storageObject = $storageRepository->findByUid($uid);
             }
             if (!$storageObject instanceof ResourceStorage) {
@@ -244,9 +244,9 @@ class ResourceFactory implements ResourceFactoryInterface, \TYPO3\CMS\Core\Singl
      */
     protected function initializeLocalStorageCache()
     {
-        /** @var $storageRepository StorageRepository */
+        /** @var StorageRepository $storageRepository */
         $storageRepository = GeneralUtility::makeInstance(StorageRepository::class);
-        /** @var $storageObjects ResourceStorage[] */
+        /** @var ResourceStorage[] $storageObjects */
         $storageObjects = $storageRepository->findByStorageType('Local');
 
         $storageCache = [];
@@ -320,7 +320,7 @@ class ResourceFactory implements ResourceFactoryInterface, \TYPO3\CMS\Core\Singl
      */
     public function createCollectionObject(array $collectionData)
     {
-        /** @var $registry Collection\FileCollectionRegistry */
+        /** @var Collection\FileCollectionRegistry $registry */
         $registry = GeneralUtility::makeInstance(Collection\FileCollectionRegistry::class);
 
         /** @var \TYPO3\CMS\Core\Collection\AbstractRecordCollection $class */
index d8fbb3b..d50733f 100644 (file)
@@ -1565,7 +1565,7 @@ class ResourceStorage implements ResourceStorageInterface
         if ($this->processingFolders === null) {
             $this->processingFolders = [];
             $this->processingFolders[] = $this->getProcessingFolder();
-            /** @var $storageRepository StorageRepository */
+            /** @var StorageRepository $storageRepository */
             $storageRepository = GeneralUtility::makeInstance(StorageRepository::class);
             $allStorages = $storageRepository->findAll();
             foreach ($allStorages as $storage) {
index c9a8ebe..334ebf3 100644 (file)
@@ -74,7 +74,7 @@ class FileProcessingService
             $configuration = Resource\Processing\LocalPreviewHelper::preProcessConfiguration($configuration);
         }
 
-        /** @var $processedFileRepository Resource\ProcessedFileRepository */
+        /** @var Resource\ProcessedFileRepository $processedFileRepository */
         $processedFileRepository = GeneralUtility::makeInstance(Resource\ProcessedFileRepository::class);
 
         $processedFile = $processedFileRepository->findOneByOriginalFileAndTaskTypeAndConfiguration($fileObject, $taskType, $configuration);
@@ -110,12 +110,12 @@ class FileProcessingService
         if ($processedFile->isNew() || (!$processedFile->usesOriginalFile() && !$processedFile->exists()) ||
             $processedFile->isOutdated()) {
             $task = $processedFile->getTask();
-            /** @var $processor Resource\Processing\LocalImageProcessor */
+            /** @var Resource\Processing\LocalImageProcessor $processor */
             $processor = GeneralUtility::makeInstance(Resource\Processing\LocalImageProcessor::class);
             $processor->processTask($task);
 
             if ($task->isExecuted() && $task->isSuccessful() && $processedFile->isProcessed()) {
-                /** @var $processedFileRepository Resource\ProcessedFileRepository */
+                /** @var Resource\ProcessedFileRepository $processedFileRepository */
                 $processedFileRepository = GeneralUtility::makeInstance(Resource\ProcessedFileRepository::class);
                 $processedFileRepository->add($processedFile);
             }
index ff9d8fe..ee85f1c 100644 (file)
@@ -53,9 +53,9 @@ class UserFileMountService
             $storageUid = (int)$PA['row']['storage'][0];
         }
         if ($storageUid > 0 && in_array($storageUid, $allowedStorageIds, true)) {
-            /** @var $storageRepository StorageRepository */
+            /** @var StorageRepository $storageRepository */
             $storageRepository = GeneralUtility::makeInstance(StorageRepository::class);
-            /** @var $storage \TYPO3\CMS\Core\Resource\ResourceStorage */
+            /** @var \TYPO3\CMS\Core\Resource\ResourceStorage $storage */
             $storage = $storageRepository->findByUid($storageUid);
             if ($storage === null) {
                 /** @var FlashMessageService $flashMessageService */
index db2fb58..0a4d878 100644 (file)
@@ -45,9 +45,9 @@ class UserStorageCapabilityService
         if ((int)$propertyArray['row']['uid'] > 0) {
             /** @var LanguageService $lang */
             $lang = $GLOBALS['LANG'];
-            /** @var $flashMessageService FlashMessageService */
+            /** @var FlashMessageService $flashMessageService */
             $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
-            /** @var $defaultFlashMessageQueue FlashMessageQueue */
+            /** @var FlashMessageQueue $defaultFlashMessageQueue */
             $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
             try {
                 $storage = ResourceFactory::getInstance()->getStorageObject($fileRecord['uid']);
index 3f552b9..97fc2bb 100644 (file)
@@ -133,7 +133,7 @@ class StorageRepository extends AbstractRepository implements LoggerAwareInterfa
     {
         $this->initializeLocalCache();
 
-        /** @var $driverRegistry Driver\DriverRegistry */
+        /** @var Driver\DriverRegistry $driverRegistry */
         $driverRegistry = GeneralUtility::makeInstance(Driver\DriverRegistry::class);
 
         $storageObjects = [];
@@ -163,7 +163,7 @@ class StorageRepository extends AbstractRepository implements LoggerAwareInterfa
     {
         $this->initializeLocalCache();
 
-        /** @var $driverRegistry Driver\DriverRegistry */
+        /** @var Driver\DriverRegistry $driverRegistry */
         $driverRegistry = GeneralUtility::makeInstance(Driver\DriverRegistry::class);
 
         $storageObjects = [];
@@ -206,7 +206,7 @@ class StorageRepository extends AbstractRepository implements LoggerAwareInterfa
             ]
         ];
 
-        /** @var $flexObj FlexFormTools */
+        /** @var FlexFormTools $flexObj */
         $flexObj = GeneralUtility::makeInstance(FlexFormTools::class);
         $flexFormXml = $flexObj->flexArray2Xml($flexFormData, true);
 
index 6870f77..876a3b1 100644 (file)
@@ -34,7 +34,7 @@ class ListUtility
         $lang = $GLOBALS['LANG'];
         $resolvedFolders = [];
 
-        /** @var $folder \TYPO3\CMS\Core\Resource\Folder */
+        /** @var \TYPO3\CMS\Core\Resource\Folder $folder */
         foreach ($folders as $folder) {
             $name = $folder->getName();
             $role = $folder->getRole();
index 8e21b6f..83a54c1 100644 (file)
@@ -246,7 +246,7 @@ class DatabaseTreeDataProvider extends AbstractTableConfigurationTreeDataProvide
      */
     protected function buildRepresentationForNode(\TYPO3\CMS\Backend\Tree\TreeNode $basicNode, DatabaseTreeNode $parent = null, $level = 0)
     {
-        /** @var $node \TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeNode */
+        /** @var \TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeNode $node */
         $node = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeNode::class);
         $row = [];
         if ($basicNode->getId() == 0) {
@@ -267,7 +267,7 @@ class DatabaseTreeDataProvider extends AbstractTableConfigurationTreeDataProvide
         $node->setParentNode($parent);
         if ($basicNode->hasChildNodes()) {
             $node->setHasChildren(true);
-            /** @var $childNodes \TYPO3\CMS\Backend\Tree\SortedTreeNodeCollection */
+            /** @var \TYPO3\CMS\Backend\Tree\SortedTreeNodeCollection $childNodes */
             $childNodes = GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Tree\SortedTreeNodeCollection::class);
             $tempNodes = [];
             foreach ($basicNode->getChildNodes() as $child) {
@@ -346,7 +346,7 @@ class DatabaseTreeDataProvider extends AbstractTableConfigurationTreeDataProvide
         $storage = null;
         $children = $this->getRelatedRecords($nodeData);
         if (!empty($children)) {
-            /** @var $storage \TYPO3\CMS\Backend\Tree\TreeNodeCollection */
+            /** @var \TYPO3\CMS\Backend\Tree\TreeNodeCollection $storage */
             $storage = GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Tree\TreeNodeCollection::class);
             foreach ($children as $child) {
                 $node = GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Tree\TreeNode::class);
@@ -400,7 +400,7 @@ class DatabaseTreeDataProvider extends AbstractTableConfigurationTreeDataProvide
 
             case 'select':
                 if ($this->columnConfiguration['MM']) {
-                    /** @var $dbGroup \TYPO3\CMS\Core\Database\RelationHandler */
+                    /** @var \TYPO3\CMS\Core\Database\RelationHandler $dbGroup */
                     $dbGroup = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Database\RelationHandler::class);
                     // Dummy field for setting "look from other site"
                     $this->columnConfiguration['MM_oppositeField'] = 'children';
index cab4fb4..d9af53b 100644 (file)
@@ -32,7 +32,7 @@ class TreeDataProviderFactory
      */
     public static function getDataProvider(array $tcaConfiguration, $table, $field, $currentValue)
     {
-        /** @var $dataProvider \TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider */
+        /** @var \TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider $dataProvider */
         $dataProvider = null;
         if (!isset($tcaConfiguration['treeConfig']) || !is_array($tcaConfiguration['treeConfig'])) {
             throw new \InvalidArgumentException('TCA Tree configuration is invalid: "treeConfig" array is missing', 1288215890);
index 1012dd4..500d9ef 100644 (file)
@@ -511,7 +511,7 @@ class TemplateService
     public function matching($cc)
     {
         if (is_array($cc['all'])) {
-            /** @var $matchObj ConditionMatcher */
+            /** @var ConditionMatcher $matchObj */
             $matchObj = GeneralUtility::makeInstance(ConditionMatcher::class);
             $matchObj->setRootline((array)$cc['rootLine']);
             $sectionsMatch = [];
@@ -631,7 +631,7 @@ class TemplateService
             if (!$isCached && !$this->simulationHiddenOrTime && !$this->getTypoScriptFrontendController()->no_cache) {
                 // Only save the data if we're not simulating by hidden/starttime/endtime
                 $mpvarHash = GeneralUtility::md5int($this->getTypoScriptFrontendController()->MP);
-                /** @var $pageSectionCache \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */
+                /** @var \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $pageSectionCache */
                 $pageSectionCache = GeneralUtility::makeInstance(CacheManager::class)->getCache('cache_pagesection');
                 $pageSectionCache->set((int)$this->getTypoScriptFrontendController()->id . '_' . $mpvarHash, $cc, [
                     'pageId_' . (int)$this->getTypoScriptFrontendController()->id,
@@ -1122,11 +1122,11 @@ class TemplateService
         // Parse TypoScript Constants
         // ****************************
         // Initialize parser and match-condition classes:
-        /** @var $constants Parser\TypoScriptParser */
+        /** @var Parser\TypoScriptParser $constants */
         $constants = GeneralUtility::makeInstance(Parser\TypoScriptParser::class);
         $constants->breakPointLN = (int)$this->ext_constants_BRP;
         $constants->setup = $this->mergeConstantsFromPageTSconfig([]);
-        /** @var $matchObj ConditionMatcher */
+        /** @var ConditionMatcher $matchObj */
         $matchObj = GeneralUtility::makeInstance(ConditionMatcher::class);
         $matchObj->setSimulateMatchConditions($this->matchAlternative);
         $matchObj->setSimulateMatchResult((bool)$this->matchAll);
@@ -1143,7 +1143,7 @@ class TemplateService
         // Parse TypoScript Setup (here called "config")
         // ***********************************************
         // Initialize parser and match-condition classes:
-        /** @var $config Parser\TypoScriptParser */
+        /** @var Parser\TypoScriptParser $config */
         $config = GeneralUtility::makeInstance(Parser\TypoScriptParser::class);
         $config->breakPointLN = (int)$this->ext_config_BRP;
         $config->regLinenumbers = $this->ext_regLinenumbers;
@@ -1286,7 +1286,7 @@ class TemplateService
         // Parsing the user TS (or getting from cache)
         $TSdataArray = Parser\TypoScriptParser::checkIncludeLines_array($TSdataArray);
         $userTS = implode(LF . '[GLOBAL]' . LF, $TSdataArray);
-        /** @var $parseObj Parser\TypoScriptParser */
+        /** @var Parser\TypoScriptParser $parseObj */
         $parseObj = GeneralUtility::makeInstance(Parser\TypoScriptParser::class);
         $parseObj->parse($userTS);
         if (is_array($parseObj->setup['TSFE.']['constants.'])) {
index fa8860f..9d58b35 100644 (file)
@@ -137,8 +137,8 @@ class ExtensionManagementUtility
     /**
      * Returns the absolute path to the extension with extension key $key.
      *
-     * @param $key string Extension key
-     * @param $script string $script is appended to the output if set.
+     * @param string $key Extension key
+     * @param string $script $script is appended to the output if set.
      * @throws \BadFunctionCallException
      * @return string
      */
@@ -1535,7 +1535,7 @@ tt_content.' . $key . $suffix . ' {
     {
         if ($allowCaching) {
             $cacheIdentifier = self::getExtLocalconfCacheIdentifier();
-            /** @var $codeCache \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */
+            /** @var \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $codeCache */
             $codeCache = self::getCacheManager()->getCache('cache_core');
             if ($codeCache->has($cacheIdentifier)) {
                 $codeCache->require($cacheIdentifier);
@@ -1634,7 +1634,7 @@ tt_content.' . $key . $suffix . ' {
     {
         if ($allowCaching) {
             $cacheIdentifier = static::getBaseTcaCacheIdentifier();
-            /** @var $codeCache \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */
+            /** @var \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $codeCache */
             $codeCache = static::getCacheManager()->getCache('cache_core');
             $cacheData = $codeCache->require($cacheIdentifier);
             if ($cacheData) {
@@ -1743,7 +1743,7 @@ tt_content.' . $key . $suffix . ' {
      */
     protected static function createBaseTcaCacheFile()
     {
-        /** @var $codeCache \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */
+        /** @var \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $codeCache */
         $codeCache = self::getCacheManager()->getCache('cache_core');
         $codeCache->set(
             static::getBaseTcaCacheIdentifier(),
@@ -1779,7 +1779,7 @@ tt_content.' . $key . $suffix . ' {
         if ($allowCaching && !self::$extTablesWasReadFromCacheOnce) {
             self::$extTablesWasReadFromCacheOnce = true;
             $cacheIdentifier = self::getExtTablesCacheIdentifier();
-            /** @var $codeCache \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */
+            /** @var \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $codeCache */
             $codeCache = self::getCacheManager()->getCache('cache_core');
             if ($codeCache->has($cacheIdentifier)) {
                 $codeCache->require($cacheIdentifier);
index e814239..1fdab5b 100644 (file)
@@ -635,7 +635,7 @@ class ExtendedFileUtility extends BasicFileUtility
     protected function func_copy($cmds)
     {
         $sourceFileObject = $this->getFileObject($cmds['data']);
-        /** @var $targetFolderObject \TYPO3\CMS\Core\Resource\Folder */
+        /** @var \TYPO3\CMS\Core\Resource\Folder $targetFolderObject */
         $targetFolderObject = $this->getFileObject($cmds['target']);
         // Basic check
         if (!$targetFolderObject instanceof Folder) {
@@ -1081,7 +1081,7 @@ class ExtendedFileUtility extends BasicFileUtility
                 'size' => $uploadedFileData['size'][$i]
             ];
             try {
-                /** @var $fileObject File */
+                /** @var File $fileObject */
                 $fileObject = $targetFolderObject->addUploadedFile($fileInfo, (string)$this->existingFilesConflictMode);
                 $fileObject = ResourceFactory::getInstance()->getFileObjectByStorageAndIdentifier($targetFolderObject->getStorage()->getUid(), $fileObject->getIdentifier());
                 if ($this->existingFilesConflictMode->equals(DuplicationBehavior::REPLACE)) {
@@ -1202,10 +1202,10 @@ class ExtendedFileUtility extends BasicFileUtility
      */
     protected function addFlashMessage(FlashMessage $flashMessage)
     {
-        /** @var $flashMessageService FlashMessageService */
+        /** @var FlashMessageService $flashMessageService */
         $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
 
-        /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */
+        /** @var \TYPO3\CMS\Core\Messaging\FlashMessageQueue $defaultFlashMessageQueue */
         $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
         $defaultFlashMessageQueue->enqueue($flashMessage);
     }
index 2a0ab2e..95b6945 100644 (file)
@@ -199,7 +199,7 @@ class MailUtility
      */
     public static function parseAddresses($rawAddresses)
     {
-        /** @var $addressParser \TYPO3\CMS\Core\Mail\Rfc822AddressesParser */
+        /** @var \TYPO3\CMS\Core\Mail\Rfc822AddressesParser $addressParser */
         $addressParser = GeneralUtility::makeInstance(
             \TYPO3\CMS\Core\Mail\Rfc822AddressesParser::class,
             $rawAddresses
index b941273..139da58 100644 (file)
@@ -287,7 +287,7 @@ class RootlineUtility
             if (array_key_exists($column, $pageRecord) && $this->columnHasRelationToResolve($configuration)) {
                 $configuration = $configuration['config'];
                 if ($configuration['MM']) {
-                    /** @var $loadDBGroup \TYPO3\CMS\Core\Database\RelationHandler */
+                    /** @var \TYPO3\CMS\Core\Database\RelationHandler $loadDBGroup */
                     $loadDBGroup = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Database\RelationHandler::class);
                     $loadDBGroup->start(
                         $pageRecord[$column],
index 5f2771b..563fa6e 100644 (file)
@@ -2,7 +2,7 @@
 defined('TYPO3_MODE') or die();
 
 // Populate available languages
-/** @var $locales \TYPO3\CMS\Core\Localization\Locales */
+/** @var \TYPO3\CMS\Core\Localization\Locales $locales */
 $locales = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Localization\Locales::class);
 $languageItems = $locales->getLanguages();
 unset($languageItems['default']);
index 7f48fb4..32f0a73 100644 (file)
@@ -52,7 +52,7 @@ class BackendConfigurationManager extends AbstractConfigurationManager
         $pageId = $this->getCurrentPageId();
 
         if (!array_key_exists($pageId, $this->typoScriptSetupCache)) {
-            /** @var $template TemplateService */
+            /** @var TemplateService $template */
             $template = GeneralUtility::makeInstance(TemplateService::class);
             // do not log time-performance information
             $template->tt_track = false;
index d8d8f62..392258d 100644 (file)
@@ -158,7 +158,7 @@ class Bootstrap implements \TYPO3\CMS\Extbase\Core\BootstrapInterface
      */
     protected function handleRequest()
     {
-        /** @var $requestHandlerResolver \TYPO3\CMS\Extbase\Mvc\RequestHandlerResolver */
+        /** @var \TYPO3\CMS\Extbase\Mvc\RequestHandlerResolver $requestHandlerResolver */
         $requestHandlerResolver = $this->objectManager->get(\TYPO3\CMS\Extbase\Mvc\RequestHandlerResolver::class);
         $requestHandler = $requestHandlerResolver->resolveRequestHandler();
 
@@ -203,7 +203,7 @@ class Bootstrap implements \TYPO3\CMS\Extbase\Core\BootstrapInterface
 
         $this->initialize($configuration);
 
-        /** @var $requestHandlerResolver \TYPO3\CMS\Extbase\Mvc\RequestHandlerResolver */
+        /** @var \TYPO3\CMS\Extbase\Mvc\RequestHandlerResolver $requestHandlerResolver */
         $requestHandlerResolver = $this->objectManager->get(\TYPO3\CMS\Extbase\Mvc\RequestHandlerResolver::class);
         $requestHandler = $requestHandlerResolver->resolveRequestHandler();
         /** @var Response $extbaseResponse */
index d84aa66..33ac882 100644 (file)
@@ -26,7 +26,7 @@ class BackendUserGroupRepository extends \TYPO3\CMS\Extbase\Persistence\Reposito
      */
     public function initializeObject()
     {
-        /** @var $querySettings \TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings */
+        /** @var \TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings $querySettings */
         $querySettings = $this->objectManager->get(\TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings::class);
         $querySettings->setRespectStoragePage(false);
         $this->setDefaultQuerySettings($querySettings);
index 7b45564..2ff1217 100644 (file)
@@ -26,7 +26,7 @@ class BackendUserRepository extends \TYPO3\CMS\Extbase\Persistence\Repository
      */
     public function initializeObject()
     {
-        /** @var $querySettings \TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings */
+        /** @var \TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings $querySettings */
         $querySettings = $this->objectManager->get(\TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings::class);
         $querySettings->setRespectStoragePage(false);
         $this->setDefaultQuerySettings($querySettings);
index 2ca871a..51d2ed7 100644 (file)
@@ -26,7 +26,7 @@ class CategoryRepository extends \TYPO3\CMS\Extbase\Persistence\Repository
      */
     public function initializeObject()
     {
-        /** @var $querySettings \TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings */
+        /** @var \TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings $querySettings */
         $querySettings = $this->objectManager->get(\TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings::class);
         $querySettings->setRespectStoragePage(false);
         $this->setDefaultQuerySettings($querySettings);
index a9f8155..1aad29b 100644 (file)
@@ -26,7 +26,7 @@ class FileMountRepository extends \TYPO3\CMS\Extbase\Persistence\Repository
      */
     public function initializeObject()
     {
-        /** @var $querySettings \TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings */
+        /** @var \TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings $querySettings */
         $querySettings = $this->objectManager->get(\TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings::class);
         $querySettings->setRespectStoragePage(false);
         $this->setDefaultQuerySettings($querySettings);
index b2e0fed..f38d982 100644 (file)
@@ -447,7 +447,7 @@ class Result
         }
 
         foreach ($otherResult->getSubResults() as $subPropertyName => $subResult) {
-            /** @var $subResult Result */
+            /** @var Result $subResult */
             if (array_key_exists($subPropertyName, $this->propertyResults) && $this->propertyResults[$subPropertyName]->hasMessages()) {
                 $this->forProperty($subPropertyName)->merge($subResult);
             } else {
index 604f998..5a8f687 100644 (file)
@@ -77,7 +77,7 @@ class RequestHandler implements \TYPO3\CMS\Extbase\Mvc\RequestHandlerInterface
         }
 
         $request = $this->requestBuilder->build($commandLine, $callingScript);
-        /** @var $response \TYPO3\CMS\Extbase\Mvc\Cli\Response */
+        /** @var \TYPO3\CMS\Extbase\Mvc\Cli\Response $response */
         $response = $this->objectManager->get(\TYPO3\CMS\Extbase\Mvc\Cli\Response::class);
         $this->dispatcher->dispatch($request, $response);
         $response->send();
index 1db33d4..41e6b97 100644 (file)
@@ -242,7 +242,7 @@ abstract class AbstractController implements ControllerInterface
      */
     protected function buildControllerContext()
     {
-        /** @var $controllerContext \TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext */
+        /** @var \TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext */
         $controllerContext = $this->objectManager->get(\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext::class);
         $controllerContext->setRequest($this->request);
         $controllerContext->setResponse($this->response);
index 919940c..617bbef 100644 (file)
@@ -362,7 +362,7 @@ class ActionController extends AbstractController
     {
         $viewObjectName = $this->resolveViewObjectName();
         if ($viewObjectName !== false) {
-            /** @var $view ViewInterface */
+            /** @var ViewInterface $view */
             $view = $this->objectManager->get($viewObjectName);
             $this->setViewConfiguration($view);
             if ($view->canRender($this->controllerContext) === false) {
@@ -370,7 +370,7 @@ class ActionController extends AbstractController
             }
         }
         if (!isset($view) && $this->defaultViewObjectName != '') {
-            /** @var $view ViewInterface */
+            /** @var ViewInterface $view */
             $view = $this->objectManager->get($this->defaultViewObjectName);
             $this->setViewConfiguration($view);
             if ($view->canRender($this->controllerContext) === false) {
index f575ff6..928c5fe 100644 (file)
@@ -138,7 +138,7 @@ class Arguments extends \ArrayObject
      */
     public function addNewArgument($name, $dataType = 'Text', $isRequired = false, $defaultValue = null)
     {
-        /** @var $argument Argument */
+        /** @var Argument $argument */
         $argument = $this->objectManager->get(\TYPO3\CMS\Extbase\Mvc\Controller\Argument::class, $name, $dataType);
         $argument->setRequired($isRequired);
         $argument->setDefaultValue($defaultValue);
index f816811..f504622 100644 (file)
@@ -29,7 +29,7 @@ class BackendRequestHandler extends AbstractRequestHandler
     public function handleRequest()
     {
         $request = $this->requestBuilder->build();
-        /** @var $response \TYPO3\CMS\Extbase\Mvc\ResponseInterface */
+        /** @var \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response */
         $response = $this->objectManager->get(\TYPO3\CMS\Extbase\Mvc\Web\Response::class);
         $this->dispatcher->dispatch($request, $response);
         return $response;
index 0c0ed57..3802475 100644 (file)
@@ -86,7 +86,7 @@ class FrontendRequestHandler extends AbstractRequestHandler
             $this->cacheHashEnforcer->enforceForRequest($request, $pluginNamespace);
         }
 
-        /** @var $response \TYPO3\CMS\Extbase\Mvc\ResponseInterface */
+        /** @var \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response */
         $response = $this->objectManager->get(\TYPO3\CMS\Extbase\Mvc\Web\Response::class);
         $this->dispatcher->dispatch($request, $response);
         return $response;
index 78345f4..c95e1c9 100644 (file)
@@ -163,7 +163,7 @@ class RequestBuilder implements \TYPO3\CMS\Core\SingletonInterface
         }
         $controllerName = $this->resolveControllerName($parameters);
         $actionName = $this->resolveActionName($controllerName, $parameters);
-        /** @var $request \TYPO3\CMS\Extbase\Mvc\Web\Request */
+        /** @var \TYPO3\CMS\Extbase\Mvc\Web\Request $request */
         $request = $this->objectManager->get(\TYPO3\CMS\Extbase\Mvc\Web\Request::class);
         if ($this->vendorName !== null) {
             $request->setControllerVendorName($this->vendorName);
index b823b2d..6f0726e 100644 (file)
@@ -150,7 +150,7 @@ class DataMapFactory implements \TYPO3\CMS\Core\SingletonInterface
                 }
             }
         }
-        /** @var $dataMap \TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMap */
+        /** @var \TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMap $dataMap */
         $dataMap = $this->objectManager->get(\TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMap::class, $className, $tableName, $recordType, $subclasses);
         $dataMap = $this->addMetaDataColumnNames($dataMap, $tableName);
         // $classPropertyNames = $this->reflectionService->getClassPropertyNames($className);
index 0e8a849..6f38178 100644 (file)
@@ -100,9 +100,9 @@ class Typo3QuerySettings implements QuerySettingsInterface
      */
     public function initializeObject()
     {
-        /** @var $objectManager ObjectManager */
+        /** @var ObjectManager $objectManager */
         $objectManager = GeneralUtility::makeInstance(ObjectManager::class);
-        /** @var $configurationManager ConfigurationManagerInterface */
+        /** @var ConfigurationManagerInterface $configurationManager */
         $configurationManager = $objectManager->get(ConfigurationManagerInterface::class);
         if (TYPO3_MODE === 'BE' && $configurationManager->isFeatureEnabled('ignoreAllEnableFieldsInBe')) {
             $this->setIgnoreEnableFields(true);
index 7e8811c..1407cc1 100644 (file)
@@ -33,7 +33,7 @@ class PropertyMappingConfigurationBuilder implements \TYPO3\CMS\Core\SingletonIn
      */
     public function build($type = \TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration::class)
     {
-        /** @var $configuration \TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration */
+        /** @var \TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration $configuration */
         $configuration = new $type();
 
         $configuration->setTypeConverterOptions(\TYPO3\CMS\Extbase\Property\TypeConverter\PersistentObjectConverter::class, [
index 6cdce83..a435784 100644 (file)
@@ -62,7 +62,7 @@ abstract class AbstractFileCollectionConverter extends \TYPO3\CMS\Extbase\Proper
         if (empty($this->expectedObjectType) || !$object instanceof $this->expectedObjectType) {
             throw new \TYPO3\CMS\Extbase\Property\Exception('Expected object of type "' . $this->expectedObjectType . '" but got ' . get_class($object), 1342895976);
         }
-        /** @var $subject \TYPO3\CMS\Extbase\Domain\Model\AbstractFileCollection */
+        /** @var \TYPO3\CMS\Extbase\Domain\Model\AbstractFileCollection $subject */
         $subject = $this->objectManager->get($targetType);
         $subject->setObject($object);
         return $subject;
index 1c01c8a..146dcd1 100644 (file)
@@ -62,7 +62,7 @@ abstract class AbstractFileFolderConverter extends \TYPO3\CMS\Extbase\Property\T
         if (empty($this->expectedObjectType) || !$object instanceof $this->expectedObjectType) {
             throw new \TYPO3\CMS\Extbase\Property\Exception('Expected object of type "' . $this->expectedObjectType . '" but got ' . get_class($object), 1342895975);
         }
-        /** @var $subject \TYPO3\CMS\Extbase\Domain\Model\AbstractFileFolder */
+        /** @var \TYPO3\CMS\Extbase\Domain\Model\AbstractFileFolder $subject */
         $subject = $this->objectManager->get($targetType);
         $subject->setOriginalResource($object);
         return $subject;
index f5b16e5..b37d4b7 100644 (file)
@@ -480,7 +480,7 @@ class ClassSchema
             $this->methods[$methodName]['description'] = $docCommentParser->getDescription();
 
             foreach ($reflectionMethod->getParameters() as $parameterPosition => $reflectionParameter) {
-                /* @var $reflectionParameter \ReflectionParameter */
+                /* @var \ReflectionParameter $reflectionParameter */
 
                 $parameterName = $reflectionParameter->getName();
 
index 4755145..1349fd8 100644 (file)
@@ -3,7 +3,7 @@ defined('TYPO3_MODE') or die();
 
 // We set the default implementation for Storage Backend & Query Settings in Backend and Frontend.
 // The code below is NO PUBLIC API!
-/** @var $extbaseObjectContainer \TYPO3\CMS\Extbase\Object\Container\Container */
+/** @var \TYPO3\CMS\Extbase\Object\Container\Container $extbaseObjectContainer */
 $extbaseObjectContainer = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Object\Container\Container::class);
 // Singleton
 $extbaseObjectContainer->registerImplementation(\TYPO3\CMS\Extbase\Persistence\QueryInterface::class, \TYPO3\CMS\Extbase\Persistence\Generic\Query::class);
index b701c96..16d7cdd 100644 (file)
@@ -58,7 +58,7 @@ class ExtensionCommandController extends CommandController
         trigger_error('Calling ExtensionCommandController->installCommand() is deprecated and will be removed in TYPO3 v10. Use the Symfony command "extension:activate" instead, to be called via the "typo3" CLI entrypoint.', E_USER_DEPRECATED);
         $this->emitPackagesMayHaveChangedSignal();
 
-        /** @var $service \TYPO3\CMS\Extensionmanager\Utility\InstallUtility */
+        /** @var \TYPO3\CMS\Extensionmanager\Utility\InstallUtility $service */
         $service = $this->objectManager->get(\TYPO3\CMS\Extensionmanager\Utility\InstallUtility::class);
         $service->install($extensionKey);
     }
@@ -76,7 +76,7 @@ class ExtensionCommandController extends CommandController
     public function uninstallCommand($extensionKey)
     {
         trigger_error('Calling ExtensionCommandController->uninstallCommand() is deprecated and will be removed in TYPO3 v10. Use the Symfony command "extension:deactivate" instead, to be called via the "typo3" CLI entrypoint.', E_USER_DEPRECATED);
-        /** @var $service \TYPO3\CMS\Extensionmanager\Utility\InstallUtility */
+        /** @var \TYPO3\CMS\Extensionmanager\Utility\InstallUtility $service */
         $service = $this->objectManager->get(\TYPO3\CMS\Extensionmanager\Utility\InstallUtility::class);
         $service->uninstall($extensionKey);
     }
index 1514786..3779248 100644 (file)
@@ -202,7 +202,7 @@ class ListController extends AbstractModuleController
         $importExportInstalled = ExtensionManagementUtility::isLoaded('impexp');
         if ($importExportInstalled) {
             try {
-                /** @var $repositoryHelper Helper */
+                /** @var Helper $repositoryHelper */
                 $repositoryHelper = $this->objectManager->get(Helper::class);
                 // Check if a TER update has been done at all, if not, fetch it directly
                 // Repository needs an update, but not because of the extension hash has changed
index a952072..a4ed3ee 100644 (file)
@@ -95,7 +95,7 @@ class UpdateFromTerController extends AbstractController
                 $errorMessage = $e->getMessage();
             }
         }
-        /** @var $repository \TYPO3\CMS\Extensionmanager\Domain\Model\Repository */
+        /** @var \TYPO3\CMS\Extensionmanager\Domain\Model\Repository $repository */
         $repository = $this->repositoryRepository->findByUid((int)$this->settings['repositoryUid']);
 
         $timeFormat = $this->getLanguageService()->sL('LLL:EXT:extensionmanager/Resources/Private/Language/locallang.xlf:extensionList.updateFromTer.lastUpdate.fullTimeFormat');
index 9c93828..d118a98 100644 (file)
@@ -46,7 +46,7 @@ class UpdateScriptController extends AbstractModuleController
      */
     public function showAction($extensionKey)
     {
-        /** @var $updateScriptUtility \TYPO3\CMS\Extensionmanager\Utility\UpdateScriptUtility */
+        /** @var \TYPO3\CMS\Extensionmanager\Utility\UpdateScriptUtility $updateScriptUtility */
         $updateScriptUtility = $this->objectManager->get(\TYPO3\CMS\Extensionmanager\Utility\UpdateScriptUtility::class);
         $updateScriptResult = $updateScriptUtility->executeUpdateIfNeeded($extensionKey);
         $this->view
index a488657..378f3da 100644 (file)
@@ -520,7 +520,7 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
     public function getDependencies()
     {
         if (!is_object($this->dependencies)) {
-            /** @var $extensionModelUtility \TYPO3\CMS\Extensionmanager\Utility\ExtensionModelUtility */
+            /** @var \TYPO3\CMS\Extensionmanager\Utility\ExtensionModelUtility $extensionModelUtility */
             $extensionModelUtility = $this->objectManager->get(\TYPO3\CMS\Extensionmanager\Utility\ExtensionModelUtility::class);
             $this->setDependencies($extensionModelUtility->convertDependenciesToObjects($this->getSerializedDependencies()));
         }
index 276eadc..c668115 100644 (file)
@@ -47,7 +47,7 @@ class ExtensionRepository extends \TYPO3\CMS\Extbase\Persistence\Repository
      */
     public function initializeObject()
     {
-        /** @var $defaultQuerySettings \TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface */
+        /** @var \TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface $defaultQuerySettings */
         $defaultQuerySettings = $this->objectManager->get(\TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface::class);
         $defaultQuerySettings->setRespectStoragePage(false);
         $this->setDefaultQuerySettings($defaultQuerySettings);
index f88dd46..89e531d 100644 (file)
@@ -24,7 +24,7 @@ class RepositoryRepository extends \TYPO3\CMS\Extbase\Persistence\Repository
      */
     public function initializeObject()
     {
-        /** @var $defaultQuerySettings \TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface */
+        /** @var \TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface $defaultQuerySettings */
         $defaultQuerySettings = $this->objectManager->get(\TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface::class);
         $defaultQuerySettings->setRespectStoragePage(false);
         $this->setDefaultQuerySettings($defaultQuerySettings);
@@ -56,7 +56,7 @@ class RepositoryRepository extends \TYPO3\CMS\Extbase\Persistence\Repository
         $allRepositories = $this->findAll();
         $typo3OrgRepository = null;
         foreach ($allRepositories as $repository) {
-            /** @var $repository \TYPO3\CMS\Extensionmanager\Domain\Model\Repository */
+            /** @var \TYPO3\CMS\Extensionmanager\Domain\Model\Repository $repository */
             if ($repository->getTitle() === 'TYPO3.org Main Repository') {
                 $typo3OrgRepository = $repository;
                 break;
index 0144084..effbde7 100644 (file)
@@ -92,7 +92,7 @@ class ExtensionStatus implements \TYPO3\CMS\Reports\StatusProviderInterface
      */
     protected function getMainRepositoryStatus()
     {
-        /** @var $mainRepository \TYPO3\CMS\Extensionmanager\Domain\Model\Repository */
+        /** @var \TYPO3\CMS\Extensionmanager\Domain\Model\Repository $mainRepository */
         $mainRepository = $this->repositoryRepository->findOneTypo3OrgRepository();
 
         if ($mainRepository === null) {
@@ -109,7 +109,7 @@ class ExtensionStatus implements \TYPO3\CMS\Reports\StatusProviderInterface
             $severity = \TYPO3\CMS\Reports\Status::OK;
         }
 
-        /** @var $status \TYPO3\CMS\Reports\Status */
+        /** @var \TYPO3\CMS\Reports\Status $status */
         $status = $this->objectManager->get(
             \TYPO3\CMS\Reports\Status::class,
             $this->languageService->getLL('report.status.mainRepository.title'),
@@ -138,7 +138,7 @@ class ExtensionStatus implements \TYPO3\CMS\Reports\StatusProviderInterface
                 array_key_exists('terObject', $information)
                 && $information['terObject'] instanceof \TYPO3\CMS\Extensionmanager\Domain\Model\Extension
             ) {
-                /** @var $terObject \TYPO3\CMS\Extensionmanager\Domain\Model\Extension */
+                /** @var \TYPO3\CMS\Extensionmanager\Domain\Model\Extension $terObject */
                 $terObject = $information['terObject'];
                 $insecureStatus = $terObject->getReviewState();
                 if ($insecureStatus === -1) {
index 494325b..7150fcd 100644 (file)
@@ -40,14 +40,14 @@ class UpdateExtensionListTask extends \TYPO3\CMS\Scheduler\Task\AbstractTask
      */
     protected function updateExtensionList()
     {
-        /** @var $objectManager \TYPO3\CMS\Extbase\Object\ObjectManager */
+        /** @var \TYPO3\CMS\Extbase\Object\ObjectManager $objectManager */
         $objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Object\ObjectManager::class);
 
-        /** @var $repositoryHelper \TYPO3\CMS\Extensionmanager\Utility\Repository\Helper */
+        /** @var \TYPO3\CMS\Extensionmanager\Utility\Repository\Helper $repositoryHelper */
         $repositoryHelper = $objectManager->get(\TYPO3\CMS\Extensionmanager\Utility\Repository\Helper::class);
         $repositoryHelper->updateExtList();
 
-        /** @var $persistenceManager \TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager */
+        /** @var \TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager $persistenceManager */
         $persistenceManager = $objectManager->get(\TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager::class);
         $persistenceManager->persistAll();
     }
index 4f6946e..3166d6f 100644 (file)
@@ -79,7 +79,7 @@ class ExtensionModelUtility
                     } else {
                         $highest = '';
                     }
-                    /** @var $dependencyObject \TYPO3\CMS\Extensionmanager\Domain\Model\Dependency */
+                    /** @var \TYPO3\CMS\Extensionmanager\Domain\Model\Dependency $dependencyObject */
                     $dependencyObject = $this->objectManager->get(\TYPO3\CMS\Extensionmanager\Domain\Model\Dependency::class);
                     $dependencyObject->setType($dependencyType);
                     // dynamically migrate 'cms' dependency to 'core' dependency
index 7d0e042..d46ed5d 100644 (file)
@@ -141,7 +141,7 @@ class ExtensionListUtility implements \SplObserver
      */
     public function __construct()
     {
-        /** @var $objectManager \TYPO3\CMS\Extbase\Object\ObjectManager */
+        /** @var \TYPO3\CMS\Extbase\Object\ObjectManager $objectManager */
         $this->objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Object\ObjectManager::class);
         $this->repositoryRepository = $this->objectManager->get(\TYPO3\CMS\Extensionmanager\Domain\Repository\RepositoryRepository::class);
         $this->extensionRepository = $this->objectManager->get(\TYPO3\CMS\Extensionmanager\Domain\Repository\ExtensionRepository::class);
index d13bf43..d34a74f 100644 (file)
@@ -64,7 +64,7 @@ class MirrorListUtility implements \SplObserver
     {
         $zlibStream = 'compress.zlib://';
         $this->parser->parseXml($zlibStream . $localMirrorListFile);
-        /** @var $objRepositoryMirrors \TYPO3\CMS\Extensionmanager\Domain\Model\Mirrors */
+        /** @var \TYPO3\CMS\Extensionmanager\Domain\Model\Mirrors $objRepositoryMirrors */
         $objRepositoryMirrors = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extensionmanager\Domain\Model\Mirrors::class);
         $objRepositoryMirrors->setMirrors($this->arrTmpMirrors);
         $this->arrTmpMirrors = [];
index 3413224..151f45d 100644 (file)
@@ -72,7 +72,7 @@ class Helper implements \TYPO3\CMS\Core\SingletonInterface
      */
     public function __construct()
     {
-        /** @var $objectManager \TYPO3\CMS\Extbase\Object\ObjectManager */
+        /** @var \TYPO3\CMS\Extbase\Object\ObjectManager $objectManager */
         $this->objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Object\ObjectManager::class);
         /** @var \TYPO3\CMS\Extensionmanager\Domain\Repository\RepositoryRepository $repositoryRepository */
         $repositoryRepository = $this->objectManager->get(\TYPO3\CMS\Extensionmanager\Domain\Repository\RepositoryRepository::class);
@@ -237,7 +237,7 @@ class Helper implements \TYPO3\CMS\Core\SingletonInterface
             if ($forcedUpdateFromRemote || !is_file($this->getLocalMirrorListFile())) {
                 $this->fetchMirrorListFile();
             }
-            /** @var $objMirrorListImporter \TYPO3\CMS\Extensionmanager\Utility\Importer\MirrorListUtility */
+            /** @var \TYPO3\CMS\Extensionmanager\Utility\Importer\MirrorListUtility $objMirrorListImporter */
             $objMirrorListImporter = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extensionmanager\Utility\Importer\MirrorListUtility::class);
             $this->repository->addMirrors($objMirrorListImporter->getMirrors($this->getLocalMirrorListFile()));
         }
@@ -311,7 +311,7 @@ class Helper implements \TYPO3\CMS\Core\SingletonInterface
             // no further problems - start of import process
             if ($updateNecessity === 0) {
                 $uid = $this->repository->getUid();
-                /* @var $objExtListImporter \TYPO3\CMS\Extensionmanager\Utility\Importer\ExtensionListUtility */
+                /* @var \TYPO3\CMS\Extensionmanager\Utility\Importer\ExtensionListUtility $objExtListImporter */
                 $objExtListImporter = $this->objectManager->get(\TYPO3\CMS\Extensionmanager\Utility\Importer\ExtensionListUtility::class);
                 $objExtListImporter->import($this->getLocalExtListFile(), $uid);
                 $updated = true;
index 8407514..fad3b7f 100644 (file)
@@ -61,7 +61,7 @@ class ToggleExtensionInstallationStateViewHelper extends ActionViewHelper
     {
         $extension = $this->arguments['extension'];
         // Early return if package is protected or is a runtime activated package and can not be unloaded
-        /** @var $packageManager \TYPO3\CMS\Core\Package\PackageManager */
+        /** @var \TYPO3\CMS\Core\Package\PackageManager $packageManager */
         $packageManager = $this->objectManager->get(PackageManager::class);
         $package = $packageManager->getPackage($extension['key']);
         if ($package->isProtected() || in_array($extension['key'], $GLOBALS['TYPO3_CONF_VARS']['EXT']['runtimeActivatedPackages'])) {
index 014639e..1dca497 100644 (file)
@@ -56,7 +56,7 @@ class UpdateScriptViewHelper extends ActionViewHelper
         $extensionKey = $this->arguments['extensionKey'];
 
         // If the "class.ext_update.php" file exists, build link to the update script screen
-        /** @var $updateScriptUtility \TYPO3\CMS\Extensionmanager\Utility\UpdateScriptUtility */
+        /** @var \TYPO3\CMS\Extensionmanager\Utility\UpdateScriptUtility $updateScriptUtility */
         $updateScriptUtility = $this->objectManager->get(\TYPO3\CMS\Extensionmanager\Utility\UpdateScriptUtility::class);
         /** @var IconFactory $iconFactory */
         $iconFactory = GeneralUtility::makeInstance(IconFactory::class);
index a63ac86..1c7e874 100644 (file)
@@ -171,7 +171,7 @@ class FileListController extends ActionController
 
         try {
             if ($combinedIdentifier) {
-                /** @var $resourceFactory ResourceFactory */
+                /** @var ResourceFactory $resourceFactory */
                 $resourceFactory = GeneralUtility::makeInstance(ResourceFactory::class);
                 $storage = $resourceFactory->getStorageObjectFromCombinedIdentifier($combinedIdentifier);
                 $identifier = substr($combinedIdentifier, strpos($combinedIdentifier, ':') + 1);
@@ -595,7 +595,7 @@ class FileListController extends ActionController
         /** @var IconFactory $iconFactory */
         $iconFactory = $this->view->getModuleTemplate()->getIconFactory();
 
-        /** @var $resourceFactory ResourceFactory */
+        /** @var ResourceFactory $resourceFactory */
         $resourceFactory = GeneralUtility::makeInstance(ResourceFactory::class);
 
         $lang = $this->getLanguageService();
index a39ff2f..4e5c59d 100644 (file)
@@ -534,11 +534,11 @@ class FileList
                     </div>
                 </div>';
         } else {
-            /** @var $flashMessage FlashMessage */
+            /** @var FlashMessage $flashMessage */
             $flashMessage = GeneralUtility::makeInstance(FlashMessage::class, $this->getLanguageService()->getLL('storageNotBrowsableMessage'), $this->getLanguageService()->getLL('storageNotBrowsableTitle'), FlashMessage::INFO);
-            /** @var $flashMessageService \TYPO3\CMS\Core\Messaging\FlashMessageService */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageService $flashMessageService */
             $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
-            /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageQueue $defaultFlashMessageQueue */
             $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
             $defaultFlashMessageQueue->enqueue($flashMessage);
             $out = '';
index 3bb126b..cb297e8 100644 (file)
@@ -36,7 +36,7 @@ abstract class AbstractBackendViewHelper extends AbstractViewHelper
         if ($this->viewHelperVariableContainer->exists(self::class, 'DocumentTemplate')) {
             $doc = $this->viewHelperVariableContainer->get(self::class, 'DocumentTemplate');
         } else {
-            /** @var $doc DocumentTemplate */
+            /** @var DocumentTemplate $doc */
             $doc = GeneralUtility::makeInstance(DocumentTemplate::class);
             $this->viewHelperVariableContainer->add(self::class, 'DocumentTemplate', $doc);
         }
@@ -55,7 +55,7 @@ abstract class AbstractBackendViewHelper extends AbstractViewHelper
         if ($this->viewHelperVariableContainer->exists(self::class, 'PageRenderer')) {
             $pageRenderer = $this->viewHelperVariableContainer->get(self::class, 'PageRenderer');
         } else {
-            /** @var $doc DocumentTemplate */
+            /** @var DocumentTemplate $doc */
             $pageRenderer = GeneralUtility::makeInstance(PageRenderer::class);
             $this->viewHelperVariableContainer->add(self::class, 'PageRenderer', $pageRenderer);
         }
index 8b36cf5..5cc47e2 100644 (file)
@@ -109,7 +109,7 @@ class TableListViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Be\AbstractBacken
         $this->getPageRenderer()->loadRequireJsModule('TYPO3/CMS/Recordlist/Recordlist');
 
         $pageinfo = BackendUtility::readPageAccess(GeneralUtility::_GP('id'), $GLOBALS['BE_USER']->getPagePermsClause(Permission::PAGE_SHOW));
-        /** @var $dblist \TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList */
+        /** @var \TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList $dblist */
         $dblist = GeneralUtility::makeInstance(\TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::class);
         $dblist->pageRow = $pageinfo;
         if ($readOnly === false) {
index 3ea3494..7d020c0 100644 (file)
@@ -52,7 +52,7 @@ class ClosureFinisher extends AbstractFinisher
      */
     protected function executeInternal()
     {
-        /** @var $closure \Closure */
+        /** @var \Closure $closure */
         $closure = $this->parseOption('closure');
         if ($closure === null) {
             return;
index 64ee1fc..78de9ae 100644 (file)
@@ -551,7 +551,7 @@ class TranslationService implements SingletonInterface
         }
 
         if (!empty($locallangPathAndFilename)) {
-            /** @var $languageFactory LocalizationFactory */
+            /** @var LocalizationFactory $languageFactory */
             $languageFactory = GeneralUtility::makeInstance(LocalizationFactory::class);
             $this->LOCAL_LANG = $languageFactory->getParsedData($locallangPathAndFilename, $this->languageKey);
 
@@ -580,7 +580,7 @@ class TranslationService implements SingletonInterface
                 if (isset($this->getTypoScriptFrontendController()->config['config']['language_alt'])) {
                     $this->alternativeLanguageKeys[] = $this->getTypoScriptFrontendController()->config['config']['language_alt'];
                 } else {
-                    /** @var $locales \TYPO3\CMS\Core\Localization\Locales */
+                    /** @var \TYPO3\CMS\Core\Localization\Locales $locales */
                     $locales = GeneralUtility::makeInstance(Locales::class);
                     if (in_array($this->languageKey, $locales->getLocales(), true)) {
                         foreach ($locales->getLocaleDependencies($this->languageKey) as $language) {
index 4646716..0607d38 100644 (file)
@@ -39,7 +39,7 @@ class CategoryCollection extends \TYPO3\CMS\Core\Category\Collection\CategoryCol
      */
     public static function create(array $collectionRecord, $fillItems = false)
     {
-        /** @var $collection \TYPO3\CMS\Frontend\Category\Collection\CategoryCollection */
+        /** @var \TYPO3\CMS\Frontend\Category\Collection\CategoryCollection $collection */
         $collection = GeneralUtility::makeInstance(
             __CLASS__,
             $collectionRecord['table_name'],
index 39ed6d8..e9bf575 100644 (file)
@@ -74,7 +74,7 @@ class ContentContentObject extends AbstractContentObject
                 $this->cObj->currentRecordTotal = count($records);
                 $this->getTimeTracker()->setTSlogMessage('NUMROWS: ' . count($records));
 
-                /** @var $cObj ContentObjectRenderer */
+                /** @var ContentObjectRenderer $cObj */
                 $cObj = GeneralUtility::makeInstance(ContentObjectRenderer::class);
                 $cObj->setParent($this->cObj->data, $this->cObj->currentRecord);
                 $this->cObj->currentRecordNumber = 0;
index 3a35309..cc526c3 100644 (file)
@@ -728,7 +728,7 @@ class ContentObjectRenderer implements LoggerAwareInterface
                                 if (!$hookObject instanceof ContentObjectGetSingleHookInterface) {
                                     throw new \UnexpectedValueException('$hookObject must implement interface ' . ContentObjectGetSingleHookInterface::class, 1195043731);
                                 }
-                                /** @var $hookObject ContentObjectGetSingleHookInterface */
+                                /** @var ContentObjectGetSingleHookInterface $hookObject */
                                 $content .= $hookObject->getSingleContentObject($name, (array)$conf, $TSkey, $this);
                             }
                         } else {
@@ -820,7 +820,7 @@ class ContentObjectRenderer implements LoggerAwareInterface
         if ($cacheConfiguration !== null) {
             $key = $this->calculateCacheKey($cacheConfiguration);
             if (!empty($key)) {
-                /** @var $cacheFrontend \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */
+                /** @var \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cacheFrontend */
                 $cacheFrontend = GeneralUtility::makeInstance(CacheManager::class)->getCache('cache_hash');
                 $tags = $this->calculateCacheTags($cacheConfiguration);
                 $lifetime = $this->calculateCacheLifetime($cacheConfiguration);
@@ -2914,7 +2914,7 @@ class ContentObjectRenderer implements LoggerAwareInterface
         if (empty($key)) {
             return $content;
         }
-        /** @var $cacheFrontend \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */
+        /** @var \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cacheFrontend */
         $cacheFrontend = GeneralUtility::makeInstance(CacheManager::class)->getCache('cache_hash');
         $tags = $this->calculateCacheTags($conf['cache.']);
         $lifetime = $this->calculateCacheLifetime($conf['cache.']);
@@ -6055,7 +6055,7 @@ class ContentObjectRenderer implements LoggerAwareInterface
      */
     public function sendNotifyEmail($message, $recipients, $cc, $senderAddress, $senderName = '', $replyTo = '')
     {
-        /** @var $mail MailMessage */
+        /** @var MailMessage $mail */
         $mail = GeneralUtility::makeInstance(MailMessage::class);
         $senderName = trim($senderName);
         $senderAddress = trim($senderAddress);
@@ -6084,7 +6084,7 @@ class ContentObjectRenderer implements LoggerAwareInterface
             $parsedCc = MailUtility::parseAddresses($cc);
             if (!empty($parsedCc)) {
                 $from = $mail->getFrom();
-                /** @var $mail MailMessage */
+                /** @var MailMessage $mail */
                 $mail = GeneralUtility::makeInstance(MailMessage::class);
                 if (!empty($parsedReplyTo)) {
                     $mail->setReplyTo($parsedReplyTo);
@@ -7306,7 +7306,7 @@ class ContentObjectRenderer implements LoggerAwareInterface
 
         $cacheKey = $this->calculateCacheKey($configuration);
         if (!empty($cacheKey)) {
-            /** @var $cacheFrontend \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */
+            /** @var \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cacheFrontend */
             $cacheFrontend = GeneralUtility::makeInstance(CacheManager::class)
                 ->getCache('cache_hash');
             $content = $cacheFrontend->get($cacheKey);
index 6acd887..e71dd52 100644 (file)
@@ -248,7 +248,7 @@ class FluidTemplateContentObject extends AbstractContentObject
      */
     protected function setExtbaseVariables(array $conf)
     {
-        /** @var $request \TYPO3\CMS\Extbase\Mvc\Request */
+        /** @var \TYPO3\CMS\Extbase\Mvc\Request $request */
         $requestPluginName = isset($conf['extbase.']['pluginName.'])
             ? $this->cObj->stdWrap($conf['extbase.']['pluginName'] ?? '', $conf['extbase.']['pluginName.'])
             : ($conf['extbase.']['pluginName'] ?? '');
@@ -341,7 +341,7 @@ class FluidTemplateContentObject extends AbstractContentObject
     protected function assignSettings(array $conf)
     {
         if (isset($conf['settings.'])) {
-            /** @var $typoScriptService TypoScriptService */
+            /** @var TypoScriptService $typoScriptService */
             $typoScriptService = GeneralUtility::makeInstance(TypoScriptService::class);
             $settings = $typoScriptService->convertTypoScriptArrayToPlainArray($conf['settings.']);
             $this->view->assign('settings', $settings);
index 13293e5..cbd0e7b 100644 (file)
@@ -36,7 +36,7 @@ class HierarchicalMenuContentObject extends AbstractContentObject
         $theValue = '';
         $menuType = $conf[1];
         try {
-            /** @var $menuObjectFactory Menu\MenuContentObjectFactory */
+            /** @var Menu\MenuContentObjectFactory $menuObjectFactory */
             $menuObjectFactory = GeneralUtility::makeInstance(Menu\MenuContentObjectFactory::class);
             $menu = $menuObjectFactory->getMenuObjectByType($menuType);
             $GLOBALS['TSFE']->register['count_HMENU']++;
index fd40138..78d123f 100644 (file)
@@ -1891,7 +1891,7 @@ abstract class AbstractMenuContentObject
         if (($this->mconf['expAll'] || $this->isNext($uid, $this->getMPvar($this->I['key'])) || is_array($altArray)) && !$this->mconf['sectionIndex']) {
             try {
                 $menuObjectFactory = GeneralUtility::makeInstance(MenuContentObjectFactory::class);
-                /** @var $submenu AbstractMenuContentObject */
+                /** @var AbstractMenuContentObject $submenu */
                 $submenu = $menuObjectFactory->getMenuObjectByType($menuType);
                 $submenu->entryLevel = $this->entryLevel + 1;
                 $submenu->rL_uidRegister = $this->rL_uidRegister;
index 3c5a3a7..23a1609 100644 (file)
@@ -3761,7 +3761,7 @@ class TypoScriptFrontendController implements LoggerAwareInterface
                     $timeTracker->push($label);
                     $incContent = '';
                     $INTiS_cObj = unserialize($INTiS_config[$INTiS_key]['cObj']);
-                    /* @var $INTiS_cObj ContentObjectRenderer */
+                    /* @var ContentObjectRenderer $INTiS_cObj */
                     switch ($INTiS_config[$INTiS_key]['type']) {
                         case 'COA':
                             $incContent = $INTiS_cObj->cObjGetSingle('COA', $INTiS_config[$INTiS_key]['conf']);
@@ -4143,7 +4143,7 @@ class TypoScriptFrontendController implements LoggerAwareInterface
             '"' . $this->absRefPrefix . TYPO3_mainDir . 'ext/',
             '"' . $this->absRefPrefix . TYPO3_mainDir . 'sysext/'
         ];
-        /** @var $storageRepository StorageRepository */
+        /** @var StorageRepository $storageRepository */
         $storageRepository = GeneralUtility::makeInstance(StorageRepository::class);
         $storages = $storageRepository->findAll();
         foreach ($storages as $storage) {
@@ -4420,7 +4420,7 @@ class TypoScriptFrontendController implements LoggerAwareInterface
      */
     public function get_cache_timeout()
     {
-        /** @var $runtimeCache \TYPO3\CMS\Core\Cache\Frontend\AbstractFrontend */
+        /** @var \TYPO3\CMS\Core\Cache\Frontend\AbstractFrontend $runtimeCache */
         $runtimeCache = GeneralUtility::makeInstance(CacheManager::class)->getCache('cache_runtime');
         $cachedCacheLifetimeIdentifier = 'core-tslib_fe-get_cache_timeout';
         $cachedCacheLifetime = $runtimeCache->get($cachedCacheLifetimeIdentifier);
index fc93930..9dff456 100644 (file)
@@ -198,7 +198,7 @@ class GifBuilder extends GraphicalFunctions
                                     $this->setup[$theKey . '.']['file'] = $fileInfo['processedFile']->getForLocalProcessing(false);
                                 } elseif (!isset($fileInfo['origFile']) && $fileInfo['originalFile'] instanceof File) {
                                     // Use FAL file with getForLocalProcessing to circumvent problems with umlauts, if it is a FAL file (origFile not set)
-                                    /** @var $originalFile File */
+                                    /** @var File $originalFile */
                                     $originalFile = $fileInfo['originalFile'];
                                     $this->setup[$theKey . '.']['file'] = $originalFile->getForLocalProcessing(false);
                                 } else {
@@ -214,7 +214,7 @@ class GifBuilder extends GraphicalFunctions
                                         if ($maskInfo['processedFile'] instanceof ProcessedFile) {
                                             $this->setup[$theKey . '.']['mask'] = $maskInfo['processedFile']->getForLocalProcessing(false);
                                         } elseif (!isset($maskInfo['origFile']) && $maskInfo['originalFile'] instanceof File) {
-                                            /** @var $originalFile File */
+                                            /** @var File $originalFile */
                                             $originalFile = $maskInfo['originalFile'];
                                             $this->setup[$theKey . '.']['mask'] = $originalFile->getForLocalProcessing(false);
                                         } else {
@@ -701,7 +701,7 @@ class GifBuilder extends GraphicalFunctions
      */
     public function fileName($pre)
     {
-        /** @var $basicFileFunctions \TYPO3\CMS\Core\Utility\File\BasicFileUtility */
+        /** @var \TYPO3\CMS\Core\Utility\File\BasicFileUtility $basicFileFunctions */
         $basicFileFunctions = GeneralUtility::makeInstance(BasicFileUtility::class);
         $filePrefix = implode('_', array_merge($this->combinedTextStrings, $this->combinedFileNames));
         $filePrefix = $basicFileFunctions->cleanFileName(ltrim($filePrefix, '.'));
index 69f92de..040b815 100644 (file)
@@ -2009,7 +2009,7 @@ class PageRepository implements LoggerAwareInterface
     public function getFileReferences($tableName, $fieldName, array $element)
     {
         trigger_error('The method `TYPO3\CMS\Frontend\Page::getFileReferences()` has been deprecated and should not be used any longer, this method will be removed in TYPO3 v10.0', E_USER_DEPRECATED);
-        /** @var $fileRepository FileRepository */
+        /** @var FileRepository $fileRepository */
         $fileRepository = GeneralUtility::makeInstance(FileRepository::class);
         $currentId = !empty($element['uid']) ? $element['uid'] : 0;
 
index 8053aec..9b13397 100644 (file)
@@ -263,7 +263,7 @@ class AbstractPlugin
         if (!empty($this->frontendController->config['config']['language'])) {
             $this->LLkey = $this->frontendController->config['config']['language'];
             if (empty($this->frontendController->config['config']['language_alt'])) {
-                /** @var $locales Locales */
+                /** @var Locales $locales */
                 $locales = GeneralUtility::makeInstance(Locales::class);
                 if (in_array($this->LLkey, $locales->getLocales())) {
                     $this->altLLkey = '';
@@ -982,7 +982,7 @@ class AbstractPlugin
             $languageFilePath = 'EXT:' . $this->extKey . '/' . PathUtility::dirname($this->scriptRelPath) . '/locallang.xlf';
         }
         if ($languageFilePath !== '') {
-            /** @var $languageFactory LocalizationFactory */
+            /** @var LocalizationFactory $languageFactory */
             $languageFactory = GeneralUtility::makeInstance(LocalizationFactory::class);
             $this->LOCAL_LANG = $languageFactory->getParsedData($languageFilePath, $this->LLkey);
             $alternativeLanguageKeys = GeneralUtility::trimExplode(',', $this->altLLkey, true);
index 18014ca..b761e95 100644 (file)
@@ -288,7 +288,7 @@ class FileCollector implements \Countable, LoggerAwareInterface
      */
     protected function getFileReferences($tableName, $fieldName, array $element): array
     {
-        /** @var $fileRepository FileRepository */
+        /** @var FileRepository $fileRepository */
         $fileRepository = GeneralUtility::makeInstance(FileRepository::class);
         $currentId = !empty($element['uid']) ? $element['uid'] : 0;
 
index 80fcb5a..a7bbf60 100644 (file)
@@ -37,7 +37,7 @@ abstract class AbstractTypolinkBuilder
     /**
      * AbstractTypolinkBuilder constructor.
      *
-     * @param $contentObjectRenderer ContentObjectRenderer
+     * @param ContentObjectRenderer $contentObjectRenderer
      */
     public function __construct(ContentObjectRenderer $contentObjectRenderer)
     {
index 001aa65..156c782 100644 (file)
@@ -82,7 +82,7 @@ class PageLinkBuilder extends AbstractTypolinkBuilder
             if (!$hookObject instanceof TypolinkModifyLinkConfigForPageLinksHookInterface) {
                 throw new \UnexpectedValueException('$hookObject must implement interface ' . TypolinkModifyLinkConfigForPageLinksHookInterface::class, 1483114905);
             }
-            /** @var $hookObject TypolinkModifyLinkConfigForPageLinksHookInterface */
+            /** @var TypolinkModifyLinkConfigForPageLinksHookInterface $hookObject */
             $conf = $hookObject->modifyPageLinkConfiguration($conf, $linkDetails, $page);
         }
         $enableLinksAcrossDomains = $tsfe->config['config']['typolinkEnableLinksAcrossDomains'];
index 36da1aa..138122b 100644 (file)
@@ -149,7 +149,7 @@ class ImportExportController extends BaseScriptClass
 
         $templatePath = ExtensionManagementUtility::extPath('impexp') . 'Resources/Private/';
 
-        /* @var $view StandaloneView */
+        /* @var StandaloneView $view */
         $this->standaloneView = GeneralUtility::makeInstance(StandaloneView::class);
         $this->standaloneView->setTemplateRootPaths([$templatePath . 'Templates/ImportExport/']);
         $this->standaloneView->setLayoutRootPaths([$templatePath . 'Layouts/']);
@@ -571,9 +571,9 @@ class ImportExportController extends BaseScriptClass
                         FlashMessage::ERROR
                     );
                 }
-                /** @var $flashMessageService \TYPO3\CMS\Core\Messaging\FlashMessageService */
+                /** @var \TYPO3\CMS\Core\Messaging\FlashMessageService $flashMessageService */
                 $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
-                /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */
+                /** @var \TYPO3\CMS\Core\Messaging\FlashMessageQueue $defaultFlashMessageQueue */
                 $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
                 $defaultFlashMessageQueue->enqueue($flashMessage);
             }
@@ -686,9 +686,9 @@ class ImportExportController extends BaseScriptClass
                 $limitWarning,
                 FlashMessage::WARNING
             );
-            /** @var $flashMessageService \TYPO3\CMS\Core\Messaging\FlashMessageService */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageService $flashMessageService */
             $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
-            /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageQueue $defaultFlashMessageQueue */
             $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
             $defaultFlashMessageQueue->enqueue($flashMessage);
         }
@@ -846,7 +846,7 @@ class ImportExportController extends BaseScriptClass
             if ($inData['new_import']) {
                 unset($inData['import_mode']);
             }
-            /** @var $import Import */
+            /** @var Import $import */
             $import = GeneralUtility::makeInstance(Import::class);
             $import->init();
             $import->update = $inData['do_update'];
@@ -1062,7 +1062,7 @@ class ImportExportController extends BaseScriptClass
         $folder = $this->getDefaultImportExportFolder();
         if ($folder !== null) {
 
-            /** @var $filter FileExtensionFilter */
+            /** @var FileExtensionFilter $filter */
             $filter = GeneralUtility::makeInstance(FileExtensionFilter::class);
             $filter->setAllowedFileExtensions(['t3d', 'xml']);
             $folder->getStorage()->addFileAndFolderNameFilter([$filter, 'filterFileList']);
index 334bca1..b763728 100644 (file)
@@ -212,9 +212,9 @@ class PresetRepository
                 $msg,
                 $err ? FlashMessage::ERROR : FlashMessage::INFO
             );
-            /** @var $flashMessageService FlashMessageService */
+            /** @var FlashMessageService $flashMessageService */
             $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
-            /** @var $defaultFlashMessageQueue FlashMessageQueue */
+            /** @var FlashMessageQueue $defaultFlashMessageQueue */
             $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
             $defaultFlashMessageQueue->enqueue($flashMessage);
         }
index f98b98b..2cce73e 100644 (file)
@@ -149,7 +149,7 @@ class Import extends ImportExport
      */
     protected function initializeStorageObjects()
     {
-        /** @var $storageRepository StorageRepository */
+        /** @var StorageRepository $storageRepository */
         $storageRepository = GeneralUtility::makeInstance(StorageRepository::class);
         $this->storageObjects = $storageRepository->findAll();
     }
@@ -387,7 +387,7 @@ class Import extends ImportExport
             // using a storage from the local storage is only allowed, if the uid is present in the
             // mapping. Only in this case we could be sure, that it's a local, online and writable storage.
             if ($useStorageFromStorageRecords && isset($storageRecords[$fileRecord['storage']])) {
-                /** @var $storage \TYPO3\CMS\Core\Resource\ResourceStorage */
+                /** @var \TYPO3\CMS\Core\Resource\ResourceStorage $storage */
                 $storage = ResourceFactory::getInstance()->getStorageObject($fileRecord['storage'], $storageRecords[$fileRecord['storage']]);
             } elseif ($this->isFallbackStorage($fileRecord['storage'])) {
                 $storage = ResourceFactory::getInstance()->getStorageObject(0);
@@ -437,7 +437,7 @@ class Import extends ImportExport
                 ]);
 
                 try {
-                    /** @var $newFile File */
+                    /** @var File $newFile */
                     $newFile = $storage->addFile($temporaryFile, $importFolder, $fileRecord['name']);
                 } catch (Exception $e) {
                     $this->error('Error: File could not be added to the storage: "' . $fileRecord['identifier'] . '" with storage uid "' . $fileRecord['storage'] . '"');
@@ -1290,7 +1290,7 @@ class Import extends ImportExport
                                         $dataStructureArray = $flexFormTools->parseDataStructureByIdentifier($dataStructureIdentifier);
                                         $currentValueArray = GeneralUtility::xml2array($origRecordRow[$field]);
                                         // Do recursive processing of the XML data:
-                                        /** @var $iteratorObj DataHandler */
+                                        /** @var DataHandler $iteratorObj */
                                         $iteratorObj = GeneralUtility::makeInstance(DataHandler::class);
                                         $iteratorObj->callBackObj = $this;
                                         $currentValueArray['data'] = $iteratorObj->checkValue_flex_procInData($currentValueArray['data'], [], [], $dataStructureArray, [$table, $uid, $field, $softRefCfgs], 'processSoftReferences_flexFormCallBack');
index f5df1d0..3034a3f 100644 (file)
@@ -172,9 +172,9 @@ class ImportExportTask implements TaskInterface
                     $lang->getLL('.alttitle'),
                     FlashMessage::NOTICE
                 );
-                /** @var $flashMessageService \TYPO3\CMS\Core\Messaging\FlashMessageService */
+                /** @var \TYPO3\CMS\Core\Messaging\FlashMessageService $flashMessageService */
                 $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
-                /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */
+                /** @var \TYPO3\CMS\Core\Messaging\FlashMessageQueue $defaultFlashMessageQueue */
                 $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
                 $defaultFlashMessageQueue->enqueue($flashMessage);
             }
index f4928fe..f007a85 100644 (file)
@@ -42,7 +42,7 @@ class ImportExportUtility
         if (!is_int($pid)) {
             throw new \InvalidArgumentException('Input parameter $int has to be of type integer', 1377625646);
         }
-        /** @var $import Import */
+        /** @var Import $import */
         $import = GeneralUtility::makeInstance(Import::class);
         $import->init();
 
index ab0dfea..47d6282 100644 (file)
@@ -388,7 +388,7 @@ class Indexer
         // Group list (hardcoded for now...)
         // cHash values:
         if ($createCHash) {
-            /* @var $cacheHash \TYPO3\CMS\Frontend\Page\CacheHashCalculator */
+            /* @var \TYPO3\CMS\Frontend\Page\CacheHashCalculator $cacheHash */
             $cacheHash = GeneralUtility::makeInstance(\TYPO3\CMS\Frontend\Page\CacheHashCalculator::class);
             $this->conf['cHash'] = $cacheHash->generateForParameters(GeneralUtility::implodeArrayForUrl('', $cHash_array));
         } else {
index 5be842e..152935d 100644 (file)
@@ -59,7 +59,7 @@ class EnvironmentController extends AbstractController
     /**
      * System Information Get Data action
      *
-     * @param $request ServerRequestInterface
+     * @param ServerRequestInterface $request
      * @return ResponseInterface
      */
     public function systemInformationGetDataAction(ServerRequestInterface $request): ResponseInterface
@@ -79,7 +79,7 @@ class EnvironmentController extends AbstractController
     /**
      * System Information Get Data action
      *
-     * @param $request ServerRequestInterface
+     * @param ServerRequestInterface $request
      * @return ResponseInterface
      */
     public function phpInfoGetDataAction(ServerRequestInterface $request): ResponseInterface
@@ -94,7 +94,7 @@ class EnvironmentController extends AbstractController
     /**
      * Get environment status
      *
-     * @param $request ServerRequestInterface
+     * @param ServerRequestInterface $request
      * @return ResponseInterface
      */
     public function environmentCheckGetStatusAction(ServerRequestInterface $request): ResponseInterface
@@ -129,7 +129,7 @@ class EnvironmentController extends AbstractController
     /**
      * Get folder structure status
      *
-     * @param $request ServerRequestInterface
+     * @param ServerRequestInterface $request
      * @return ResponseInterface
      */
     public function folderStructureGetStatusAction(ServerRequestInterface $request): ResponseInterface
@@ -184,7 +184,7 @@ class EnvironmentController extends AbstractController
     /**
      * System Information Get Data action
      *
-     * @param $request ServerRequestInterface
+     * @param ServerRequestInterface $request
      * @return ResponseInterface
      */
     public function mailTestGetDataAction(ServerRequestInterface $request): ResponseInterface
@@ -239,7 +239,7 @@ class EnvironmentController extends AbstractController
     /**
      * System Information Get Data action
      *
-     * @param $request ServerRequestInterface
+     * @param ServerRequestInterface $request
      * @return ResponseInterface
      */
     public function imageProcessingGetDataAction(ServerRequestInterface $request): ResponseInterface
index b8a34c0..a301198 100644 (file)
@@ -79,7 +79,7 @@ class MaintenanceController extends AbstractController
     /**
      * Clear typo3temp files statistics action
      *
-     * @param $request ServerRequestInterface
+     * @param ServerRequestInterface $request
      * @return ResponseInterface
      */
     public function clearTypo3tempFilesStatsAction(ServerRequestInterface $request): ResponseInterface
@@ -159,7 +159,7 @@ class MaintenanceController extends AbstractController
     /**
      * Analyze current database situation
      *
-     * @param $request ServerRequestInterface
+     * @param ServerRequestInterface $request
      * @return ResponseInterface
      */
     public function databaseAnalyzerAnalyzeAction(ServerRequestInterface $request): ResponseInterface
@@ -369,7 +369,7 @@ class MaintenanceController extends AbstractController
     /**
      * Clear table overview statistics action
      *
-     * @param $request ServerRequestInterface
+     * @param ServerRequestInterface $request
      * @return ResponseInterface
      */
     public function clearTablesStatsAction(ServerRequestInterface $request): ResponseInterface
@@ -414,7 +414,7 @@ class MaintenanceController extends AbstractController
     /**
      * Create Admin Get Data action
      *
-     * @param $request ServerRequestInterface
+     * @param ServerRequestInterface $request
      * @return ResponseInterface
      */
     public function createAdminGetDataAction(ServerRequestInterface $request): ResponseInterface
@@ -525,7 +525,7 @@ class MaintenanceController extends AbstractController
      * * list of available languages with details like active or not and last update
      * * list of loaded extensions
      *
-     * @param $request ServerRequestInterface
+     * @param ServerRequestInterface $request
      * @return ResponseInterface
      */
     public function languagePacksGetDataAction(ServerRequestInterface $request): ResponseInterface
index ec7fbad..a74d0c6 100644 (file)
@@ -224,7 +224,7 @@ class UpgradeController extends AbstractController
     /**
      * Core Update Get Data Action
      *
-     * @param $request ServerRequestInterface
+     * @param ServerRequestInterface $request
      * @return ResponseInterface
      */
     public function coreUpdateGetDataAction(ServerRequestInterface $request): ResponseInterface
@@ -460,7 +460,7 @@ class UpgradeController extends AbstractController
     /**
      * Create Extension Scanner Data action
      *
-     * @param $request ServerRequestInterface
+     * @param ServerRequestInterface $request
      * @return ResponseInterface
      */
     public function extensionScannerGetDataAction(ServerRequestInterface $request): ResponseInterface
@@ -509,7 +509,7 @@ class UpgradeController extends AbstractController
         // A list of file names relative to extension directory
         $relativeFileNames = [];
         foreach ($files as $file) {
-            /** @var $file SplFileInfo */
+            /** @var SplFileInfo $file */
             $relativeFileNames[] = GeneralUtility::fixWindowsFilePath($file->getRelativePathname());
         }
         return new JsonResponse([
@@ -542,7 +542,7 @@ class UpgradeController extends AbstractController
         $fullyScannedRestFilesNotAffected = [];
         foreach ($restFiles as $restFile) {
             // Skip files in "8.x" directory
-            /** @var $restFile SplFileInfo */
+            /** @var SplFileInfo $restFile */
             if (strpos($restFile->getRelativePath(), '8') === 0) {
                 continue;
             }
@@ -688,7 +688,7 @@ class UpgradeController extends AbstractController
     /**
      * Check if loading ext_tables.php files still changes TCA
      *
-     * @param $request ServerRequestInterface
+     * @param ServerRequestInterface $request
      * @return ResponseInterface
      */
     public function tcaExtTablesCheckAction(ServerRequestInterface $request): ResponseInterface
index 4b7a28a..dbe2753 100644 (file)
@@ -111,7 +111,7 @@ class DirectoryNode extends AbstractNode implements NodeInterface
     {
         $result = $this->fixSelf();
         foreach ($this->children as $child) {
-            /** @var $child NodeInterface */
+            /** @var NodeInterface $child */
             $result = array_merge($result, $child->fix());
         }
         return $result;
@@ -239,7 +239,7 @@ class DirectoryNode extends AbstractNode implements NodeInterface
     {
         $result = [];
         foreach ($this->children as $child) {
-            /** @var $child NodeInterface */
+            /** @var NodeInterface $child */
             $result = array_merge($result, $child->getStatus());
         }
         return $result;
@@ -294,7 +294,7 @@ class DirectoryNode extends AbstractNode implements NodeInterface
             }
             $name = $child['name'];
             foreach ($this->children as $existingChild) {
-                /** @var $existingChild NodeInterface */
+                /** @var NodeInterface $existingChild */
                 if ($existingChild->getName() === $name) {
                     throw new Exception\InvalidArgumentException(
                         'Child name must be unique',
index 58f5d52..2d10dde 100644 (file)
@@ -290,7 +290,7 @@ class LanguagePackService
     /**
      * Format a timestamp to a formatted date string
      *
-     * @param $timestamp int|null
+     * @param int|null $timestamp
      * @return string|null
      */
     protected function getFormattedDate($timestamp)
index 458bcf4..c6344b5 100644 (file)
@@ -41,7 +41,7 @@ class Typo3tempFileService
         $dirsInAssets = $dirFinder->directories()->in($basePath)->depth(0)->sortByName();
         $stats = [];
         foreach ($dirsInAssets as $dirInAssets) {
-            /** @var $dirInAssets SplFileInfo */
+            /** @var SplFileInfo $dirInAssets */
             $fileFinder = new Finder();
             $fileCount = $fileFinder->files()->in($dirInAssets->getPathname())->count();
             $stats[] = [
@@ -92,7 +92,7 @@ class Typo3tempFileService
         $finder = new Finder();
         $files = $finder->files()->in($basePath)->depth(0)->sortByName();
         foreach ($files as $file) {
-            /** @var $file SplFileInfo */
+            /** @var SplFileInfo $file */
             $path = $file->getPathname();
             @unlink($path);
         }
index 0a0e9bb..0e2cb2d 100644 (file)
@@ -54,10 +54,10 @@ abstract class AbstractDownloadExtensionUpdate extends AbstractUpdate
     protected function installExtension($extensionKey, &$customMessage)
     {
         $updateSuccessful = true;
-        /** @var $objectManager ObjectManager */
+        /** @var ObjectManager $objectManager */
         $objectManager = GeneralUtility::makeInstance(ObjectManager::class);
 
-        /** @var $extensionListUtility ListUtility */
+        /** @var ListUtility $extensionListUtility */
         $extensionListUtility = $objectManager->get(ListUtility::class);
         $availableExtensions = $extensionListUtility->getAvailableExtensions();
         $extensionDetails = $this->getExtensionDetails($extensionKey);
@@ -66,7 +66,7 @@ abstract class AbstractDownloadExtensionUpdate extends AbstractUpdate
         $isComposerMode = Environment::isComposerMode();
 
         if (!$isComposerMode && !$isExtensionAvailable) {
-            /** @var $extensionTerUtility TerUtility */
+            /** @var TerUtility $extensionTerUtility */
             $extensionTerUtility = $objectManager->get(TerUtility::class);
             if (empty($extensionDetails)) {
                 $updateSuccessful = false;
@@ -83,7 +83,7 @@ abstract class AbstractDownloadExtensionUpdate extends AbstractUpdate
                 $customMessage .= 'The extension ' . $extensionKey . ' could not be extracted.';
             }
 
-            /** @var $extensionFileHandlingUtility FileHandlingUtility */
+            /** @var FileHandlingUtility $extensionFileHandlingUtility */
             $extensionFileHandlingUtility = $objectManager->get(FileHandlingUtility::class);
             $extensionFileHandlingUtility->unpackExtensionFromExtensionDataArray($t3xExtracted);
 
@@ -100,7 +100,7 @@ abstract class AbstractDownloadExtensionUpdate extends AbstractUpdate
         }
 
         if ($updateSuccessful) {
-            /** @var $extensionInstallUtility InstallUtility */
+            /** @var InstallUtility $extensionInstallUtility */
             $extensionInstallUtility = $objectManager->get(InstallUtility::class);
             $extensionInstallUtility->install($extensionKey);
         }
index e3488ac..f6b7bcf 100644 (file)
@@ -144,7 +144,7 @@ abstract class AbstractUpdate
      */
     protected function installExtensions(array $extensionKeys)
     {
-        /** @var $installUtility \TYPO3\CMS\Extensionmanager\Utility\InstallUtility */
+        /** @var \TYPO3\CMS\Extensionmanager\Utility\InstallUtility $installUtility */
         $installUtility = GeneralUtility::makeInstance(
             \TYPO3\CMS\Extensionmanager\Utility\InstallUtility::class
         );
index 2655e7f..6c13245 100644 (file)
@@ -271,7 +271,7 @@ class LinkAnalyzer
 
         // Put together content of all relevant fields
         $haystack = '';
-        /** @var $htmlParser HtmlParser */
+        /** @var HtmlParser $htmlParser */
         $htmlParser = GeneralUtility::makeInstance(HtmlParser::class);
         $idRecord = $record['uid'];
         // Get all references
@@ -293,7 +293,7 @@ class LinkAnalyzer
 
             // Traverse soft references
             foreach ($softRefs as $spKey => $spParams) {
-                /** @var $softRefObj \TYPO3\CMS\Core\Database\SoftReferenceIndex */
+                /** @var \TYPO3\CMS\Core\Database\SoftReferenceIndex $softRefObj */
                 $softRefObj = BackendUtility::softRefParserObj($spKey);
                 // If there is an object returned...
                 if (!is_object($softRefObj)) {
@@ -347,7 +347,7 @@ class LinkAnalyzer
                 continue;
             }
 
-            /** @var $hookObj \TYPO3\CMS\Linkvalidator\Linktype\AbstractLinktype */
+            /** @var \TYPO3\CMS\Linkvalidator\Linktype\AbstractLinktype $hookObj */
             foreach ($this->hookObjectsArr as $keyArr => $hookObj) {
                 $type = $hookObj->fetchType($r, $type, $keyArr);
                 // Store the type that was found
@@ -405,7 +405,7 @@ class LinkAnalyzer
                 }
                 $title = strip_tags($linkTags[$i]);
             }
-            /** @var $hookObj \TYPO3\CMS\Linkvalidator\Linktype\AbstractLinktype */
+            /** @var \TYPO3\CMS\Linkvalidator\Linktype\AbstractLinktype $hookObj */
             foreach ($this->hookObjectsArr as $keyArr => $hookObj) {
                 $type = $hookObj->fetchType($currentR, $type, $keyArr);
                 // Store the type that was found
index 9d48444..42918fd 100644 (file)
@@ -334,9 +334,9 @@ class LinkValidatorReport extends \TYPO3\CMS\Backend\Module\AbstractFunctionModu
                 $this->getLanguageService()->getLL('no.access.title'),
                 FlashMessage::ERROR
             );
-            /** @var $flashMessageService \TYPO3\CMS\Core\Messaging\FlashMessageService */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageService $flashMessageService */
             $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
-            /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageQueue $defaultFlashMessageQueue */
             $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
             $defaultFlashMessageQueue->enqueue($message);
         }
@@ -511,16 +511,16 @@ class LinkValidatorReport extends \TYPO3\CMS\Backend\Module\AbstractFunctionModu
     protected function getNoBrokenLinkMessage(array $brokenLinksMarker)
     {
         $brokenLinksMarker['LIST_HEADER'] = '<h3>' . htmlspecialchars($this->getLanguageService()->getLL('list.header')) . '</h3>';
-        /** @var $message FlashMessage */
+        /** @var FlashMessage $message */
         $message = GeneralUtility::makeInstance(
             FlashMessage::class,
             $this->getLanguageService()->getLL('list.no.broken.links'),
             $this->getLanguageService()->getLL('list.no.broken.links.title'),
             FlashMessage::OK
         );
-        /** @var $flashMessageService \TYPO3\CMS\Core\Messaging\FlashMessageService */
+        /** @var \TYPO3\CMS\Core\Messaging\FlashMessageService $flashMessageService */
         $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
-        /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */
+        /** @var \TYPO3\CMS\Core\Messaging\FlashMessageQueue $defaultFlashMessageQueue */
         $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
         $defaultFlashMessageQueue->enqueue($message);
         $brokenLinksMarker['NO_BROKEN_LINKS'] = $defaultFlashMessageQueue->renderFlashMessages();
index b3fb0db..fbff87f 100644 (file)
@@ -316,7 +316,7 @@ class ValidatorTask extends AbstractTask
         $modTs = $this->loadModTsConfig($page);
         $searchFields = $this->getSearchField($modTs);
         $linkTypes = $this->getLinkTypes($modTs);
-        /** @var $processor LinkAnalyzer */
+        /** @var LinkAnalyzer $processor */
         $processor = GeneralUtility::makeInstance(LinkAnalyzer::class);
         if ($page === 0) {
             $rootLineHidden = false;
@@ -451,7 +451,7 @@ class ValidatorTask extends AbstractTask
             unset($params);
         }
         $content = $this->templateService->substituteMarkerArray($content, $markerArray, '###|###', true, true);
-        /** @var $mail MailMessage */
+        /** @var MailMessage $mail */
         $mail = GeneralUtility::makeInstance(MailMessage::class);
         if (empty($modTsConfig['mail.']['fromemail'])) {
             $modTsConfig['mail.']['fromemail'] = MailUtility::getSystemFromAddress();
index f514269..fc9173f 100644 (file)
@@ -273,7 +273,7 @@ class ValidatorTaskAdditionalFieldProvider extends AbstractAdditionalFieldProvid
      */
     public function saveAdditionalFields(array $submittedData, AbstractTask $task)
     {
-        /** @var $task ValidatorTask */
+        /** @var ValidatorTask $task */
         $task->setDepth($submittedData['linkvalidator']['depth']);
         $task->setPage($submittedData['linkvalidator']['page']);
         $task->setEmail($submittedData['linkvalidator']['email']);
index e6b647b..9f167a7 100644 (file)
@@ -215,7 +215,7 @@ class ConfigurationController
             $routes = $router->getRoutes();
             $renderArray = [];
             foreach ($routes as $identifier => $route) {
-                /** @var $route \TYPO3\CMS\Backend\Routing\Route */
+                /** @var \TYPO3\CMS\Backend\Routing\Route $route */
                 $renderArray[$identifier] = [
                     'path' => $route->getPath(),
                     'options' => $route->getOptions()
index 67e04a5..3ca30c6 100644 (file)
@@ -367,7 +367,7 @@ class DatabaseIntegrityController
      */
     protected function func_records()
     {
-        /** @var $admin DatabaseIntegrityCheck */
+        /** @var DatabaseIntegrityCheck $admin */
         $admin = GeneralUtility::makeInstance(DatabaseIntegrityCheck::class);
         $admin->genTree(0);
 
index 39d115d..6aa21a4 100644 (file)
@@ -134,7 +134,7 @@ class FileBrowser extends AbstractElementBrowser implements ElementBrowserInterf
             $filterObject->setAllowedFileExtensions($allowedFileExtensions);
             // Set file extension filters on all storages
             $storages = $backendUser->getFileStorages();
-            /** @var $storage \TYPO3\CMS\Core\Resource\ResourceStorage */
+            /** @var \TYPO3\CMS\Core\Resource\ResourceStorage $storage */
             foreach ($storages as $storage) {
                 $storage->addFileAndFolderNameFilter([$filterObject, 'filterFileList']);
             }
index 3ef038f..8f3f9f7 100644 (file)
@@ -497,9 +497,9 @@ class RecordListController
                 '',
                 FlashMessage::INFO
             );
-            /** @var $flashMessageService \TYPO3\CMS\Core\Messaging\FlashMessageService */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageService $flashMessageService */
             $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
-            /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageQueue $defaultFlashMessageQueue */
             $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
             $defaultFlashMessageQueue->enqueue($flashMessage);
         }
index df2a5c0..dc0ea88 100644 (file)
@@ -592,7 +592,7 @@ class AbstractDatabaseRecordList extends AbstractRecordList
      */
     public function getSearchBox($formFields = true)
     {
-        /** @var $iconFactory IconFactory */
+        /** @var IconFactory $iconFactory */
         $iconFactory = GeneralUtility::makeInstance(IconFactory::class);
         $lang = $this->getLanguageService();
         // Setting form-elements, if applicable:
index 2916e1b..3619dfb 100644 (file)
@@ -1046,9 +1046,9 @@ class DatabaseRecordList
                 FlashMessage::WARNING,
                 true
             );
-            /** @var $flashMessageService FlashMessageService */
+            /** @var FlashMessageService $flashMessageService */
             $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
-            /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageQueue $defaultFlashMessageQueue */
             $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
             $defaultFlashMessageQueue->enqueue($flashMessage);
         }
@@ -3114,7 +3114,7 @@ class DatabaseRecordList
      */
     public function getSearchBox($formFields = true)
     {
-        /** @var $iconFactory IconFactory */
+        /** @var IconFactory $iconFactory */
         $iconFactory = GeneralUtility::makeInstance(IconFactory::class);
         $lang = $this->getLanguageService();
         // Setting form-elements, if applicable:
index 690e873..737a727 100644 (file)
@@ -66,7 +66,7 @@ class RecyclerAjaxController
     public function dispatch(ServerRequestInterface $request): ResponseInterface
     {
         $extPath = ExtensionManagementUtility::extPath('recycler');
-        /* @var $view StandaloneView */
+        /* @var StandaloneView $view */
         $view = GeneralUtility::makeInstance(StandaloneView::class);
         $view->setPartialRootPaths(['default' => $extPath . 'Resources/Private/Partials']);
 
@@ -76,7 +76,7 @@ class RecyclerAjaxController
             case 'getTables':
                 $this->setDataInSession(['depthSelection' => $this->conf['depth']]);
 
-                /* @var $model Tables */
+                /* @var Tables $model */
                 $model = GeneralUtility::makeInstance(Tables::class);
                 $content = $model->getTables($this->conf['startUid'], $this->conf['depth']);
                 break;
@@ -87,7 +87,7 @@ class RecyclerAjaxController
                     'resultLimit' => $this->conf['limit'],
                 ]);
 
-                /* @var $model DeletedRecords */
+                /* @var DeletedRecords $model */
                 $model = GeneralUtility::makeInstance(DeletedRecords::class);
                 $model->loadData($this->conf['startUid'], $this->conf['table'], $this->conf['depth'], $this->conf['start'] . ',' . $this->conf['limit'], $this->conf['filterTxt']);
                 $deletedRowsArray = $model->getDeletedRows();
@@ -95,7 +95,7 @@ class RecyclerAjaxController
                 $model = GeneralUtility::makeInstance(DeletedRecords::class);
                 $totalDeleted = $model->getTotalCount($this->conf['startUid'], $this->conf['table'], $this->conf['depth'], $this->conf['filterTxt']);
 
-                /* @var $controller DeletedRecordsController */
+                /* @var DeletedRecordsController $controller */
                 $controller = GeneralUtility::makeInstance(DeletedRecordsController::class);
                 $recordsArray = $controller->transform($deletedRowsArray);
 
@@ -119,7 +119,7 @@ class RecyclerAjaxController
                     break;
                 }
 
-                /* @var $model DeletedRecords */
+                /* @var DeletedRecords $model */
                 $model = GeneralUtility::makeInstance(DeletedRecords::class);
                 $affectedRecords = $model->undeleteData($this->conf['records'], $this->conf['recursive']);
                 $messageKey = 'flashmessage.undo.' . ($affectedRecords !== false ? 'success' : 'failure') . '.' . ((int)$affectedRecords === 1 ? 'singular' : 'plural');
@@ -137,7 +137,7 @@ class RecyclerAjaxController
                     break;
                 }
 
-                /* @var $model DeletedRecords */
+                /* @var DeletedRecords $model */
                 $model = GeneralUtility::makeInstance(DeletedRecords::class);
                 $success = $model->deleteData($this->conf['records']);
                 $affectedRecords = count($this->conf['records']);
index dac6e7c..af37857 100644 (file)
@@ -351,7 +351,7 @@ class DeletedRecords
     public function deleteData($recordsArray)
     {
         if (is_array($recordsArray)) {
-            /** @var $tce DataHandler **/
+            /** @var DataHandler $tce **/
             $tce = GeneralUtility::makeInstance(DataHandler::class);
             $tce->start([], []);
             $tce->disableDeleteClause();
index 3c1cfff..0366dc5 100644 (file)
@@ -56,7 +56,7 @@ class Tables
                     ->fetchColumn();
 
                 if ($deletedCount) {
-                    /* @var $deletedDataObject DeletedRecords */
+                    /* @var DeletedRecords $deletedDataObject */
                     $deletedDataObject = GeneralUtility::makeInstance(DeletedRecords::class);
                     $deletedData = $deletedDataObject->loadData($startUid, $tableName, $depth)->getDeletedRows();
                     if (isset($deletedData[$tableName])) {
index 42dc400..03eb364 100644 (file)
@@ -63,7 +63,7 @@ class BackendFactory
                 $backendObject = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance($backend);
                 // Check that it is derived from the proper base class
                 if ($backendObject instanceof AbstractBackend) {
-                    /** @var $backendObject AbstractBackend */
+                    /** @var AbstractBackend $backendObject */
                     if ($backendObject->isAvailable()) {
                         // The backend is available, save it and stop the loop
                         self::$selectedBackend = $backendObject;
index a8d091b..92734a4 100644 (file)
@@ -88,7 +88,7 @@ class CommandLineBackend extends AbstractBackend
      */
     public function createNewKeyPair()
     {
-        /** @var $keyPair \TYPO3\CMS\Rsaauth\Keypair */
+        /** @var \TYPO3\CMS\Rsaauth\Keypair $keyPair */
         $keyPair = GeneralUtility::makeInstance(\TYPO3\CMS\Rsaauth\Keypair::class);
         if ($keyPair->isReady()) {
             return $keyPair;
index 4245f9a..89aa504 100644 (file)
@@ -31,7 +31,7 @@ class PhpBackend extends AbstractBackend
      */
     public function createNewKeyPair()
     {
-        /** @var $keyPair \TYPO3\CMS\Rsaauth\Keypair */
+        /** @var \TYPO3\CMS\Rsaauth\Keypair $keyPair */
         $keyPair = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Rsaauth\Keypair::class);
         if ($keyPair->isReady()) {
             return $keyPair;
index 2868091..48ac1a7 100644 (file)
@@ -549,7 +549,7 @@ class SchedulerModuleController
                 }
 
                 // Get the task object
-                /** @var $task \TYPO3\CMS\Scheduler\Task\AbstractTask */
+                /** @var \TYPO3\CMS\Scheduler\Task\AbstractTask $task */
                 $task = unserialize($taskRecord['serialized_task_object']);
 
                 // Set some task information
@@ -617,7 +617,7 @@ class SchedulerModuleController
         if ($process === 'add') {
             foreach ($registeredClasses as $class => $registrationInfo) {
                 if (!empty($registrationInfo['provider'])) {
-                    /** @var $providerObject AdditionalFieldProviderInterface */
+                    /** @var AdditionalFieldProviderInterface $providerObject */
                     $providerObject = GeneralUtility::makeInstance($registrationInfo['provider']);
                     if ($providerObject instanceof AdditionalFieldProviderInterface) {
                         $additionalFields = $providerObject->getAdditionalFields($taskInfo, null, $this);
@@ -903,7 +903,7 @@ class SchedulerModuleController
                 $isRunning = false;
                 $showAsDisabled = false;
                 // Restore the serialized task and pass it a reference to the scheduler object
-                /** @var $task \TYPO3\CMS\Scheduler\Task\AbstractTask|ProgressProviderInterface */
+                /** @var \TYPO3\CMS\Scheduler\Task\AbstractTask|ProgressProviderInterface $task */
                 $task = unserialize($schedulerRecord['serialized_task_object']);
                 $class = get_class($task);
                 if ($class === '__PHP_Incomplete_Class' && preg_match('/^O:[0-9]+:"(?P<classname>.+?)"/', $schedulerRecord['serialized_task_object'], $matches) === 1) {
@@ -996,7 +996,7 @@ class SchedulerModuleController
                     // Check if the last run failed
                     if (!empty($schedulerRecord['lastexecution_failure'])) {
                         // Try to get the stored exception array
-                        /** @var $exceptionArray array */
+                        /** @var array $exceptionArray */
                         $exceptionArray = @unserialize($schedulerRecord['lastexecution_failure']);
                         // If the exception could not be unserialized, issue a default error message
                         if (!is_array($exceptionArray) || empty($exceptionArray)) {
@@ -1057,7 +1057,7 @@ class SchedulerModuleController
         if (!empty($this->submittedData['uid'])) {
             try {
                 $taskRecord = $this->scheduler->fetchTaskRecord($this->submittedData['uid']);
-                /** @var $task \TYPO3\CMS\Scheduler\Task\AbstractTask */
+                /** @var \TYPO3\CMS\Scheduler\Task\AbstractTask $task */
                 $task = unserialize($taskRecord['serialized_task_object']);
             } catch (\OutOfBoundsException $e) {
                 // If the task could not be fetched, issue an error message
@@ -1089,7 +1089,7 @@ class SchedulerModuleController
             $task->setTaskGroup($this->submittedData['task_group']);
             // Save additional input values
             if (!empty($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][$this->submittedData['class']]['additionalFields'])) {
-                /** @var $providerObject AdditionalFieldProviderInterface */
+                /** @var AdditionalFieldProviderInterface $providerObject */
                 $providerObject = GeneralUtility::makeInstance($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][$this->submittedData['class']]['additionalFields']);
                 if ($providerObject instanceof AdditionalFieldProviderInterface) {
                     $providerObject->saveAdditionalFields($this->submittedData, $task);
@@ -1106,7 +1106,7 @@ class SchedulerModuleController
         } else {
             // A new task is being created
             // Create an instance of chosen class
-            /** @var $task AbstractTask */
+            /** @var AbstractTask $task */
             $task = GeneralUtility::makeInstance($this->submittedData['class']);
             if ((int)$this->submittedData['type'] === AbstractTask::TYPE_SINGLE) {
                 // Set up single execution
@@ -1117,7 +1117,7 @@ class SchedulerModuleController
             }
             // Save additional input values
             if (!empty($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][$this->submittedData['class']]['additionalFields'])) {
-                /** @var $providerObject AdditionalFieldProviderInterface */
+                /** @var AdditionalFieldProviderInterface $providerObject */
                 $providerObject = GeneralUtility::makeInstance($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][$this->submittedData['class']]['additionalFields']);
                 if ($providerObject instanceof AdditionalFieldProviderInterface) {
                     $providerObject->saveAdditionalFields($this->submittedData, $task);
@@ -1234,7 +1234,7 @@ class SchedulerModuleController
         }
         // Validate additional input fields
         if (!empty($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][$this->submittedData['class']]['additionalFields'])) {
-            /** @var $providerObject AdditionalFieldProviderInterface */
+            /** @var AdditionalFieldProviderInterface $providerObject */
             $providerObject = GeneralUtility::makeInstance($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][$this->submittedData['class']]['additionalFields']);
             if ($providerObject instanceof AdditionalFieldProviderInterface) {
                 // The validate method will return true if all went well, but that must not
index 4dbdfac..18e940a 100644 (file)
@@ -59,7 +59,7 @@ class TestTask extends \TYPO3\CMS\Scheduler\Task\AbstractTask
             $mailBody = 'SCHEDULER TEST-TASK' . LF . '- - - - - - - - - - - - - - - -' . LF . 'UID: ' . $this->taskUid . LF . 'Sitename: ' . $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'] . LF . 'Site: ' . $site . LF . 'Called by: ' . $calledBy . LF . 'tstamp: ' . date('Y-m-d H:i:s') . ' [' . time() . ']' . LF . 'maxLifetime: ' . $this->scheduler->extConf['maxLifetime'] . LF . 'start: ' . date('Y-m-d H:i:s', $start) . ' [' . $start . ']' . LF . 'end: ' . (empty($end) ? '-' : date('Y-m-d H:i:s', $end) . ' [' . $end . ']') . LF . 'interval: ' . $interval . LF . 'multiple: ' . ($multiple ? 'yes' : 'no') . LF . 'cronCmd: ' . ($cronCmd ? $cronCmd : 'not used');
             // Prepare mailer and send the mail
             try {
-                /** @var $mailer \TYPO3\CMS\Core\Mail\MailMessage */
+                /** @var \TYPO3\CMS\Core\Mail\MailMessage $mailer */
                 $mailer = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Mail\MailMessage::class);
                 $mailer->setFrom([$this->email => 'SCHEDULER TEST-TASK']);
                 $mailer->setReplyTo([$this->email => 'SCHEDULER TEST-TASK']);
index 9df786c..4c1b3ca 100644 (file)
@@ -245,7 +245,7 @@ class Execution
      */
     public function getNextCronExecution()
     {
-        /** @var $cronCmd \TYPO3\CMS\Scheduler\CronCommand\CronCommand */
+        /** @var \TYPO3\CMS\Scheduler\CronCommand\CronCommand $cronCmd */
         $cronCmd = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Scheduler\CronCommand\CronCommand::class, $this->getCronCmd());
         $cronCmd->calculateNextValue();
         return $cronCmd->getTimestamp();
index 2768e22..d15cd66 100644 (file)
@@ -338,7 +338,7 @@ class Scheduler implements SingletonInterface, LoggerAwareInterface
             // If there are no available tasks, thrown an exception
             throw new \OutOfBoundsException('No task', 1247827244);
         }
-        /** @var $task Task\AbstractTask */
+        /** @var Task\AbstractTask $task */
         $task = unserialize($row['serialized_task_object']);
         if ($this->isValidTaskObject($task)) {
             // The task is valid, return it
index 3cc992f..d488c84 100644 (file)
@@ -302,7 +302,7 @@ abstract class AbstractTask implements LoggerAwareInterface
      */
     public function registerSingleExecution($timestamp)
     {
-        /** @var $execution Execution */
+        /** @var Execution $execution */
         $execution = GeneralUtility::makeInstance(Execution::class);
         $execution->setStart($timestamp);
         $execution->setInterval(0);
@@ -325,7 +325,7 @@ abstract class AbstractTask implements LoggerAwareInterface
      */
     public function registerRecurringExecution($start, $interval, $end = 0, $multiple = false, $cron_cmd = '')
     {
-        /** @var $execution Execution */
+        /** @var Execution $execution */
         $execution = GeneralUtility::makeInstance(Execution::class);
         // Set general values
         $execution->setStart($start);
index 9c6511a..641f6c1 100644 (file)
@@ -206,9 +206,9 @@ class TaskModuleController extends BaseScriptClass
         }
 
         if ($flashMessage) {
-            /** @var $flashMessageService \TYPO3\CMS\Core\Messaging\FlashMessageService */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageService $flashMessageService */
             $flashMessageService = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Messaging\FlashMessageService::class);
-            /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageQueue $defaultFlashMessageQueue */
             $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
             $defaultFlashMessageQueue->enqueue($flashMessage);
         }
@@ -391,9 +391,9 @@ class TaskModuleController extends BaseScriptClass
                 '',
                 FlashMessage::INFO
             );
-            /** @var $flashMessageService \TYPO3\CMS\Core\Messaging\FlashMessageService */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageService $flashMessageService */
             $flashMessageService = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Messaging\FlashMessageService::class);
-            /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */
+            /** @var \TYPO3\CMS\Core\Messaging\FlashMessageQueue $defaultFlashMessageQueue */
             $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
             $defaultFlashMessageQueue->enqueue($flashMessage);
         }
index 3174a08..a3e98eb 100644 (file)
@@ -393,9 +393,9 @@ class TypoScriptTemplateObjectBrowserModuleFunctionController extends AbstractFu
      */
     protected function addFlashMessage(FlashMessage $flashMessage)
     {
-        /** @var $flashMessageService FlashMessageService */
+        /** @var FlashMessageService $flashMessageService */
         $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
-        /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */
+        /** @var \TYPO3\CMS\Core\Messaging\FlashMessageQueue $defaultFlashMessageQueue */
         $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
         $defaultFlashMessageQueue->enqueue($flashMessage);
     }
index ddbab2e..8d09520 100644 (file)
@@ -485,7 +485,7 @@ class CommandMap
             $elementsToBeVersioned = $this->getElementEntityProcessor()->transformDependentElementsToUseLiveId($elementsToBeVersioned);
         }
         $outerMostParents = $dependency->getOuterMostParents();
-        /** @var $outerMostParent ElementEntity */
+        /** @var ElementEntity $outerMostParent */
         foreach ($outerMostParents as $outerMostParent) {
             $dependentElements = $dependency->getNestedElements($outerMostParent);
             if ($transformDependentElementsToUseLiveId) {
@@ -514,7 +514,7 @@ class CommandMap
         if ($this->getScopeData($scope, self::KEY_GetCommonPropertiesCallback)) {
             $commonProperties = $this->processCallback($this->getScopeData($scope, self::KEY_GetCommonPropertiesCallback), [$intersectingElement]);
         }
-        /** @var $element ElementEntity */
+        /** @var ElementEntity $element */
         foreach ($elements as $element) {
             $table = $element->getTable();
             $id = $this->processCallback($this->getScopeData($scope, self::KEY_UpdateGetIdCallback), [$element]);
index d2f2ecd..31e4168 100644 (file)
@@ -95,7 +95,7 @@ class DependencyResolver
     public function executeEventCallback($eventName, $caller, array $callerArguments = [])
     {
         if (isset($this->eventCallbacks[$eventName])) {
-            /** @var $callback EventCallback */
+            /** @var EventCallback $callback */
             $callback = $this->eventCallbacks[$eventName];
             return $callback->execute($callerArguments, $caller, $eventName);
         }
@@ -139,7 +139,7 @@ class DependencyResolver
     {
         if (!isset($this->outerMostParents)) {
             $this->outerMostParents = [];
-            /** @var $element ElementEntity */
+            /** @var ElementEntity $element */
             foreach ($this->elements as $element) {
                 $this->processOuterMostParent($element);
             }
index a1e3830..b9e9aef 100644 (file)
@@ -362,7 +362,7 @@ class ElementEntity
                 $this->outerMostParent = $this;
             } else {
                 $this->outerMostParent = false;
-                /** @var $parent ReferenceEntity */
+                /** @var ReferenceEntity $parent */
                 foreach ($parents as $parent) {
                     $outerMostParent = $parent->getElement()->getOuterMostParent();
                     if ($outerMostParent instanceof ElementEntity) {
@@ -388,7 +388,7 @@ class ElementEntity
         if (!isset($this->nestedChildren)) {
             $this->nestedChildren = [];
             $children = $this->getChildren();
-            /** @var $child ReferenceEntity */
+            /** @var ReferenceEntity $child */
             foreach ($children as $child) {
                 $this->nestedChildren = array_merge($this->nestedChildren, [$child->getElement()->__toString() => $child->getElement()], $child->getElement()->getNestedChildren());
             }
index c4a2c92..a84c74d 100644 (file)
@@ -74,7 +74,7 @@ class ElementEntityProcessor
     public function transformDependentElementsToUseLiveId(array $elements)
     {
         $transformedElements = [];
-        /** @var $element ElementEntity */
+        /** @var ElementEntity $element */
         foreach ($elements as $element) {
             $elementName = ElementEntity::getIdentifier($element->getTable(), $element->getDataValue('liveId'));
             $transformedElements[$elementName] = $element;
index 1b3e0ee..bb13ab6 100644 (file)
@@ -63,9 +63,9 @@ class BackendUtilityHook
                 $editingName = $stages->getStageTitle(StagesService::STAGE_EDIT_ID);
                 $message = $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xlf:info.elementAlreadyModified');
                 $flashMessage = GeneralUtility::makeInstance(FlashMessage::class, sprintf($message, $stageName, $editingName), '', FlashMessage::INFO, true);
-                /** @var $flashMessageService FlashMessageService */
+                /** @var FlashMessageService $flashMessageService */
                 $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
-                /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */
+                /** @var \TYPO3\CMS\Core\Messaging\FlashMessageQueue $defaultFlashMessageQueue */
                 $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
                 $defaultFlashMessageQueue->enqueue($flashMessage);
             }
index bf7f4b8..c4f7062 100644 (file)
@@ -663,7 +663,7 @@ class DataHandlerHook
                 $emailSubject = $templateService->substituteMarkerArray($emailSubject, $markers, '', true, true);
                 $emailMessage = $templateService->substituteMarkerArray($emailMessage, $markers, '', true, true);
                 // Send an email to the recipient
-                /** @var $mail \TYPO3\CMS\Core\Mail\MailMessage */
+                /** @var \TYPO3\CMS\Core\Mail\MailMessage $mail */
                 $mail = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Mail\MailMessage::class);
                 if (!empty($recipientData['realName'])) {
                     $recipient = [$recipientData['email'] => $recipientData['realName']];
@@ -1073,7 +1073,7 @@ class DataHandlerHook
             }
 
             //Update reference index for live workspace too:
-            /** @var $refIndexObj \TYPO3\CMS\Core\Database\ReferenceIndex */
+            /** @var \TYPO3\CMS\Core\Database\ReferenceIndex $refIndexObj */
             $refIndexObj = GeneralUtility::makeInstance(ReferenceIndex::class);
             $refIndexObj->setWorkspaceId(0);
             $refIndexObj->updateRefIndexTable($table, $id);
index d2a7217..7612c36 100644 (file)
@@ -208,7 +208,7 @@ class StagesService implements SingletonInterface
             return $this->getStagesForWS();
         }
 
-        /** @var $allowedStages StageRecord[] */
+        /** @var StageRecord[] $allowedStages */
         $allowedStages = [];
         $stageRecords = $this->getWorkspaceRecord()->getStages();