From eb049dba4d3d4f0ff7cbc60b60eae17b66793626 Mon Sep 17 00:00:00 2001 From: Wouter Wolters <typo3@wouterwolters.nl> Date: Tue, 14 Feb 2017 21:08:46 +0100 Subject: [PATCH] [TASK] Streamline return tags in phpdocs The TYPO3 Core currently has no guidline how to handle phpdoc comments regarding @return annoations related to "void" and "null". In practice, these annotations have no additional value if no additional documentation is given. With this change, the php-cs-fixer will remove any unnecessary linebreaks within the comments above the @return annotation, as well as remove completely empty phpdoc comments because the @return annotation is removed. Please be aware, that once PSR-5 is accepted, this coding standard within the TYPO3 Core will change again, where there are currently some further proposal details like inheritance information. Resolves: #80454 Releases: master Change-Id: Ie969d720684c0a75919fe5addd1c36ef5b12eb04 Reviewed-on: https://review.typo3.org/51686 Reviewed-by: Nicole Cordes <typo3@cordes.co> Tested-by: Nicole Cordes <typo3@cordes.co> Reviewed-by: Benni Mack <benni@typo3.org> Tested-by: Benni Mack <benni@typo3.org> --- Build/.php_cs | 5 +- .../Acceptance/AcceptanceCoreEnvironment.php | 2 - .../Core/AccessibleObjectInterface.php | 6 -- .../Classes/Core/BaseTestCase.php | 3 - .../Classes/Core/FileStreamWrapper.php | 7 -- .../Framework/Frontend/Collector.php | 3 - .../Framework/Frontend/Renderer.php | 1 - .../Framework/Frontend/RequestBootstrap.php | 1 - .../Core/Functional/FunctionalTestCase.php | 2 - .../Classes/Core/Testbase.php | 26 ----- .../Classes/Core/Unit/UnitTestCase.php | 2 - .../ViewHelpers/ViewHelperBaseTestcase.php | 2 - .../Classes/Controller/AboutController.php | 2 - .../Classes/Controller/ModulesController.php | 2 - .../backend/Classes/Backend/Avatar/Avatar.php | 1 - .../SystemInformationToolbarItem.php | 14 --- .../backend/Classes/Clipboard/Clipboard.php | 12 --- .../Classes/Command/LockBackendCommand.php | 1 - .../Command/ReferenceIndexUpdateCommand.php | 1 - .../Classes/Command/UnlockBackendCommand.php | 1 - .../ConditionMatching/ConditionMatcher.php | 1 - .../backend/Classes/Console/Application.php | 5 - .../Classes/Console/CliRequestHandler.php | 1 - .../ItemProviders/RecordProvider.php | 1 - .../Classes/Controller/BackendController.php | 12 --- .../ElementHistoryController.php | 4 - .../ElementInformationController.php | 2 - .../ContentElement/MoveElementController.php | 4 - .../NewContentElementController.php | 6 -- .../Classes/Controller/DummyController.php | 2 - .../Controller/EditDocumentController.php | 13 --- .../File/CreateFolderController.php | 2 - .../Controller/File/EditFileController.php | 2 - .../Controller/File/FileController.php | 8 -- .../Controller/File/FileUploadController.php | 2 - .../Controller/File/RenameFileController.php | 2 - .../Controller/File/ReplaceFileController.php | 3 - .../FileSystemNavigationFrameController.php | 6 -- .../Controller/LinkBrowserController.php | 4 - .../Classes/Controller/LoginController.php | 2 - .../Controller/LoginFramesetController.php | 2 - .../Classes/Controller/LogoutController.php | 2 - .../Controller/NewRecordController.php | 8 -- .../Controller/OnlineMediaController.php | 1 - .../Controller/PageLayoutController.php | 15 --- .../SimpleDataHandlerController.php | 6 -- .../Controller/UserSettingsController.php | 7 -- .../Controller/Wizard/AddController.php | 4 - .../Wizard/ColorpickerController.php | 6 -- .../Controller/Wizard/EditController.php | 2 - .../Controller/Wizard/ListController.php | 2 - .../Controller/Wizard/TableController.php | 5 - .../Domain/Model/Module/BackendModule.php | 9 -- .../Module/BackendModuleRepository.php | 3 - .../Form/Container/InlineRecordContainer.php | 1 - .../Form/DatabaseFileIconsHookInterface.php | 1 - .../Element/InlineElementHookInterface.php | 2 - .../Form/FormDataProvider/TcaFlexProcess.php | 1 - .../Classes/Form/FormResultCompiler.php | 1 - .../Classes/Form/InlineStackProcessor.php | 3 - .../Form/Utility/FormEngineUtility.php | 1 - .../Wizard/SuggestWizardDefaultReceiver.php | 5 - .../FrontendBackendUserAuthentication.php | 4 - .../backend/Classes/History/RecordHistory.php | 3 - .../backend/Classes/Http/Application.php | 1 - .../Http/BackendModuleRequestHandler.php | 2 - .../backend/Classes/Http/RequestHandler.php | 1 - .../LoginProvider/LoginProviderInterface.php | 2 - .../Classes/Module/AbstractFunctionModule.php | 6 -- .../Classes/Module/BaseScriptClass.php | 10 -- .../backend/Classes/Module/ModuleLoader.php | 1 - .../backend/Classes/Module/ModuleStorage.php | 2 - .../PageTsBackendLayoutDataProvider.php | 6 -- .../Classes/RecordList/AbstractRecordList.php | 4 - .../RecordList/ElementBrowserRecordList.php | 1 - .../RecordListGetTableHookInterface.php | 1 - .../Classes/Search/LiveSearch/LiveSearch.php | 3 - .../Security/CategoryPermissionsAspect.php | 1 - .../Components/DocHeaderComponent.php | 2 - .../Classes/Template/Components/Menu/Menu.php | 2 - .../Template/Components/MenuRegistry.php | 2 - .../Template/Components/MetaInformation.php | 2 - .../Classes/Template/DocumentTemplate.php | 7 -- .../Classes/Template/ModuleTemplate.php | 19 ---- .../backend/Classes/Tree/AbstractTree.php | 2 - .../DraggableAndDropableNodeInterface.php | 4 - .../Tree/EditableNodeLabelInterface.php | 1 - .../backend/Classes/Tree/ExtDirectNode.php | 19 ---- .../Pagetree/CollectionProcessorInterface.php | 3 - .../Classes/Tree/Pagetree/Commands.php | 6 -- .../Tree/Pagetree/ExtdirectTreeCommands.php | 1 - .../Pagetree/ExtdirectTreeDataProvider.php | 2 - .../Classes/Tree/Pagetree/PagetreeNode.php | 6 -- .../Classes/Tree/SortedTreeNodeCollection.php | 3 - .../sysext/backend/Classes/Tree/TreeNode.php | 7 -- .../Classes/Tree/TreeNodeCollection.php | 5 - .../Classes/Tree/TreeRepresentationNode.php | 5 - .../Classes/Tree/View/AbstractTreeView.php | 9 -- .../Classes/Tree/View/BrowseTreeView.php | 1 - .../View/ElementBrowserFolderTreeView.php | 2 - .../Tree/View/ElementBrowserPageTreeView.php | 2 - .../Classes/Tree/View/FolderTreeView.php | 2 - .../Classes/Tree/View/PageTreeView.php | 2 - .../Classes/Utility/BackendUtility.php | 6 -- .../BackendLayout/DataProviderInterface.php | 1 - .../BackendLayout/DefaultDataProvider.php | 1 - .../Classes/View/BackendLayoutView.php | 3 - .../Classes/View/BackendTemplateView.php | 4 - .../backend/Classes/View/PageLayoutView.php | 3 - .../PageLayoutViewDrawFooterHookInterface.php | 2 - .../PageLayoutViewDrawItemHookInterface.php | 1 - .../NewContentElementWizardHookInterface.php | 1 - .../Page/LocalizationControllerTest.php | 2 - .../LocalizationRepositoryTest.php | 2 - .../Functional/Utility/BackendUtilityTest.php | 2 - .../Button/FullyRenderedButtonTest.php | 2 - .../Components/Button/InputButtonTest.php | 6 -- .../Components/Button/LinkButtonTest.php | 5 - .../Components/Button/SplitButtonTest.php | 5 - .../Template/Components/Menu/MenuItemTest.php | 4 - .../Unit/Template/Components/MenuTest.php | 4 - .../Classes/Controller/AbstractController.php | 7 -- .../Classes/Controller/WebInfoController.php | 2 - .../belog/Classes/Domain/Model/Constraint.php | 13 --- .../Classes/Domain/Model/HistoryEntry.php | 1 - .../belog/Classes/Domain/Model/LogEntry.php | 16 --- .../belog/Classes/Domain/Model/Workspace.php | 1 - .../Repository/HistoryEntryRepository.php | 2 - .../Domain/Repository/LogEntryRepository.php | 4 - .../Domain/Repository/WorkspaceRepository.php | 2 - .../Module/BackendLogModuleBootstrap.php | 4 - .../Form/TranslateLabelSelectViewHelper.php | 1 - .../Unit/Domain/Model/ConstraintTest.php | 1 - .../Tests/Unit/Domain/Model/LogEntryTest.php | 1 - .../BackendUserActionController.php | 4 - .../Controller/BackendUserController.php | 11 --- .../Controller/BackendUserGroupController.php | 3 - .../Controller/PermissionController.php | 9 -- .../Classes/Domain/Model/BackendUser.php | 3 - .../beuser/Classes/Domain/Model/Demand.php | 4 - .../Classes/Domain/Model/ModuleData.php | 3 - .../BackendUserSessionRepository.php | 1 - .../Classes/Hook/BackendControllerHook.php | 1 - .../Classes/Hook/SwitchBackUserHook.php | 1 - .../Service/ModuleDataStorageService.php | 1 - .../AbstractUserAuthentication.php | 18 ---- .../BackendUserAuthentication.php | 21 ---- .../CommandLineUserAuthentication.php | 3 - .../Classes/Cache/Backend/AbstractBackend.php | 2 - .../core/Classes/Cache/Backend/ApcBackend.php | 8 -- .../Classes/Cache/Backend/ApcuBackend.php | 8 -- .../Cache/Backend/BackendInterface.php | 4 - .../Classes/Cache/Backend/FileBackend.php | 6 -- .../Backend/FreezableBackendInterface.php | 2 - .../Cache/Backend/MemcachedBackend.php | 10 -- .../Classes/Cache/Backend/NullBackend.php | 6 -- .../core/Classes/Cache/Backend/PdoBackend.php | 11 --- .../Classes/Cache/Backend/RedisBackend.php | 14 --- .../Cache/Backend/SimpleFileBackend.php | 6 -- .../Backend/TaggableBackendInterface.php | 2 - .../Cache/Backend/TransientMemoryBackend.php | 4 - .../Cache/Backend/Typo3DatabaseBackend.php | 8 -- .../Classes/Cache/Backend/WincacheBackend.php | 7 -- .../core/Classes/Cache/CacheManager.php | 10 -- .../Cache/Frontend/AbstractFrontend.php | 4 - .../Cache/Frontend/FrontendInterface.php | 6 -- .../Classes/Cache/Frontend/PhpFrontend.php | 1 - .../Classes/Cache/Frontend/StringFrontend.php | 1 - .../Cache/Frontend/VariableFrontend.php | 1 - .../Classes/Category/CategoryRegistry.php | 6 -- .../Collection/CategoryCollection.php | 7 -- .../core/Classes/Charset/CharsetConverter.php | 1 - .../Collection/AbstractRecordCollection.php | 11 --- .../EditableCollectionInterface.php | 5 - .../NameableCollectionInterface.php | 4 - .../PersistableCollectionInterface.php | 5 - .../Collection/RecordCollectionInterface.php | 1 - .../Collection/RecordCollectionRepository.php | 1 - .../SortableCollectionInterface.php | 2 - .../Collection/StaticRecordCollection.php | 7 -- .../LoadedExtensionArrayElement.php | 6 -- .../Compatibility/LoadedExtensionsArray.php | 6 -- .../Configuration/ConfigurationManager.php | 3 - .../Configuration/FlexForm/FlexFormTools.php | 1 - .../AbstractConditionMatcher.php | 5 - .../Classes/Console/CommandApplication.php | 3 - .../Classes/Console/CommandRequestHandler.php | 2 - .../Controller/CommandLineController.php | 5 - .../Classes/Core/ApplicationInterface.php | 1 - typo3/sysext/core/Classes/Core/Bootstrap.php | 2 - .../Classes/Core/SystemEnvironmentBuilder.php | 12 --- .../core/Classes/DataHandling/DataHandler.php | 68 ------------- ...dlerCheckModifyAccessListHookInterface.php | 1 - .../DataHandlerProcessUploadHookInterface.php | 1 - .../DataHandling/TableColumnSubType.php | 1 - .../Classes/DataHandling/TableColumnType.php | 1 - .../Classes/Database/DatabaseConnection.php | 8 -- .../core/Classes/Database/PdoHelper.php | 1 - .../PostProcessQueryHookInterface.php | 6 -- .../Database/PreProcessQueryHookInterface.php | 6 -- .../Classes/Database/PreparedStatement.php | 3 - .../Database/Query/BulkInsertQuery.php | 2 - .../core/Classes/Database/QueryGenerator.php | 7 -- .../core/Classes/Database/QueryView.php | 1 - .../core/Classes/Database/ReferenceIndex.php | 4 - .../core/Classes/Database/RelationHandler.php | 9 -- .../Classes/Database/Schema/Parser/Parser.php | 5 - ...nfigurationPostProcessingHookInterface.php | 2 - .../Error/AbstractExceptionHandler.php | 3 - .../Classes/Error/DebugExceptionHandler.php | 2 - .../core/Classes/Error/ErrorHandler.php | 2 - .../Classes/Error/ErrorHandlerInterface.php | 1 - .../Error/ExceptionHandlerInterface.php | 3 - .../Classes/Error/Http/StatusException.php | 1 - .../Error/ProductionExceptionHandler.php | 2 - typo3/sysext/core/Classes/Exception.php | 1 - .../core/Classes/ExtDirect/ExtDirectDebug.php | 1 - .../FormProtection/AbstractFormProtection.php | 5 - .../FormProtection/BackendFormProtection.php | 2 - .../FormProtection/FormProtectionFactory.php | 3 - .../FormProtection/FrontendFormProtection.php | 1 - .../InstallToolFormProtection.php | 4 - .../FrontendEditingController.php | 15 --- .../core/Classes/Html/RteHtmlParser.php | 1 - .../core/Classes/Http/AjaxRequestHandler.php | 3 - typo3/sysext/core/Classes/Http/Stream.php | 2 - .../Classes/Imaging/GraphicalFunctions.php | 27 ------ .../core/Classes/Imaging/IconRegistry.php | 4 - .../Integrity/DatabaseIntegrityCheck.php | 4 - .../Classes/Localization/LanguageStore.php | 2 - .../core/Classes/Localization/Locales.php | 2 - .../Localization/LocalizationFactory.php | 3 - .../core/Classes/Locking/FileLockStrategy.php | 2 - .../Locking/LockingStrategyInterface.php | 2 - .../Classes/Locking/SemaphoreLockStrategy.php | 2 - .../Classes/Locking/SimpleLockStrategy.php | 3 - typo3/sysext/core/Classes/Log/LogLevel.php | 1 - typo3/sysext/core/Classes/Log/LogManager.php | 5 - typo3/sysext/core/Classes/Log/LogRecord.php | 2 - typo3/sysext/core/Classes/Log/Logger.php | 2 - .../Log/Processor/AbstractMemoryProcessor.php | 2 - .../core/Classes/Log/Writer/FileWriter.php | 6 -- .../core/Classes/Log/Writer/SyslogWriter.php | 1 - .../sysext/core/Classes/Mail/MailMessage.php | 1 - typo3/sysext/core/Classes/Mail/Mailer.php | 2 - .../Classes/Messaging/AbstractMessage.php | 3 - .../Messaging/AbstractStandaloneMessage.php | 4 - .../core/Classes/Messaging/FlashMessage.php | 1 - .../Classes/Messaging/FlashMessageQueue.php | 7 -- .../Package/FailsafePackageManager.php | 4 - .../sysext/core/Classes/Package/MetaData.php | 3 - typo3/sysext/core/Classes/Package/Package.php | 3 - .../core/Classes/Package/PackageInterface.php | 1 - .../core/Classes/Package/PackageManager.php | 11 --- .../Package/UnitTestPackageManager.php | 4 - .../sysext/core/Classes/Page/PageRenderer.php | 96 ------------------ typo3/sysext/core/Classes/Registry.php | 5 - .../core/Classes/Resource/AbstractFile.php | 2 - .../Classes/Resource/AbstractRepository.php | 7 -- .../CategoryBasedFileCollection.php | 2 - .../Collection/FolderBasedFileCollection.php | 2 - .../Collection/StaticFileCollection.php | 2 - .../Resource/Driver/AbstractDriver.php | 2 - .../Resource/Driver/DriverInterface.php | 5 - .../Resource/Driver/DriverRegistry.php | 2 - .../Classes/Resource/Driver/LocalDriver.php | 8 -- .../core/Classes/Resource/Exception.php | 1 - .../AbstractFileOperationException.php | 1 - .../ExistingTargetFileNameException.php | 1 - .../ExistingTargetFolderException.php | 1 - .../Exception/FileDoesNotExistException.php | 1 - .../Exception/FileOperationErrorException.php | 1 - .../Exception/FolderDoesNotExistException.php | 1 - .../IllegalFileExtensionException.php | 1 - ...fficientFileAccessPermissionsException.php | 1 - ...sufficientFileReadPermissionsException.php | 1 - ...ufficientFileWritePermissionsException.php | 1 - ...icientFolderAccessPermissionsException.php | 1 - ...fficientFolderReadPermissionsException.php | 1 - ...ficientFolderWritePermissionsException.php | 1 - .../InsufficientUserPermissionsException.php | 1 - .../InvalidConfigurationException.php | 1 - .../Exception/InvalidFileException.php | 1 - .../Exception/InvalidFileNameException.php | 1 - .../Exception/InvalidFolderException.php | 1 - .../Exception/InvalidPathException.php | 1 - .../InvalidTargetFolderException.php | 1 - .../Exception/NotInMountPointException.php | 1 - .../Resource/Exception/UploadException.php | 1 - .../Exception/UploadSizeException.php | 1 - typo3/sysext/core/Classes/Resource/File.php | 4 - typo3/sysext/core/Classes/Resource/Folder.php | 2 - .../Hook/FileDumpEIDHookInterface.php | 1 - .../Classes/Resource/InaccessibleFolder.php | 3 - .../Resource/Index/ExtractorRegistry.php | 1 - .../Resource/Index/FileIndexRepository.php | 6 -- .../core/Classes/Resource/Index/Indexer.php | 6 -- .../Resource/Index/MetaDataRepository.php | 2 - .../core/Classes/Resource/ProcessedFile.php | 3 - .../Resource/ProcessedFileRepository.php | 2 - .../Resource/Processing/AbstractTask.php | 1 - .../Processing/FileDeletionAspect.php | 3 - .../Processing/ProcessorInterface.php | 1 - .../Resource/Processing/TaskInterface.php | 1 - .../Classes/Resource/ResourceCompressor.php | 2 - .../core/Classes/Resource/ResourceFactory.php | 2 - .../Classes/Resource/ResourceInterface.php | 1 - .../core/Classes/Resource/ResourceStorage.php | 47 --------- .../Resource/ResourceStorageInterface.php | 1 - .../FileMetadataPermissionsAspect.php | 1 - .../Security/StoragePermissionsAspect.php | 2 - .../Resource/Service/MagicImageService.php | 1 - .../Service/UserFileInlineLabelService.php | 1 - .../Classes/Resource/StorageRepository.php | 2 - .../TextExtraction/PlainTextExtractor.php | 1 - .../TextExtraction/TextExtractorInterface.php | 1 - .../TextExtraction/TextExtractorRegistry.php | 1 - .../core/Classes/Service/AbstractService.php | 18 ---- .../Classes/Service/OpcodeCacheService.php | 2 - .../Session/Backend/RedisSessionBackend.php | 1 - .../Classes/TimeTracker/NullTimeTracker.php | 9 -- .../core/Classes/TimeTracker/TimeTracker.php | 9 -- ...ractTableConfigurationTreeDataProvider.php | 10 -- .../DatabaseTreeDataProvider.php | 12 --- .../TableConfiguration/DatabaseTreeNode.php | 5 - .../Classes/TypoScript/ConfigurationForm.php | 3 - .../TypoScript/ExtendedTemplateService.php | 7 -- .../TypoScript/Parser/TypoScriptParser.php | 5 - .../Classes/TypoScript/TemplateService.php | 15 --- .../core/Classes/Utility/ArrayUtility.php | 2 - .../core/Classes/Utility/CommandUtility.php | 2 - .../core/Classes/Utility/DebugUtility.php | 1 - .../Utility/ExtensionManagementUtility.php | 49 ---------- .../Utility/File/ExtendedFileUtility.php | 7 -- ...dedFileUtilityProcessDataHookInterface.php | 1 - .../core/Classes/Utility/GeneralUtility.php | 18 ---- .../core/Classes/Utility/HttpUtility.php | 2 - .../core/Classes/Utility/PathUtility.php | 3 - .../core/Classes/Utility/RootlineUtility.php | 6 -- .../Backend/BackendUser/ListUserCest.php | 8 -- .../Backend/Install/InstallModuleCest.php | 3 - .../Backend/Language/LanguageCest.php | 7 -- .../Backend/Login/BackendLoginCest.php | 2 - .../Backend/Template/TemplateCest.php | 3 - .../Collection/CategoryCollectionTest.php | 22 ----- .../AbstractDataHandlerActionTestCase.php | 2 - .../Database/DatabaseConnectionTest.php | 34 ------- .../Database/PreparedStatementTest.php | 5 - .../Database/Schema/SchemaMigratorTest.php | 2 - .../Classes/Controller/ContentController.php | 7 -- .../Classes/Controller/QueueController.php | 2 - .../Classes/Domain/Model/Content.php | 2 - .../Classes/Domain/Model/Hotel.php | 2 - .../Classes/Domain/Model/Offer.php | 2 - .../Classes/Domain/Model/Price.php | 2 - .../AbstractUserAuthenticationTest.php | 1 - .../Unit/Cache/Backend/ApcBackendTest.php | 2 - .../Unit/Cache/Backend/ApcuBackendTest.php | 2 - .../Unit/Cache/Backend/FileBackendTest.php | 2 - .../Cache/Backend/MemcachedBackendTest.php | 2 - .../Tests/Unit/Cache/Backend/MockBackend.php | 1 - .../Unit/Cache/Backend/RedisBackendTest.php | 1 - .../Cache/Backend/WincacheBackendTest.php | 2 - .../Collection/CategoryCollectionTest.php | 1 - .../Fixtures/GeneralUtilityFixture.php | 1 - .../Core/SystemEnvironmentBuilderTest.php | 2 - .../Tests/Unit/Database/ConnectionTest.php | 3 - .../Unit/Database/DatabaseConnectionTest.php | 32 ------ .../Unit/Database/Mocks/MockPlatform.php | 2 - .../Unit/Database/PreparedStatementTest.php | 8 -- .../Unit/Database/Query/BulkInsertTest.php | 2 - .../Expression/ExpressionBuilderTest.php | 2 - .../Unit/Database/Query/QueryBuilderTest.php | 2 - .../BackendWorkspaceRestrictionTest.php | 1 - .../DefaultRestrictionContainerTest.php | 1 - .../Restriction/DeletedRestrictionTest.php | 1 - .../Restriction/EndTimeRestrictionTest.php | 1 - .../FrontendGroupRestrictionTest.php | 1 - .../FrontendRestrictionContainerTest.php | 1 - .../FrontendWorkspaceRestrictionTest.php | 1 - .../Restriction/HiddenRestrictionTest.php | 1 - .../Restriction/StartTimeRestrictionTest.php | 1 - .../Unit/Database/RelationHandlerTest.php | 2 - .../Fixtures/FormProtectionTesting.php | 2 - .../core/Tests/Unit/Imaging/DimensionTest.php | 2 - .../Unit/Imaging/GraphicalFunctionsTest.php | 2 - .../Tests/Unit/Imaging/IconFactoryTest.php | 2 - .../IconProvider/BitmapIconProviderTest.php | 2 - .../FontawesomeIconProviderTest.php | 2 - .../IconProvider/SvgIconProviderTest.php | 2 - .../Tests/Unit/Imaging/IconRegistryTest.php | 2 - .../core/Tests/Unit/Imaging/IconTest.php | 2 - .../Tests/Unit/Locking/Fixtures/DummyLock.php | 2 - .../Tests/Unit/Package/PackageManagerTest.php | 2 - .../core/Tests/Unit/Package/PackageTest.php | 1 - .../core/Tests/Unit/Resource/BaseTestCase.php | 2 - .../Resource/Driver/AbstractDriverTest.php | 1 - .../Tests/Unit/Resource/FileReferenceTest.php | 1 - .../DatabaseTreeDataProviderTest.php | 2 - .../Parser/TypoScriptParserTest.php | 2 - .../IconForRecordViewHelperTest.php | 1 - .../Classes/Controller/HelpController.php | 8 -- .../Repository/TableManualRepository.php | 1 - .../Controller/CssStyledContentController.php | 2 - .../Link/ClickEnlargeViewHelper.php | 2 - .../Classes/Controller/DocumentController.php | 5 - .../Classes/Domain/Model/Document.php | 2 - .../Domain/Model/DocumentTranslation.php | 2 - .../Classes/Slots/ExtensionManager.php | 1 - .../Classes/Command/ExtbaseCommand.php | 1 - .../Classes/Command/HelpCommandController.php | 7 -- .../AbstractConfigurationManager.php | 3 - .../Configuration/ConfigurationManager.php | 5 - .../ConfigurationManagerInterface.php | 2 - .../sysext/extbase/Classes/Core/Bootstrap.php | 9 -- .../Classes/Domain/Model/BackendUser.php | 8 -- .../Classes/Domain/Model/BackendUserGroup.php | 24 ----- .../extbase/Classes/Domain/Model/Category.php | 4 - .../Classes/Domain/Model/FileMount.php | 4 - .../Classes/Domain/Model/FrontendUser.php | 21 ---- .../Domain/Model/FrontendUserGroup.php | 6 -- .../Repository/BackendUserGroupRepository.php | 2 - .../Repository/BackendUserRepository.php | 2 - .../Domain/Repository/CategoryRepository.php | 2 - .../Domain/Repository/FileMountRepository.php | 2 - .../DomainObject/AbstractDomainObject.php | 5 - .../DomainObject/DomainObjectInterface.php | 2 - typo3/sysext/extbase/Classes/Error/Result.php | 15 --- .../Hook/DataHandler/CheckFlexFormValue.php | 1 - .../extbase/Classes/Mvc/Cli/ConsoleOutput.php | 10 -- .../extbase/Classes/Mvc/Cli/Request.php | 6 -- .../extbase/Classes/Mvc/Cli/Response.php | 2 - .../Mvc/Controller/AbstractController.php | 9 -- .../Mvc/Controller/ActionController.php | 15 --- .../Classes/Mvc/Controller/Arguments.php | 7 -- .../Mvc/Controller/CommandController.php | 13 --- .../Mvc/Controller/ControllerContext.php | 4 - .../Mvc/Controller/ControllerInterface.php | 1 - .../MvcPropertyMappingConfiguration.php | 3 - ...MvcPropertyMappingConfigurationService.php | 4 - .../sysext/extbase/Classes/Mvc/Dispatcher.php | 1 - typo3/sysext/extbase/Classes/Mvc/Request.php | 19 ---- .../extbase/Classes/Mvc/RequestInterface.php | 3 - typo3/sysext/extbase/Classes/Mvc/Response.php | 2 - .../extbase/Classes/Mvc/ResponseInterface.php | 2 - .../extbase/Classes/Mvc/View/AbstractView.php | 2 - .../extbase/Classes/Mvc/View/EmptyView.php | 3 - .../extbase/Classes/Mvc/View/JsonView.php | 2 - .../extbase/Classes/Mvc/View/NotFoundView.php | 1 - .../Classes/Mvc/View/ViewInterface.php | 2 - .../extbase/Classes/Mvc/Web/Request.php | 3 - .../Classes/Mvc/Web/RequestBuilder.php | 1 - .../extbase/Classes/Mvc/Web/Response.php | 5 - .../Classes/Mvc/Web/Routing/UriBuilder.php | 2 - .../Classes/Object/Container/Container.php | 2 - .../extbase/Classes/Object/ObjectManager.php | 1 - .../Classes/Object/ObjectManagerException.php | 1 - .../Classes/Persistence/Generic/Backend.php | 20 ---- .../Persistence/Generic/BackendInterface.php | 6 -- .../Persistence/Generic/LazyLoadingProxy.php | 6 -- .../Persistence/Generic/LazyObjectStorage.php | 4 - .../Persistence/Generic/Mapper/DataMap.php | 18 ---- .../Generic/Mapper/DataMapFactory.php | 2 - .../Persistence/Generic/Mapper/DataMapper.php | 1 - .../Generic/PersistenceManager.php | 12 --- .../Generic/Qom/BindVariableValue.php | 1 - .../Persistence/Generic/Qom/Comparison.php | 2 - .../Generic/Qom/ConstraintInterface.php | 1 - .../Persistence/Generic/Qom/LogicalAnd.php | 1 - .../Persistence/Generic/Qom/LogicalNot.php | 1 - .../Persistence/Generic/Qom/LogicalOr.php | 1 - .../Persistence/Generic/Qom/Statement.php | 1 - .../Classes/Persistence/Generic/Query.php | 2 - .../Persistence/Generic/QueryResult.php | 7 -- .../Classes/Persistence/Generic/Session.php | 6 -- .../Generic/Storage/Typo3DbBackend.php | 1 - .../Generic/Storage/Typo3DbQueryParser.php | 5 - .../Persistence/ObjectMonitoringInterface.php | 2 - .../Classes/Persistence/ObjectStorage.php | 15 --- .../PersistenceManagerInterface.php | 8 -- .../Classes/Persistence/QueryInterface.php | 1 - .../Classes/Persistence/Repository.php | 6 -- .../Persistence/RepositoryInterface.php | 5 - .../Classes/Property/PropertyMapper.php | 1 - .../TypeConverter/DateTimeConverter.php | 1 - .../Classes/Reflection/ClassSchema.php | 5 - .../Classes/Reflection/DocCommentParser.php | 2 - .../Classes/Reflection/ReflectionService.php | 8 -- .../sysext/extbase/Classes/Scheduler/Task.php | 2 - .../Classes/Scheduler/TaskExecutor.php | 4 - .../extbase/Classes/Service/CacheService.php | 3 - .../extbase/Classes/Service/ImageService.php | 1 - .../extbase/Classes/SignalSlot/Dispatcher.php | 3 - .../Classes/Utility/DebuggerUtility.php | 2 - .../Exception/InvalidTypeException.php | 1 - .../Classes/Utility/ExtensionUtility.php | 7 -- .../Utility/FrontendSimulatorUtility.php | 2 - .../Classes/Utility/LocalizationUtility.php | 4 - .../Classes/Utility/TypeHandlingUtility.php | 1 - .../extbase/Classes/Validation/Error.php | 1 - .../Validator/AbstractCompositeValidator.php | 3 - .../Validator/AbstractValidator.php | 2 - .../Validator/AlphanumericValidator.php | 1 - .../Validation/Validator/BooleanValidator.php | 1 - .../Validator/CollectionValidator.php | 1 - .../Validator/DateTimeValidator.php | 1 - .../Validator/EmailAddressValidator.php | 1 - .../Validation/Validator/FloatValidator.php | 1 - .../Validator/GenericObjectValidator.php | 4 - .../Validation/Validator/IntegerValidator.php | 1 - .../Validator/NotEmptyValidator.php | 1 - .../Validator/NumberRangeValidator.php | 1 - .../Validation/Validator/NumberValidator.php | 1 - .../Validator/ObjectValidatorInterface.php | 1 - .../Validation/Validator/RawValidator.php | 1 - .../Validator/RegularExpressionValidator.php | 1 - .../Validator/StringLengthValidator.php | 1 - .../Validation/Validator/StringValidator.php | 1 - .../Validation/Validator/TextValidator.php | 1 - .../Classes/Validation/ValidatorResolver.php | 2 - .../Tests/Fixture/ClassWithSetters.php | 1 - .../ClassWithSettersAndConstructor.php | 1 - typo3/sysext/extbase/Tests/Fixture/Entity.php | 1 - .../extbase/Tests/Fixture/ValueObject.php | 1 - .../Classes/Domain/Model/Blog.php | 9 -- .../Classes/Domain/Model/Comment.php | 4 - .../Classes/Domain/Model/Person.php | 4 - .../Classes/Domain/Model/Post.php | 19 ---- .../Domain/Repository/BlogRepository.php | 2 - .../Tests/Unit/Mvc/Cli/CommandTest.php | 1 - .../Tests/Unit/Mvc/View/JsonViewTest.php | 2 - .../Tests/Unit/Mvc/Web/RequestBuilderTest.php | 1 - .../Unit/Object/Container/ContainerTest.php | 1 - .../Persistence/Fixture/Model/Entity2.php | 1 - .../Persistence/Fixture/Model/Entity3.php | 1 - .../Persistence/Generic/QueryResultTest.php | 2 - .../Unit/Persistence/Generic/QueryTest.php | 2 - .../Unit/Property/PropertyMapperTest.php | 3 - .../DummyClassWithGettersAndSetters.php | 2 - .../Unit/Reflection/ReflectionServiceTest.php | 5 +- .../Unit/Utility/DebuggerUtilityTest.php | 2 - .../Unit/Utility/LocalizationUtilityTest.php | 3 - .../Validator/CollectionValidatorTest.php | 1 - .../AbstractCompositeValidatorClass.php | 1 - .../Fixture/AbstractValidatorClass.php | 1 - .../Command/ExtensionCommandController.php | 3 - .../Classes/Controller/AbstractController.php | 2 - .../Controller/AbstractModuleController.php | 2 - .../Classes/Controller/ActionController.php | 1 - .../Controller/ConfigurationController.php | 7 -- .../Controller/DistributionController.php | 2 - .../Classes/Controller/DownloadController.php | 3 - .../Classes/Controller/ListController.php | 7 -- .../Controller/UpdateFromTerController.php | 1 - .../Controller/UpdateScriptController.php | 3 - .../UploadExtensionFileController.php | 7 -- .../Domain/Model/ConfigurationCategory.php | 4 - .../Domain/Model/ConfigurationItem.php | 9 -- .../Domain/Model/ConfigurationSubcategory.php | 4 - .../Classes/Domain/Model/Dependency.php | 4 - .../Classes/Domain/Model/DownloadQueue.php | 6 -- .../Classes/Domain/Model/Extension.php | 18 ---- .../Classes/Domain/Model/Mirrors.php | 2 - .../Classes/Domain/Model/Repository.php | 8 -- .../Domain/Repository/ExtensionRepository.php | 3 - .../Repository/RepositoryRepository.php | 3 - .../Service/ExtensionManagementService.php | 6 -- .../Classes/Task/UpdateExtensionListTask.php | 1 - .../Classes/Utility/ConfigurationUtility.php | 2 - .../Classes/Utility/DependencyUtility.php | 7 -- .../Classes/Utility/DownloadUtility.php | 2 - .../Classes/Utility/FileHandlingUtility.php | 11 --- .../Utility/Importer/ExtensionListUtility.php | 2 - .../Utility/Importer/MirrorListUtility.php | 1 - .../Classes/Utility/InstallUtility.php | 12 --- .../Parser/AbstractExtensionXmlParser.php | 1 - .../Parser/AbstractMirrorXmlParser.php | 1 - .../Utility/Parser/AbstractXmlParser.php | 5 - .../Utility/Parser/ExtensionXmlPullParser.php | 5 - .../Utility/Parser/ExtensionXmlPushParser.php | 6 -- .../Utility/Parser/MirrorXmlPullParser.php | 5 - .../Utility/Parser/MirrorXmlPushParser.php | 6 -- .../Classes/Utility/Repository/Helper.php | 4 - .../Controller/DownloadControllerTest.php | 3 - .../UpdateFromTerControllerTest.php | 4 - .../UploadExtensionFileControllerTest.php | 2 - .../Unit/Domain/Model/DownloadQueueTest.php | 6 -- .../Tests/Unit/Domain/Model/ExtensionTest.php | 1 - .../ConfigurationItemRepositoryTest.php | 11 --- .../Repository/RepositoryRepositoryTest.php | 1 - .../ExtensionManagementServiceTest.php | 10 -- .../Unit/Task/UpdateExtensionListTaskTest.php | 1 - .../Unit/Utility/ConfigurationUtilityTest.php | 3 - .../Unit/Utility/DependencyUtilityTest.php | 27 ------ .../Utility/ExtensionModelUtilityTest.php | 3 - .../Unit/Utility/FileHandlingUtilityTest.php | 15 --- .../Tests/Unit/Utility/InstallUtilityTest.php | 3 - .../Tests/Unit/Utility/ListUtilityTest.php | 4 - .../Classes/FrontendEditAssetLoader.php | 1 - .../Controller/FrontendLoginController.php | 2 - .../felogin/Classes/Hooks/CmsLayout.php | 2 - .../FrontendLoginControllerTest.php | 1 - .../ItemProviders/FileDragProvider.php | 1 - .../ItemProviders/FileStorageProvider.php | 1 - .../ItemProviders/FilemountsProvider.php | 1 - .../Classes/Controller/FileListController.php | 8 -- typo3/sysext/filelist/Classes/FileList.php | 3 - .../Classes/FileListEditIconHookInterface.php | 1 - .../Classes/Hook/BackendControllerHook.php | 1 - .../Link/ClickMenuOnIconViewHelper.php | 1 - .../Classes/Core/Cache/FluidTemplateCache.php | 1 - .../Core/Rendering/RenderingContext.php | 2 - .../AbstractConditionViewHelper.php | 1 - .../ViewHelper/AbstractTagBasedViewHelper.php | 3 - .../Core/ViewHelper/AbstractViewHelper.php | 2 - .../Core/Widget/AbstractWidgetController.php | 2 - .../Core/Widget/AbstractWidgetViewHelper.php | 7 -- .../Core/Widget/AjaxWidgetContextHolder.php | 5 - .../fluid/Classes/Core/Widget/Bootstrap.php | 2 - .../Classes/Core/Widget/WidgetContext.php | 9 -- .../Classes/Core/Widget/WidgetRequest.php | 1 - .../Core/Widget/WidgetRequestBuilder.php | 1 - .../Classes/View/AbstractTemplateView.php | 2 - .../fluid/Classes/View/StandaloneView.php | 6 -- .../fluid/Classes/View/TemplatePaths.php | 4 - .../fluid/Classes/View/TemplateView.php | 5 - .../Menus/ActionMenuItemGroupViewHelper.php | 2 - .../Be/Menus/ActionMenuViewHelper.php | 2 - .../Be/Security/IfHasRoleViewHelper.php | 2 - .../Widget/Controller/PaginateController.php | 3 - .../Classes/ViewHelpers/CObjectViewHelper.php | 4 - .../Classes/ViewHelpers/CaseViewHelper.php | 2 - .../ViewHelpers/Debug/RenderViewHelper.php | 1 - .../ViewHelpers/FlashMessagesViewHelper.php | 1 - .../Form/AbstractFormFieldViewHelper.php | 6 -- .../Form/AbstractFormViewHelper.php | 1 - .../ViewHelpers/Form/ButtonViewHelper.php | 1 - .../ViewHelpers/Form/CheckboxViewHelper.php | 1 - .../ViewHelpers/Form/HiddenViewHelper.php | 1 - .../ViewHelpers/Form/PasswordViewHelper.php | 1 - .../ViewHelpers/Form/RadioViewHelper.php | 1 - .../Form/Select/OptgroupViewHelper.php | 1 - .../Form/Select/OptionViewHelper.php | 1 - .../ViewHelpers/Form/SelectViewHelper.php | 1 - .../ViewHelpers/Form/SubmitViewHelper.php | 1 - .../ViewHelpers/Form/TextareaViewHelper.php | 1 - .../ViewHelpers/Form/TextfieldViewHelper.php | 1 - .../ViewHelpers/Form/UploadViewHelper.php | 1 - .../Form/ValidationResultsViewHelper.php | 1 - .../ViewHelpers/Format/BytesViewHelper.php | 2 - .../ViewHelpers/Format/CaseViewHelper.php | 2 - .../Format/HtmlentitiesViewHelper.php | 2 - .../Format/StripTagsViewHelper.php | 1 - .../Format/UrlencodeViewHelper.php | 1 - .../Classes/ViewHelpers/ImageViewHelper.php | 2 - .../ViewHelpers/Link/ActionViewHelper.php | 2 - .../ViewHelpers/Link/EmailViewHelper.php | 2 - .../ViewHelpers/Link/ExternalViewHelper.php | 1 - .../ViewHelpers/Link/PageViewHelper.php | 2 - .../ViewHelpers/Link/TypolinkViewHelper.php | 1 - .../Classes/ViewHelpers/MediaViewHelper.php | 2 - .../ViewHelpers/RenderChildrenViewHelper.php | 2 - .../Security/IfHasRoleViewHelper.php | 2 - .../ViewHelpers/Uri/ActionViewHelper.php | 2 - .../ViewHelpers/Uri/EmailViewHelper.php | 1 - .../ViewHelpers/Uri/ResourceViewHelper.php | 1 - .../ViewHelpers/Uri/TypolinkViewHelper.php | 1 - .../Controller/AutocompleteController.php | 2 - .../Widget/Controller/PaginateController.php | 4 - .../ViewHelpers/Widget/LinkViewHelper.php | 1 - .../ViewHelpers/Widget/UriViewHelper.php | 1 - .../Widget/AbstractWidgetViewHelperTest.php | 2 - .../Unit/View/AbstractTemplateViewTest.php | 2 - .../Tests/Unit/View/StandaloneViewTest.php | 3 - .../FlashMessagesViewHelperTest.php | 2 - .../Form/AbstractFormFieldViewHelperTest.php | 1 - .../Form/FormFieldViewHelperBaseTestcase.php | 2 - .../Unit/ViewHelpers/FormViewHelperTest.php | 1 - .../Controller/PaginateControllerTest.php | 2 - .../Link/ClickEnlargeViewHelper.php | 2 - .../Controller/AbstractBackendController.php | 1 - .../Controller/FormEditorController.php | 1 - .../Controller/FormFrontendController.php | 3 - .../Controller/FormManagerController.php | 4 - .../Domain/Factory/AbstractFormFactory.php | 1 - .../Domain/Finishers/AbstractFinisher.php | 4 - .../Domain/Finishers/ClosureFinisher.php | 1 - .../Domain/Finishers/ConfirmationFinisher.php | 1 - .../Finishers/DeleteUploadsFinisher.php | 2 - .../Domain/Finishers/EmailFinisher.php | 1 - .../Domain/Finishers/FinisherContext.php | 1 - .../Domain/Finishers/FinisherInterface.php | 3 - .../Finishers/FinisherVariableProvider.php | 5 - .../Domain/Finishers/FlashMessageFinisher.php | 1 - .../Domain/Finishers/RedirectFinisher.php | 3 - .../Finishers/SaveToDatabaseFinisher.php | 4 - .../Classes/Domain/Model/FormDefinition.php | 11 --- .../FormElements/AbstractFormElement.php | 4 - .../Model/FormElements/AbstractSection.php | 5 - .../Model/FormElements/AdvancedPassword.php | 1 - .../Domain/Model/FormElements/DatePicker.php | 1 - .../Domain/Model/FormElements/FileUpload.php | 2 - .../FormElements/FormElementInterface.php | 5 - .../Model/FormElements/GridContainer.php | 2 - .../Domain/Model/FormElements/GridRow.php | 1 - .../Domain/Model/FormElements/Page.php | 1 - .../Domain/Model/FormElements/Section.php | 3 - .../Model/FormElements/UnknownFormElement.php | 3 - .../AbstractCompositeRenderable.php | 6 -- .../Model/Renderable/AbstractRenderable.php | 12 --- .../Model/Renderable/RenderableInterface.php | 5 - .../Renderable/RootRenderableInterface.php | 1 - .../Renderer/AbstractElementRenderer.php | 1 - .../Domain/Renderer/RendererInterface.php | 1 - .../Classes/Domain/Runtime/FormRuntime.php | 16 --- .../form/Classes/Domain/Runtime/FormState.php | 2 - .../Hooks/FormElementsOnSubmitHooks.php | 1 - .../Classes/Hooks/FormPagePreviewRenderer.php | 1 - .../InheritancesResolverService.php | 1 - .../Classes/Mvc/Configuration/YamlSource.php | 1 - .../Persistence/FormPersistenceManager.php | 2 - .../FormPersistenceManagerInterface.php | 1 - .../form/Classes/Mvc/ProcessingRule.php | 4 - .../Property/PropertyMappingConfiguration.php | 1 - .../UploadedFileReferenceConverter.php | 3 - .../Classes/Mvc/Validation/CountValidator.php | 1 - .../Classes/Mvc/Validation/EmptyValidator.php | 1 - .../Mvc/Validation/MimeTypeValidator.php | 2 - .../Classes/Service/TranslationService.php | 5 - .../RenderContentElementPreviewViewHelper.php | 1 - .../ViewHelpers/Form/DatePickerViewHelper.php | 3 - .../ViewHelpers/Form/TimePickerViewHelper.php | 2 - .../Form/UploadedResourceViewHelper.php | 3 - ...ColumnClassAutoConfigurationViewHelper.php | 1 - .../ViewHelpers/PlainTextMailViewHelper.php | 1 - .../RenderAllFormValuesViewHelper.php | 1 - .../RenderRenderableViewHelper.php | 1 - .../Classes/ViewHelpers/RenderViewHelper.php | 1 - .../TranslateElementErrorViewHelper.php | 1 - .../TranslateElementPropertyViewHelper.php | 1 - .../Mvc/Validation/Fixtures/TestValidator.php | 1 - .../Form/DatePickerViewHelperTest.php | 2 - .../Aspect/FileMetadataOverlayAspect.php | 1 - .../FrontendUserAuthentication.php | 13 --- .../ConditionMatching/ConditionMatcher.php | 1 - .../ContentObject/ContentObjectRenderer.php | 8 -- .../FluidTemplateContentObject.php | 8 -- .../Menu/AbstractMenuContentObject.php | 7 -- .../Menu/GraphicalMenuContentObject.php | 6 -- .../Menu/ImageMenuContentObject.php | 2 - .../Menu/TextMenuContentObject.php | 4 - .../ContentObject/RecordsContentObject.php | 2 - .../Controller/ShowImageController.php | 3 - .../TypoScriptFrontendController.php | 97 ------------------- .../DataProcessing/GalleryProcessor.php | 11 --- .../Classes/DataProcessing/MenuProcessor.php | 6 -- .../frontend/Classes/Hooks/MediaItemHooks.php | 2 - .../PageLayoutView/ImagePreviewRenderer.php | 1 - .../PageLayoutView/TextPreviewRenderer.php | 1 - .../TextmediaPreviewRenderer.php | 2 - .../PageLayoutView/TextpicPreviewRenderer.php | 1 - .../Hooks/TreelistCacheUpdateHooks.php | 10 -- .../frontend/Classes/Http/Application.php | 1 - .../frontend/Classes/Http/RequestHandler.php | 4 - .../Classes/Http/UrlHandlerInterface.php | 1 - .../frontend/Classes/Imaging/GifBuilder.php | 2 - .../Classes/Page/ExternalPageUrlHandler.php | 2 - .../frontend/Classes/Page/PageGenerator.php | 6 -- .../frontend/Classes/Page/PageRepository.php | 4 - .../PageRepositoryGetPageHookInterface.php | 1 - ...eRepositoryGetPageOverlayHookInterface.php | 1 - .../Page/PageRepositoryInitHookInterface.php | 2 - .../Classes/Plugin/AbstractPlugin.php | 4 - .../Classes/Resource/FileCollector.php | 8 -- .../frontend/Classes/Utility/EidUtility.php | 4 - .../frontend/Classes/View/AdminPanelView.php | 6 -- .../FrontendUserAuthenticationTest.php | 2 - .../ContentObjectRendererTest.php | 94 ------------------ .../Fixtures/GeneralUtilityFixture.php | 1 - .../Menu/AbstractMenuContentObjectTest.php | 3 - .../Controller/PageFunctionsController.php | 2 - .../impexp/Classes/Command/ImportCommand.php | 1 - .../Controller/ImportExportController.php | 10 -- .../Domain/Repository/PresetRepository.php | 1 - typo3/sysext/impexp/Classes/Export.php | 14 --- .../Classes/Hook/BackendControllerHook.php | 1 - typo3/sysext/impexp/Classes/Import.php | 29 ------ typo3/sysext/impexp/Classes/ImportExport.php | 13 --- .../Classes/Utility/ImportExportUtility.php | 1 - .../Export/AbstractExportTestCase.php | 4 - .../Import/AbstractImportTestCase.php | 2 - .../Controller/AdministrationController.php | 14 --- .../Classes/Controller/SearchController.php | 5 - .../Repository/AdministrationRepository.php | 4 - .../Repository/IndexSearchRepository.php | 1 - .../Classes/Example/CrawlerHook.php | 1 - .../Classes/Example/PluginHook.php | 2 - .../Classes/FileContentParser.php | 1 - .../Classes/Hook/CrawlerHook.php | 12 --- .../Classes/Hook/TypoScriptFrontendHook.php | 1 - .../sysext/indexed_search/Classes/Indexer.php | 40 -------- typo3/sysext/indexed_search/Classes/Lexer.php | 2 - .../Format/FlagValueViewHelper.php | 1 - .../Controller/InfoModuleController.php | 2 - .../InfoPageTyposcriptConfigController.php | 1 - .../Configuration/AbstractCustomPreset.php | 2 - .../Classes/Configuration/AbstractFeature.php | 1 - .../Configuration/CustomPresetInterface.php | 2 - .../Configuration/FeatureInterface.php | 1 - .../Classes/Controller/AbstractController.php | 21 ---- .../Controller/Action/AbstractAction.php | 8 -- .../Controller/Action/ActionInterface.php | 4 - .../Action/Ajax/AbstractCoreUpdate.php | 1 - .../Ajax/ExtensionCompatibilityTester.php | 9 -- .../Action/Ajax/TcaExtTablesCheck.php | 1 - .../Action/Ajax/TcaMigrationsCheck.php | 1 - .../Action/Step/AbstractStepAction.php | 3 - .../Action/Step/DatabaseConnect.php | 2 - .../Controller/Action/Step/StepInterface.php | 1 - .../Action/Tool/ImportantActions.php | 2 - .../Controller/Action/Tool/UpgradeWizard.php | 3 - .../Classes/Controller/AjaxController.php | 12 --- .../Classes/Controller/StepController.php | 11 --- .../Classes/Controller/ToolController.php | 6 -- .../Classes/FolderStructure/AbstractNode.php | 2 - .../DefaultPermissionsCheck.php | 1 - .../install/Classes/Http/Application.php | 1 - .../install/Classes/Http/RequestHandler.php | 1 - .../Classes/Report/SecurityStatusReport.php | 3 - .../Classes/Service/ClearCacheService.php | 2 - .../Classes/Service/CoreVersionService.php | 1 - .../Classes/Service/EnableFileService.php | 2 - .../Classes/Service/LoadTcaService.php | 1 - .../Classes/Service/SessionService.php | 7 -- .../SilentConfigurationUpgradeService.php | 28 ------ .../install/Classes/Status/AbstractStatus.php | 2 - .../Classes/Status/StatusInterface.php | 2 - .../Classes/Updates/AbstractUpdate.php | 4 - .../ViewHelpers/File/ExistsViewHelper.php | 1 - .../ContentTypesToTextMediaUpdateTest.php | 1 - .../Command/LanguageCommandController.php | 1 - .../Classes/Controller/LanguageController.php | 11 --- .../lang/Classes/Domain/Model/Extension.php | 6 -- .../lang/Classes/Domain/Model/Language.php | 3 - typo3/sysext/lang/Classes/LanguageService.php | 4 - .../lang/Classes/Service/RegistryService.php | 3 - .../lang/Classes/View/AbstractJsonView.php | 3 - .../linkvalidator/Classes/LinkAnalyzer.php | 5 - .../Classes/Linktype/AbstractLinktype.php | 1 - .../Classes/Report/LinkValidatorReport.php | 6 -- .../Classes/Task/ValidatorTask.php | 8 -- .../ValidatorTaskAdditionalFieldProvider.php | 1 - .../lowlevel/Classes/CleanerCommand.php | 3 - .../Classes/Command/CleanFlexFormsCommand.php | 3 - .../Classes/Command/DeletedRecordsCommand.php | 3 - .../FilesWithMultipleReferencesCommand.php | 4 - .../Classes/Command/ListSysLogCommand.php | 2 - .../Classes/Command/LostFilesCommand.php | 4 - .../Classes/Command/MissingFilesCommand.php | 4 - .../Command/MissingRelationsCommand.php | 4 - .../Classes/Command/OrphanRecordsCommand.php | 3 - .../Classes/Command/RteImagesCommand.php | 4 - .../WorkspaceVersionRecordsCommand.php | 4 - .../Classes/View/ConfigurationView.php | 6 -- .../Classes/View/DatabaseIntegrityView.php | 16 --- .../ToolbarItems/OpendocsToolbarItem.php | 2 - .../Browser/AbstractElementBrowser.php | 7 -- .../Classes/Browser/DatabaseBrowser.php | 3 - .../Classes/Browser/FileBrowser.php | 2 - .../Classes/Browser/FolderBrowser.php | 2 - .../AbstractLinkBrowserController.php | 8 -- .../Controller/ElementBrowserController.php | 2 - .../ElementBrowserFramesetController.php | 2 - .../LinkHandler/AbstractLinkHandler.php | 3 - .../LinkHandler/LinkHandlerInterface.php | 2 - .../Classes/LinkHandler/PageLinkHandler.php | 3 - .../Classes/LinkHandler/RecordLinkHandler.php | 2 - .../sysext/recordlist/Classes/RecordList.php | 8 -- .../RecordList/AbstractDatabaseRecordList.php | 7 -- .../Classes/RecordList/DatabaseRecordList.php | 7 -- .../Controller/RecyclerAjaxController.php | 1 - .../Controller/RecyclerModuleController.php | 6 -- .../Classes/Domain/Model/DeletedRecords.php | 3 - .../Classes/Task/CleanerFieldProvider.php | 1 - .../recycler/Classes/Task/CleanerTask.php | 2 - .../Recycle/AbstractRecycleTestCase.php | 2 - .../Recycle/Pages/AdminRecycleTest.php | 2 - .../Recycle/Pages/UserRecycleTest.php | 2 - .../Classes/Controller/ReportController.php | 14 --- .../Report/Status/ConfigurationStatus.php | 4 - .../reports/Classes/Report/Status/Status.php | 2 - .../Status/WarningMessagePostProcessor.php | 1 - .../Classes/Task/SystemStatusUpdateTask.php | 2 - ...StatusUpdateTaskNotificationEmailField.php | 1 - .../rsaauth/Classes/BackendWarnings.php | 1 - typo3/sysext/rsaauth/Classes/Keypair.php | 3 - .../Classes/Storage/SessionStorage.php | 2 - .../rsaauth/Classes/Storage/SplitStorage.php | 1 - .../Classes/Storage/StorageFactory.php | 1 - .../Functional/Storage/SplitStorageTest.php | 2 - .../sysext/rsaauth/Tests/Unit/KeypairTest.php | 3 - .../Controller/BrowseLinksController.php | 4 - .../Controller/BrowseLinksController.php | 4 - .../Controller/ParseHtmlController.php | 3 - .../Controller/SelectImageController.php | 3 - .../Controller/SpellCheckingController.php | 2 - .../Controller/UserElementsController.php | 1 - .../Controller/Wizard/RteController.php | 4 - .../Classes/Extension/MicroDataSchema.php | 1 - .../Classes/Form/Element/RichTextElement.php | 15 --- .../Classes/ImageHandler/AddImageHandler.php | 1 - .../Classes/ImageHandler/EditImageHandler.php | 2 - .../Classes/SaltedPasswordService.php | 2 - .../Classes/Task/BulkUpdateFieldProvider.php | 1 - .../Classes/Task/BulkUpdateTask.php | 9 -- .../ExtensionManagerConfigurationUtility.php | 3 - .../Utility/SaltedPasswordsUtility.php | 1 - .../Functional/SaltedPasswordServiceTest.php | 2 - .../Functional/Task/BulkUpdateTaskTest.php | 2 - .../Utility/SaltedPasswordsUtilityTest.php | 2 - .../Tests/Unit/Salt/BlowfishSaltTest.php | 4 - .../Tests/Unit/Salt/Md5SaltTest.php | 2 - .../Tests/Unit/Salt/Pbkdf2SaltTest.php | 2 - .../Tests/Unit/Salt/PhpassSaltTest.php | 2 - .../Tests/Unit/Salt/SaltFactoryTest.php | 2 - .../AdditionalFieldProviderInterface.php | 1 - .../Classes/Command/SchedulerCommand.php | 1 - .../Controller/SchedulerModuleController.php | 20 ---- .../Classes/CronCommand/CronCommand.php | 1 - .../SleepTaskAdditionalFieldProvider.php | 1 - .../TestTaskAdditionalFieldProvider.php | 1 - typo3/sysext/scheduler/Classes/Execution.php | 6 -- typo3/sysext/scheduler/Classes/Scheduler.php | 4 - .../scheduler/Classes/Task/AbstractTask.php | 15 --- ...rbageCollectionAdditionalFieldProvider.php | 1 - ...orageExtractionAdditionalFieldProvider.php | 2 - ...StorageIndexingAdditionalFieldProvider.php | 1 - ...zeDatabaseTableAdditionalFieldProvider.php | 1 - ...rbageCollectionAdditionalFieldProvider.php | 1 - ...rbageCollectionAdditionalFieldProvider.php | 3 - .../Controller/SetupModuleController.php | 9 -- .../Tests/Unit/SetupModuleControllerTest.php | 6 -- .../Classes/AbstractAuthenticationService.php | 2 - .../Tests/Unit/AuthenticationServiceTest.php | 1 - .../sysext/sys_action/Classes/ActionTask.php | 3 - .../sys_note/Classes/Core/Bootstrap.php | 3 - .../sys_note/Classes/Domain/Model/SysNote.php | 7 -- .../Domain/Repository/SysNoteRepository.php | 2 - .../Hook/TypoScriptTemplateInfoHook.php | 2 - typo3/sysext/t3editor/Classes/T3editor.php | 2 - .../Classes/TypoScriptReferenceLoader.php | 1 - .../Controller/TaskModuleController.php | 11 --- ...mplateAnalyzerModuleFunctionController.php | 1 - .../TypoScriptTemplateModuleController.php | 8 -- ...eObjectBrowserModuleFunctionController.php | 2 - .../Classes/DataHandler/CommandMap.php | 21 ---- .../Classes/Dependency/DependencyResolver.php | 1 - .../Classes/Dependency/ElementEntity.php | 1 - .../Dependency/ElementEntityProcessor.php | 1 - .../version/Classes/Hook/DataHandlerHook.php | 18 ---- .../Controller/ViewModuleController.php | 4 - .../Classes/Controller/AbstractController.php | 4 - .../Classes/Controller/PreviewController.php | 4 - .../Controller/Remote/ActionHandler.php | 4 - .../Classes/Controller/ReviewController.php | 8 -- .../Classes/Domain/Model/CombinedRecord.php | 3 - .../Classes/Domain/Model/DatabaseRecord.php | 5 - .../Classes/Hook/BackendUtilityHook.php | 1 - .../Classes/Hook/DataHandlerHook.php | 5 - .../workspaces/Classes/Hook/PreviewHook.php | 2 - .../Hook/TypoScriptFrontendControllerHook.php | 1 - .../Hooks/PagetreeCollectionsProcessor.php | 4 - .../Service/AdditionalColumnService.php | 1 - .../Service/AdditionalResourceService.php | 3 - .../Classes/Service/AutoPublishService.php | 2 - .../Classes/Service/GridDataService.php | 7 -- .../Classes/Service/IntegrityService.php | 6 -- .../Classes/Service/StagesService.php | 1 - .../ActionHandler/ActionHandlerTest.php | 2 - .../Tca/WorkspaceStageVisibleFieldsTest.php | 2 - .../Tca/WorkspaceVisibleFieldsTest.php | 2 - 981 files changed, 6 insertions(+), 4116 deletions(-) diff --git a/Build/.php_cs b/Build/.php_cs index fff84fe52777..725989376c31 100644 --- a/Build/.php_cs +++ b/Build/.php_cs @@ -74,6 +74,9 @@ return PhpCsFixer\Config::create() 'native_function_casing' => true, 'self_accessor' => true, 'no_short_bool_cast' => true, - 'no_unneeded_control_parentheses' => true + 'no_unneeded_control_parentheses' => true, + 'phpdoc_no_empty_return' => true, + 'no_blank_lines_after_phpdoc' => true, + 'phpdoc_trim' => true ]) ->setFinder($finder); diff --git a/components/testing_framework/Classes/Core/Acceptance/AcceptanceCoreEnvironment.php b/components/testing_framework/Classes/Core/Acceptance/AcceptanceCoreEnvironment.php index 0d09246164dc..7dbf20559923 100644 --- a/components/testing_framework/Classes/Core/Acceptance/AcceptanceCoreEnvironment.php +++ b/components/testing_framework/Classes/Core/Acceptance/AcceptanceCoreEnvironment.php @@ -267,8 +267,6 @@ class AcceptanceCoreEnvironment extends Extension /** * Method executed after each test - * - * @return void */ public function cleanupTypo3Environment() { diff --git a/components/testing_framework/Classes/Core/AccessibleObjectInterface.php b/components/testing_framework/Classes/Core/AccessibleObjectInterface.php index 83e86ea8de21..02e4e45362ba 100644 --- a/components/testing_framework/Classes/Core/AccessibleObjectInterface.php +++ b/components/testing_framework/Classes/Core/AccessibleObjectInterface.php @@ -54,8 +54,6 @@ interface AccessibleObjectInterface * * @param string $propertyName name of property to set value for, must not be empty * @param mixed $value the new value for the property defined in $propertyName - * - * @return void */ public function _set($propertyName, $value); @@ -64,8 +62,6 @@ interface AccessibleObjectInterface * * @param string $propertyName name of property to set value for, must not be empty * @param mixed &$value the new value for the property defined in $propertyName - * - * @return void */ public function _setRef($propertyName, &$value); @@ -74,8 +70,6 @@ interface AccessibleObjectInterface * * @param string $propertyName name of property to set value for, must not be empty * @param mixed $value the new value for the property defined in $propertyName - * - * @return void */ public function _setStatic($propertyName, $value); diff --git a/components/testing_framework/Classes/Core/BaseTestCase.php b/components/testing_framework/Classes/Core/BaseTestCase.php index ae9c326a55eb..f91fdcfc4487 100644 --- a/components/testing_framework/Classes/Core/BaseTestCase.php +++ b/components/testing_framework/Classes/Core/BaseTestCase.php @@ -19,7 +19,6 @@ namespace TYPO3\TestingFramework\Core; * * Don't sub class this test case but rather choose a more specialized base test case, * such as UnitTestCase or FunctionalTestCase - * */ abstract class BaseTestCase extends \PHPUnit_Framework_TestCase { @@ -97,7 +96,6 @@ abstract class BaseTestCase extends \PHPUnit_Framework_TestCase * @throws \InvalidArgumentException * * @return \PHPUnit_Framework_MockObject_MockObject|\TYPO3\TestingFramework\Core\AccessibleObjectInterface - * */ protected function getAccessibleMockForAbstractClass( $originalClassName, array $arguments = [], $mockClassName = '', @@ -252,7 +250,6 @@ abstract class BaseTestCase extends \PHPUnit_Framework_TestCase * @param object $target The instance which needs the dependency * @param string $name Name of the property to be injected * @param mixed $dependency The dependency to inject – usually an object but can also be any other type - * @return void * @throws \RuntimeException * @throws \InvalidArgumentException */ diff --git a/components/testing_framework/Classes/Core/FileStreamWrapper.php b/components/testing_framework/Classes/Core/FileStreamWrapper.php index 88a1d464f330..765b12286f94 100644 --- a/components/testing_framework/Classes/Core/FileStreamWrapper.php +++ b/components/testing_framework/Classes/Core/FileStreamWrapper.php @@ -92,7 +92,6 @@ class FileStreamWrapper * Initialize the stream wrapper with a root path and register itself * * @param $rootPath - * @return void */ public static function init($rootPath) { @@ -102,7 +101,6 @@ class FileStreamWrapper /** * Unregister the stream wrapper and reset all static members to their default values - * @return void */ public static function destroy() { @@ -119,7 +117,6 @@ class FileStreamWrapper * @param string $overlay Relative path to the root folder * @param string $replace The path that should replace the overlay path * @param bool $createFolder TRUE of the folder should be created (mkdir) - * @return void */ public static function registerOverlayPath($overlay, $replace, $createFolder = true) { @@ -165,7 +162,6 @@ class FileStreamWrapper * file:// scheme a \BadFunctionCallException will be thrown. * * @throws \BadFunctionCallException - * @return void */ protected static function register() { @@ -185,8 +181,6 @@ class FileStreamWrapper /** * Restore the file handler - * - * @return void */ protected static function restore() { @@ -341,7 +335,6 @@ class FileStreamWrapper /** * Close a file - * */ public function stream_close() { diff --git a/components/testing_framework/Classes/Core/Functional/Framework/Frontend/Collector.php b/components/testing_framework/Classes/Core/Functional/Framework/Frontend/Collector.php index a90782475258..80bf10b0ed19 100644 --- a/components/testing_framework/Classes/Core/Functional/Framework/Frontend/Collector.php +++ b/components/testing_framework/Classes/Core/Functional/Framework/Frontend/Collector.php @@ -125,7 +125,6 @@ class Collector implements \TYPO3\CMS\Core\SingletonInterface /** * @param string $content * @param NULL|array $configuration - * @return void */ public function attachSection($content, array $configuration = null) { @@ -189,8 +188,6 @@ class Collector implements \TYPO3\CMS\Core\SingletonInterface /** * Collector needs to be reset after attaching a section, otherwise records will pile up. - * - * @return void */ protected function reset() { diff --git a/components/testing_framework/Classes/Core/Functional/Framework/Frontend/Renderer.php b/components/testing_framework/Classes/Core/Functional/Framework/Frontend/Renderer.php index 52b6787c232e..8172b0684e78 100644 --- a/components/testing_framework/Classes/Core/Functional/Framework/Frontend/Renderer.php +++ b/components/testing_framework/Classes/Core/Functional/Framework/Frontend/Renderer.php @@ -27,7 +27,6 @@ class Renderer implements \TYPO3\CMS\Core\SingletonInterface /** * @param string $content * @param NULL|array $configuration - * @return void */ public function parseValues($content, array $configuration = null) { diff --git a/components/testing_framework/Classes/Core/Functional/Framework/Frontend/RequestBootstrap.php b/components/testing_framework/Classes/Core/Functional/Framework/Frontend/RequestBootstrap.php index 683c0ab6d915..8e4304d5ebcc 100644 --- a/components/testing_framework/Classes/Core/Functional/Framework/Frontend/RequestBootstrap.php +++ b/components/testing_framework/Classes/Core/Functional/Framework/Frontend/RequestBootstrap.php @@ -24,7 +24,6 @@ class RequestBootstrap * to start clean for a functional test. * * @param array $requestArguments usually JSON encoded arguments, should include "documentRoot" and "requestUrl" - * @return void */ public static function setGlobalVariables(array $requestArguments = null) { diff --git a/components/testing_framework/Classes/Core/Functional/FunctionalTestCase.php b/components/testing_framework/Classes/Core/Functional/FunctionalTestCase.php index 42700a5e7110..aee6c40b269f 100644 --- a/components/testing_framework/Classes/Core/Functional/FunctionalTestCase.php +++ b/components/testing_framework/Classes/Core/Functional/FunctionalTestCase.php @@ -205,7 +205,6 @@ abstract class FunctionalTestCase extends BaseTestCase * * This method should be called with parent::setUp() in your test cases! * - * @return void * @throws \Doctrine\DBAL\DBALException */ protected function setUp() @@ -354,7 +353,6 @@ abstract class FunctionalTestCase extends BaseTestCase * Imports a data set represented as XML into the test database, * * @param string $path Absolute path to the XML file containing the data set to load - * @return void * @throws Exception */ protected function importDataSet($path) diff --git a/components/testing_framework/Classes/Core/Testbase.php b/components/testing_framework/Classes/Core/Testbase.php index 9917e890954c..24b1ef3ec521 100644 --- a/components/testing_framework/Classes/Core/Testbase.php +++ b/components/testing_framework/Classes/Core/Testbase.php @@ -52,8 +52,6 @@ class Testbase /** * Makes sure error messages during the tests get displayed no matter what is set in php.ini. - * - * @return void */ public function enableDisplayErrors() { @@ -65,7 +63,6 @@ class Testbase * helpers during tests setup. Those are sanitized in SystemEnvironmentBuilder * to be not defined again. * - * @return void * @see SystemEnvironmentBuilder::defineBaseConstants() */ public function defineBaseConstants() @@ -92,8 +89,6 @@ class Testbase /** * Defines the PATH_site and PATH_thisScript constant and sets $_SERVER['SCRIPT_NAME']. * For unit tests only - * - * @return void */ public function defineSitePath() { @@ -110,8 +105,6 @@ class Testbase * Defines the constant ORIGINAL_ROOT for the path to the original TYPO3 document root. * For functional / acceptance tests only * If ORIGINAL_ROOT already is defined, this method is a no-op. - * - * @return void */ public function defineOriginalRootPath() { @@ -126,8 +119,6 @@ class Testbase /** * Define TYPO3_MODE to BE - * - * @return void */ public function defineTypo3ModeBe() { @@ -136,8 +127,6 @@ class Testbase /** * Sets the environment variable TYPO3_CONTEXT to testing. - * - * @return void */ public function setTypo3TestingContext() { @@ -148,7 +137,6 @@ class Testbase * Creates directories, recursively if required. * * @param string $directory Absolute path to directories to create - * @return void * @throws Exception */ public function createDirectory($directory) @@ -185,7 +173,6 @@ class Testbase * This may happen if a functional test before threw a fatal or is too old * * @param string $instancePath Absolute path to test instance - * @return void * @throws Exception */ public function removeOldInstanceIfExists($instancePath) @@ -206,7 +193,6 @@ class Testbase * Used in functional tests to reuse an instance for multiple tests in one test case. * * @param string $instancePath Absolute path to test instance - * @return void */ public function createLastRunTextfile($instancePath) { @@ -220,7 +206,6 @@ class Testbase * * @param string $instancePath Absolute path to test instance * @throws Exception - * @return void */ public function setUpInstanceCoreLinks($instancePath) { @@ -246,7 +231,6 @@ class Testbase * @param string $instancePath Absolute path to test instance * @param array $extensionPaths Contains paths to extensions relative to document root * @throws Exception - * @return void */ public function linkTestExtensionsToInstance($instancePath, array $extensionPaths) { @@ -277,7 +261,6 @@ class Testbase * @param string $instancePath Absolute path to test instance * @param array $pathsToLinkInTestInstance Contains paths as array of source => destination in key => value pairs of folders relative to test instance root * @throws Exception if a source path could not be found and on failing creating the symlink - * @return void */ public function linkPathsInTestInstance($instancePath, array $pathsToLinkInTestInstance) { @@ -396,7 +379,6 @@ class Testbase * @param array $configuration Base configuration array * @param array $overruleConfiguration Overrule factory and base configuration * @throws Exception - * @return void */ public function setUpLocalConfiguration($instancePath, array $configuration, array $overruleConfiguration) { @@ -485,7 +467,6 @@ class Testbase * @param string $databaseName Database name of this test instance * @param string $originalDatabaseName Original database name before suffix was added * @throws \TYPO3\TestingFramework\Core\Exception - * @return void */ public function setUpTestDatabase($databaseName, $originalDatabaseName) { @@ -521,7 +502,6 @@ class Testbase * For functional and acceptance tests. * * @param string $instancePath Absolute path to test instance - * @return void */ public function setUpBasicTypo3Bootstrap($instancePath) { @@ -545,7 +525,6 @@ class Testbase * For functional and acceptance tests. * * @throws Exception - * @return void */ public function initializeTestDatabaseAndTruncateTables() { @@ -564,8 +543,6 @@ class Testbase /** * Load ext_tables.php files. * For functional and acceptance tests. - * - * @return void */ public function loadExtensionTables() { @@ -575,8 +552,6 @@ class Testbase /** * Create tables and import static rows. * For functional and acceptance tests. - * - * @return void */ public function createDatabaseStructure() { @@ -596,7 +571,6 @@ class Testbase * Imports a data set represented as XML into the test database, * * @param string $path Absolute path to the XML file containing the data set to load - * @return void * @throws \Doctrine\DBAL\DBALException * @throws \InvalidArgumentException * @throws \RuntimeException diff --git a/components/testing_framework/Classes/Core/Unit/UnitTestCase.php b/components/testing_framework/Classes/Core/Unit/UnitTestCase.php index 911828a822b3..5cadd9a533de 100644 --- a/components/testing_framework/Classes/Core/Unit/UnitTestCase.php +++ b/components/testing_framework/Classes/Core/Unit/UnitTestCase.php @@ -25,7 +25,6 @@ use TYPO3\TestingFramework\Core\BaseTestCase; * to extend this class for unit test cases instead of the base test case because if, * at some point, specific behavior needs to be implemented for unit tests, your test cases * will profit from it automatically. - * */ abstract class UnitTestCase extends BaseTestCase { @@ -55,7 +54,6 @@ abstract class UnitTestCase extends BaseTestCase * is not needed this way. * * @throws \RuntimeException - * @return void */ protected function tearDown() { diff --git a/components/testing_framework/Classes/Fluid/Unit/ViewHelpers/ViewHelperBaseTestcase.php b/components/testing_framework/Classes/Fluid/Unit/ViewHelpers/ViewHelperBaseTestcase.php index 7a0611849a84..d49d0802166d 100644 --- a/components/testing_framework/Classes/Fluid/Unit/ViewHelpers/ViewHelperBaseTestcase.php +++ b/components/testing_framework/Classes/Fluid/Unit/ViewHelpers/ViewHelperBaseTestcase.php @@ -75,7 +75,6 @@ abstract class ViewHelperBaseTestcase extends \TYPO3\TestingFramework\Core\Unit\ /** * Sets up all properties of a viewhelper needed to test a viewhelper - * @return void */ protected function setUp() { @@ -110,7 +109,6 @@ abstract class ViewHelperBaseTestcase extends \TYPO3\TestingFramework\Core\Unit\ /** * @param ViewHelperInterface $viewHelper - * @return void */ protected function injectDependenciesIntoViewHelper(ViewHelperInterface $viewHelper) { diff --git a/typo3/sysext/about/Classes/Controller/AboutController.php b/typo3/sysext/about/Classes/Controller/AboutController.php index 8525af808b0e..159efa2cf267 100644 --- a/typo3/sysext/about/Classes/Controller/AboutController.php +++ b/typo3/sysext/about/Classes/Controller/AboutController.php @@ -57,8 +57,6 @@ class AboutController extends ActionController /** * Main action: Show standard information - * - * @return void */ public function indexAction() { diff --git a/typo3/sysext/about/Classes/Controller/ModulesController.php b/typo3/sysext/about/Classes/Controller/ModulesController.php index 94853b5bfbfb..50de1fc15c49 100644 --- a/typo3/sysext/about/Classes/Controller/ModulesController.php +++ b/typo3/sysext/about/Classes/Controller/ModulesController.php @@ -68,8 +68,6 @@ class ModulesController extends ActionController /** * Show general information and the installed modules - * - * @return void */ public function indexAction() { diff --git a/typo3/sysext/backend/Classes/Backend/Avatar/Avatar.php b/typo3/sysext/backend/Classes/Backend/Avatar/Avatar.php index 98fb169cb1d9..6c1b925d2957 100644 --- a/typo3/sysext/backend/Classes/Backend/Avatar/Avatar.php +++ b/typo3/sysext/backend/Classes/Backend/Avatar/Avatar.php @@ -129,7 +129,6 @@ class Avatar /** * Validates the registered avatar providers * - * @return void * @throws \RuntimeException */ protected function validateSortAndInitiateAvatarProviders() diff --git a/typo3/sysext/backend/Classes/Backend/ToolbarItems/SystemInformationToolbarItem.php b/typo3/sysext/backend/Classes/Backend/ToolbarItems/SystemInformationToolbarItem.php index 1beb12117316..60cdbf66e466 100644 --- a/typo3/sysext/backend/Classes/Backend/ToolbarItems/SystemInformationToolbarItem.php +++ b/typo3/sysext/backend/Classes/Backend/ToolbarItems/SystemInformationToolbarItem.php @@ -150,8 +150,6 @@ class SystemInformationToolbarItem implements ToolbarItemInterface /** * Gets the PHP version - * - * @return void */ protected function getPhpVersion() { @@ -164,8 +162,6 @@ class SystemInformationToolbarItem implements ToolbarItemInterface /** * Get the database info - * - * @return void */ protected function getDatabase() { @@ -184,8 +180,6 @@ class SystemInformationToolbarItem implements ToolbarItemInterface /** * Gets the application context - * - * @return void */ protected function getApplicationContext() { @@ -217,8 +211,6 @@ class SystemInformationToolbarItem implements ToolbarItemInterface /** * Gets the current GIT revision and branch - * - * @return void */ protected function getGitRevision() { @@ -245,8 +237,6 @@ class SystemInformationToolbarItem implements ToolbarItemInterface /** * Gets the system kernel and version - * - * @return void */ protected function getOperatingSystem() { @@ -294,8 +284,6 @@ class SystemInformationToolbarItem implements ToolbarItemInterface /** * Emits the "getSystemInformation" signal - * - * @return void */ protected function emitGetSystemInformation() { @@ -304,8 +292,6 @@ class SystemInformationToolbarItem implements ToolbarItemInterface /** * Emits the "loadMessages" signal - * - * @return void */ protected function emitLoadMessages() { diff --git a/typo3/sysext/backend/Classes/Clipboard/Clipboard.php b/typo3/sysext/backend/Classes/Clipboard/Clipboard.php index 2eb3eb5ce988..c2550673f0c9 100644 --- a/typo3/sysext/backend/Classes/Clipboard/Clipboard.php +++ b/typo3/sysext/backend/Classes/Clipboard/Clipboard.php @@ -109,8 +109,6 @@ class Clipboard ****************************************/ /** * Initialize the clipboard from the be_user session - * - * @return void */ public function initializeClipboard() { @@ -134,8 +132,6 @@ class Clipboard * Call this method after initialization if you want to lock the clipboard to operate on the normal pad only. * Trying to switch pad through ->setCmd will not work. * This is used by the clickmenu since it only allows operation on single elements at a time (that is the "normal" pad) - * - * @return void */ public function lockToNormal() { @@ -153,7 +149,6 @@ class Clipboard * Selecting elements for 'copy' should be done by simultaneously setting setCopyMode. * * @param array $cmd Array of actions, see function description - * @return void */ public function setCmd($cmd) { @@ -195,7 +190,6 @@ class Clipboard * Setting the current pad on clipboard * * @param string $padIdent Key in the array $this->clipData - * @return void */ public function setCurrentPad($padIdent) { @@ -215,8 +209,6 @@ class Clipboard /** * Call this after initialization and setCmd in order to save the clipboard to the user session. * The function will check if the internal flag ->changed has been set and if so, save the clipboard. Else not. - * - * @return void */ public function endClipboard() { @@ -803,7 +795,6 @@ class Clipboard * Removes element on clipboard * * @param string $el Key of element in ->clipData array - * @return void */ public function removeElement($el) { @@ -816,7 +807,6 @@ class Clipboard * Use ->endClipboard normally (as it checks if changes has been done so saving is necessary) * * @access private - * @return void */ public function saveClipboard() { @@ -836,8 +826,6 @@ class Clipboard /** * This traverses the elements on the current clipboard pane * and unsets elements which does not exist anymore or are disabled. - * - * @return void */ public function cleanCurrent() { diff --git a/typo3/sysext/backend/Classes/Command/LockBackendCommand.php b/typo3/sysext/backend/Classes/Command/LockBackendCommand.php index 07d1748962fd..918127da8d50 100644 --- a/typo3/sysext/backend/Classes/Command/LockBackendCommand.php +++ b/typo3/sysext/backend/Classes/Command/LockBackendCommand.php @@ -44,7 +44,6 @@ class LockBackendCommand extends Command * * @param InputInterface $input * @param OutputInterface $output - * @return void */ protected function execute(InputInterface $input, OutputInterface $output) { diff --git a/typo3/sysext/backend/Classes/Command/ReferenceIndexUpdateCommand.php b/typo3/sysext/backend/Classes/Command/ReferenceIndexUpdateCommand.php index 02fef2e9f4c9..31c6c8a35cf9 100644 --- a/typo3/sysext/backend/Classes/Command/ReferenceIndexUpdateCommand.php +++ b/typo3/sysext/backend/Classes/Command/ReferenceIndexUpdateCommand.php @@ -46,7 +46,6 @@ class ReferenceIndexUpdateCommand extends Command * * @param InputInterface $input * @param OutputInterface $output - * @return void */ protected function execute(InputInterface $input, OutputInterface $output) { diff --git a/typo3/sysext/backend/Classes/Command/UnlockBackendCommand.php b/typo3/sysext/backend/Classes/Command/UnlockBackendCommand.php index 71ae5fdb44fd..b072d80455c9 100644 --- a/typo3/sysext/backend/Classes/Command/UnlockBackendCommand.php +++ b/typo3/sysext/backend/Classes/Command/UnlockBackendCommand.php @@ -36,7 +36,6 @@ class UnlockBackendCommand extends Command * * @param InputInterface $input * @param OutputInterface $output - * @return void */ protected function execute(InputInterface $input, OutputInterface $output) { diff --git a/typo3/sysext/backend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php b/typo3/sysext/backend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php index 149cf44b72b4..834d2b04d96b 100644 --- a/typo3/sysext/backend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php +++ b/typo3/sysext/backend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php @@ -277,7 +277,6 @@ class ConditionMatcher extends AbstractConditionMatcher * Set/write a log message. * * @param string $message The log message to set/write - * @return void */ protected function log($message) { diff --git a/typo3/sysext/backend/Classes/Console/Application.php b/typo3/sysext/backend/Classes/Console/Application.php index edc09321a42b..070b54c8c4c8 100644 --- a/typo3/sysext/backend/Classes/Console/Application.php +++ b/typo3/sysext/backend/Classes/Console/Application.php @@ -71,7 +71,6 @@ class Application implements ApplicationInterface * Set up the application and shut it down afterwards * * @param callable $execute - * @return void */ public function run(callable $execute = null) { @@ -94,8 +93,6 @@ class Application implements ApplicationInterface /** * Check the script is called from a cli environment. - * - * @return void */ protected function checkEnvironmentOrDie() { @@ -109,8 +106,6 @@ class Application implements ApplicationInterface /** * Set up cgi sapi as de facto cli, but check no HTTP * environment variables are set. - * - * @return void */ protected function initializeCgiCompatibilityLayerOrDie() { diff --git a/typo3/sysext/backend/Classes/Console/CliRequestHandler.php b/typo3/sysext/backend/Classes/Console/CliRequestHandler.php index a623bde425c6..6f25a6550606 100644 --- a/typo3/sysext/backend/Classes/Console/CliRequestHandler.php +++ b/typo3/sysext/backend/Classes/Console/CliRequestHandler.php @@ -52,7 +52,6 @@ class CliRequestHandler implements RequestHandlerInterface * Handles any commandline request * * @param InputInterface $input - * @return void */ public function handleRequest(InputInterface $input) { diff --git a/typo3/sysext/backend/Classes/ContextMenu/ItemProviders/RecordProvider.php b/typo3/sysext/backend/Classes/ContextMenu/ItemProviders/RecordProvider.php index 2a8c3b48b8ea..6519f927ef6f 100644 --- a/typo3/sysext/backend/Classes/ContextMenu/ItemProviders/RecordProvider.php +++ b/typo3/sysext/backend/Classes/ContextMenu/ItemProviders/RecordProvider.php @@ -23,7 +23,6 @@ use TYPO3\CMS\Core\Versioning\VersionState; /** * Class responsible for providing click menu items for db records which don't have custom provider (as e.g. pages) - * */ class RecordProvider extends AbstractProvider { diff --git a/typo3/sysext/backend/Classes/Controller/BackendController.php b/typo3/sysext/backend/Classes/Controller/BackendController.php index 1e65fe5a6273..685d7c2d973d 100644 --- a/typo3/sysext/backend/Classes/Controller/BackendController.php +++ b/typo3/sysext/backend/Classes/Controller/BackendController.php @@ -218,7 +218,6 @@ class BackendController * Initialize toolbar item objects * * @throws \RuntimeException - * @return void */ protected function initializeToolbarItems() { @@ -267,8 +266,6 @@ class BackendController /** * Main function generating the BE scaffolding - * - * @return void */ public function render() { @@ -438,8 +435,6 @@ class BackendController /** * Loads the css and javascript files of all registered navigation widgets - * - * @return void */ protected function loadResourcesForRegisteredNavigationComponents() { @@ -659,8 +654,6 @@ class BackendController /** * Generates the JavaScript code for the backend. - * - * @return void */ protected function generateJavascript() { @@ -719,8 +712,6 @@ class BackendController /** * Checking if the "&edit" variable was sent so we can open it for editing the page. - * - * @return void */ protected function handlePageEditing() { @@ -837,7 +828,6 @@ class BackendController * Adds a javascript snippet to the backend * * @param string $javascript Javascript snippet - * @return void * @throws \InvalidArgumentException * @deprecated since TYPO3 v8, will be removed in TYPO3 v9. Use the "constructPostProcess" hook within BackendController instead. */ @@ -874,7 +864,6 @@ class BackendController * Adds a css snippet to the backend * * @param string $css Css snippet - * @return void * @throws \InvalidArgumentException */ public function addCss($css) @@ -914,7 +903,6 @@ class BackendController * * @param string $identifier Specific hook identifier * @param array $hookConfiguration Additional configuration passed to hook functions - * @return void */ protected function executeHook($identifier, array $hookConfiguration = []) { diff --git a/typo3/sysext/backend/Classes/Controller/ContentElement/ElementHistoryController.php b/typo3/sysext/backend/Classes/Controller/ContentElement/ElementHistoryController.php index 9b924521f878..79c83d90f3cc 100644 --- a/typo3/sysext/backend/Classes/Controller/ContentElement/ElementHistoryController.php +++ b/typo3/sysext/backend/Classes/Controller/ContentElement/ElementHistoryController.php @@ -77,8 +77,6 @@ class ElementHistoryController extends AbstractModule /** * Initialize the module output - * - * @return void */ protected function init() { @@ -90,8 +88,6 @@ class ElementHistoryController extends AbstractModule /** * Generate module output - * - * @return void */ public function main() { diff --git a/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php b/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php index a8c301743d0b..038a8d7c9b55 100644 --- a/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php +++ b/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php @@ -115,8 +115,6 @@ class ElementInformationController /** * Determines if table/uid point to database record or file and * if user has access to view information - * - * @return void */ public function init() { diff --git a/typo3/sysext/backend/Classes/Controller/ContentElement/MoveElementController.php b/typo3/sysext/backend/Classes/Controller/ContentElement/MoveElementController.php index e3d744303da9..89529d697f77 100644 --- a/typo3/sysext/backend/Classes/Controller/ContentElement/MoveElementController.php +++ b/typo3/sysext/backend/Classes/Controller/ContentElement/MoveElementController.php @@ -91,8 +91,6 @@ class MoveElementController extends AbstractModule /** * Constructor, initializing internal variables. - * - * @return void */ public function init() { @@ -127,8 +125,6 @@ class MoveElementController extends AbstractModule /** * Creating the module output. - * - * @return void */ public function main() { diff --git a/typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php b/typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php index 1d1f6456dc79..68d401924839 100644 --- a/typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php +++ b/typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php @@ -139,8 +139,6 @@ class NewContentElementController extends AbstractModule /** * Constructor, initializing internal variables. - * - * @return void */ public function init() { @@ -192,7 +190,6 @@ class NewContentElementController extends AbstractModule * Creating the module output. * * @throws \UnexpectedValueException - * @return void */ public function main() { @@ -457,7 +454,6 @@ class NewContentElementController extends AbstractModule * The values will be added to the "params" key of the array (which should probably be unset or empty by default). * * @param array $wizardItems Wizard items, passed by reference - * @return void */ public function removeInvalidElements(&$wizardItems) { @@ -537,8 +533,6 @@ class NewContentElementController extends AbstractModule * * @param array $wizardGroup TypoScript wizard tab configuration * @param string $key Which array key should be prepared - * - * @return void */ protected function prepareDependencyOrdering(&$wizardGroup, $key) { diff --git a/typo3/sysext/backend/Classes/Controller/DummyController.php b/typo3/sysext/backend/Classes/Controller/DummyController.php index 4045250f29c9..5635c19c8923 100644 --- a/typo3/sysext/backend/Classes/Controller/DummyController.php +++ b/typo3/sysext/backend/Classes/Controller/DummyController.php @@ -53,8 +53,6 @@ class DummyController /** * Create content for the dummy script - outputting a blank page. - * - * @return void */ public function main() { diff --git a/typo3/sysext/backend/Classes/Controller/EditDocumentController.php b/typo3/sysext/backend/Classes/Controller/EditDocumentController.php index c93173b05f67..598989dcb8f0 100644 --- a/typo3/sysext/backend/Classes/Controller/EditDocumentController.php +++ b/typo3/sysext/backend/Classes/Controller/EditDocumentController.php @@ -440,8 +440,6 @@ class EditDocumentController extends AbstractModule /** * First initialization. - * - * @return void */ public function preInit() { @@ -514,8 +512,6 @@ class EditDocumentController extends AbstractModule /** * Do processing of data, submitting it to DataHandler. - * - * @return void */ public function processData() { @@ -707,8 +703,6 @@ class EditDocumentController extends AbstractModule /** * Initialize the normal module operation - * - * @return void */ public function init() { @@ -932,8 +926,6 @@ class EditDocumentController extends AbstractModule /** * Main module operation - * - * @return void */ public function main() { @@ -1636,7 +1628,6 @@ class EditDocumentController extends AbstractModule * Redirects to FormEngine with new parameters to edit a just created localized record * * @param string $justLocalized String passed by GET &justLocalized= - * @return void */ public function localizationRedirect($justLocalized) { @@ -1752,7 +1743,6 @@ class EditDocumentController extends AbstractModule * Fix $this->editconf if versioning applies to any of the records * * @param array|bool $mapArray Mapping between old and new ids if auto-versioning has been performed. - * @return void */ public function fixWSversioningInEditConf($mapArray = false) { @@ -1845,7 +1835,6 @@ class EditDocumentController extends AbstractModule /** * Populates the variables $this->storeArray, $this->storeUrl, $this->storeUrlMd5 * - * @return void * @see makeDocSel() */ public function compileStoreDat() @@ -1882,7 +1871,6 @@ class EditDocumentController extends AbstractModule * - other values will call setDocument with ->retUrl * * @param int $mode the close mode: one of self::DOCUMENT_CLOSE_MODE_* - * @return void */ public function closeDocument($mode = self::DOCUMENT_CLOSE_MODE_DEFAULT) { @@ -1933,7 +1921,6 @@ class EditDocumentController extends AbstractModule * * @param string $currentDocFromHandlerMD5 Pointer to the document in the docHandler array * @param string $retUrl Alternative/Default retUrl - * @return void */ public function setDocument($currentDocFromHandlerMD5 = '', $retUrl = '') { diff --git a/typo3/sysext/backend/Classes/Controller/File/CreateFolderController.php b/typo3/sysext/backend/Classes/Controller/File/CreateFolderController.php index 694657ecfcd4..c6c80ed94251 100644 --- a/typo3/sysext/backend/Classes/Controller/File/CreateFolderController.php +++ b/typo3/sysext/backend/Classes/Controller/File/CreateFolderController.php @@ -164,8 +164,6 @@ class CreateFolderController extends AbstractModule /** * Main function, rendering the main module content - * - * @return void */ public function main() { diff --git a/typo3/sysext/backend/Classes/Controller/File/EditFileController.php b/typo3/sysext/backend/Classes/Controller/File/EditFileController.php index d6cf9e25a0a9..1842e3f0f42e 100644 --- a/typo3/sysext/backend/Classes/Controller/File/EditFileController.php +++ b/typo3/sysext/backend/Classes/Controller/File/EditFileController.php @@ -139,8 +139,6 @@ class EditFileController extends AbstractModule /** * Main function, redering the actual content of the editing page - * - * @return void */ public function main() { diff --git a/typo3/sysext/backend/Classes/Controller/File/FileController.php b/typo3/sysext/backend/Classes/Controller/File/FileController.php index f2ffb3449b51..49be98ca727f 100644 --- a/typo3/sysext/backend/Classes/Controller/File/FileController.php +++ b/typo3/sysext/backend/Classes/Controller/File/FileController.php @@ -88,8 +88,6 @@ class FileController /** * Registering incoming data - * - * @return void */ protected function init() { @@ -110,8 +108,6 @@ class FileController /** * Initialize the Clipboard. This will fetch the data about files to paste/delete if such an action has been sent. - * - * @return void */ public function initClipboard() { @@ -132,8 +128,6 @@ class FileController /** * Performing the file admin action: * Initializes the objects, setting permissions, sending data to object. - * - * @return void */ public function main() { @@ -154,8 +148,6 @@ class FileController /** * Redirecting the user after the processing has been done. * Might also display error messages directly, if any. - * - * @return void */ public function finish() { diff --git a/typo3/sysext/backend/Classes/Controller/File/FileUploadController.php b/typo3/sysext/backend/Classes/Controller/File/FileUploadController.php index 31c45f26c22c..0aabc016783a 100644 --- a/typo3/sysext/backend/Classes/Controller/File/FileUploadController.php +++ b/typo3/sysext/backend/Classes/Controller/File/FileUploadController.php @@ -120,8 +120,6 @@ class FileUploadController extends AbstractModule /** * Main function, rendering the upload file form fields - * - * @return void */ public function main() { diff --git a/typo3/sysext/backend/Classes/Controller/File/RenameFileController.php b/typo3/sysext/backend/Classes/Controller/File/RenameFileController.php index d73e87aea674..a9a08a5b7438 100644 --- a/typo3/sysext/backend/Classes/Controller/File/RenameFileController.php +++ b/typo3/sysext/backend/Classes/Controller/File/RenameFileController.php @@ -131,8 +131,6 @@ class RenameFileController extends AbstractModule /** * Main function, rendering the content of the rename form - * - * @return void */ public function main() { diff --git a/typo3/sysext/backend/Classes/Controller/File/ReplaceFileController.php b/typo3/sysext/backend/Classes/Controller/File/ReplaceFileController.php index d2be4a1f36a0..f3dd16ffb03a 100644 --- a/typo3/sysext/backend/Classes/Controller/File/ReplaceFileController.php +++ b/typo3/sysext/backend/Classes/Controller/File/ReplaceFileController.php @@ -86,7 +86,6 @@ class ReplaceFileController extends AbstractModule /** * Init * - * @return void * @throws \RuntimeException * @throws InsufficientFileAccessPermissionsException */ @@ -143,8 +142,6 @@ class ReplaceFileController extends AbstractModule /** * Main function, rendering the content of the rename form - * - * @return void */ public function main() { diff --git a/typo3/sysext/backend/Classes/Controller/FileSystemNavigationFrameController.php b/typo3/sysext/backend/Classes/Controller/FileSystemNavigationFrameController.php index d11735346e9b..ee1311cd11c2 100644 --- a/typo3/sysext/backend/Classes/Controller/FileSystemNavigationFrameController.php +++ b/typo3/sysext/backend/Classes/Controller/FileSystemNavigationFrameController.php @@ -90,8 +90,6 @@ class FileSystemNavigationFrameController /** * Initialiation of the script class - * - * @return void */ protected function init() { @@ -136,8 +134,6 @@ class FileSystemNavigationFrameController /** * initialization for the visual parts of the class * Use template rendering only if this is a non-AJAX call - * - * @return void */ public function initPage() { @@ -186,8 +182,6 @@ class FileSystemNavigationFrameController /** * Main function, rendering the folder tree - * - * @return void */ public function main() { diff --git a/typo3/sysext/backend/Classes/Controller/LinkBrowserController.php b/typo3/sysext/backend/Classes/Controller/LinkBrowserController.php index c3efba3a5deb..8b28d1558131 100644 --- a/typo3/sysext/backend/Classes/Controller/LinkBrowserController.php +++ b/typo3/sysext/backend/Classes/Controller/LinkBrowserController.php @@ -30,8 +30,6 @@ class LinkBrowserController extends AbstractLinkBrowserController { /** * Initialize $this->currentLinkParts - * - * @return void */ protected function initCurrentUrl() { @@ -55,8 +53,6 @@ class LinkBrowserController extends AbstractLinkBrowserController /** * Initialize document template object - * - * @return void */ protected function initDocumentTemplate() { diff --git a/typo3/sysext/backend/Classes/Controller/LoginController.php b/typo3/sysext/backend/Classes/Controller/LoginController.php index 0b40f23c695e..8361bd9fc3e9 100644 --- a/typo3/sysext/backend/Classes/Controller/LoginController.php +++ b/typo3/sysext/backend/Classes/Controller/LoginController.php @@ -322,8 +322,6 @@ class LoginController /** * Making interface selector: - * - * @return void */ public function makeInterfaceSelectorBox() { diff --git a/typo3/sysext/backend/Classes/Controller/LoginFramesetController.php b/typo3/sysext/backend/Classes/Controller/LoginFramesetController.php index 2a87586d1fe2..5c3e0df3433a 100644 --- a/typo3/sysext/backend/Classes/Controller/LoginFramesetController.php +++ b/typo3/sysext/backend/Classes/Controller/LoginFramesetController.php @@ -56,8 +56,6 @@ class LoginFramesetController /** * Main function. * Creates the header code and the frameset for the two frames. - * - * @return void */ public function main() { diff --git a/typo3/sysext/backend/Classes/Controller/LogoutController.php b/typo3/sysext/backend/Classes/Controller/LogoutController.php index dced7fa253d2..7df8aa36b218 100644 --- a/typo3/sysext/backend/Classes/Controller/LogoutController.php +++ b/typo3/sysext/backend/Classes/Controller/LogoutController.php @@ -52,8 +52,6 @@ class LogoutController /** * Performs the logout processing - * - * @return void */ public function logout() { diff --git a/typo3/sysext/backend/Classes/Controller/NewRecordController.php b/typo3/sysext/backend/Classes/Controller/NewRecordController.php index e460e7bd14f1..104671ab8449 100644 --- a/typo3/sysext/backend/Classes/Controller/NewRecordController.php +++ b/typo3/sysext/backend/Classes/Controller/NewRecordController.php @@ -159,8 +159,6 @@ class NewRecordController extends AbstractModule /** * Constructor function for the class - * - * @return void */ protected function init() { @@ -241,8 +239,6 @@ class NewRecordController extends AbstractModule /** * Main processing, creating the list of new record tables to select from - * - * @return void */ public function main() { @@ -382,8 +378,6 @@ class NewRecordController extends AbstractModule /** * Creates the position map for pages wizard - * - * @return void */ public function pagesOnly() { @@ -429,8 +423,6 @@ class NewRecordController extends AbstractModule /** * Create a regular new element (pages and records) - * - * @return void */ public function regularNew() { diff --git a/typo3/sysext/backend/Classes/Controller/OnlineMediaController.php b/typo3/sysext/backend/Classes/Controller/OnlineMediaController.php index 2e2601d955c8..37e4dc7d8e82 100644 --- a/typo3/sysext/backend/Classes/Controller/OnlineMediaController.php +++ b/typo3/sysext/backend/Classes/Controller/OnlineMediaController.php @@ -132,7 +132,6 @@ class OnlineMediaController * Add flash message to message queue * * @param FlashMessage $flashMessage - * @return void */ protected function addFlashMessage(FlashMessage $flashMessage) { diff --git a/typo3/sysext/backend/Classes/Controller/PageLayoutController.php b/typo3/sysext/backend/Classes/Controller/PageLayoutController.php index fcf7d08b1ee9..4d03ce9200d0 100644 --- a/typo3/sysext/backend/Classes/Controller/PageLayoutController.php +++ b/typo3/sysext/backend/Classes/Controller/PageLayoutController.php @@ -275,8 +275,6 @@ class PageLayoutController /** * Initializing the module - * - * @return void */ public function init() { @@ -318,8 +316,6 @@ class PageLayoutController /** * Initialize menu array - * - * @return void */ public function menuConfig() { @@ -489,7 +485,6 @@ class PageLayoutController * For now they are Columns, Quick Edit and Languages. * * @param array $actions array with the available actions - * @return void */ protected function makeActionMenu(array $actions) { @@ -523,8 +518,6 @@ class PageLayoutController /** * Clears page cache for the current id, $this->id - * - * @return void */ public function clearCache() { @@ -689,7 +682,6 @@ class PageLayoutController } /** - * * @return string $title */ protected function getLocalizedPageTitle() @@ -741,8 +733,6 @@ class PageLayoutController /** * Main function. * Creates some general objects and calls other functions for the main rendering of module content. - * - * @return void */ public function main() { @@ -1014,7 +1004,6 @@ class PageLayoutController * Print accumulated content of module * * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 - * @return void */ public function printContent() { @@ -1029,8 +1018,6 @@ class PageLayoutController ***************************/ /** * This creates the buttons for the modules - * - * @return void */ protected function makeButtons() { @@ -1283,8 +1270,6 @@ class PageLayoutController /** * Make the LanguageMenu - * - * @return void */ protected function makeLanguageMenu() { diff --git a/typo3/sysext/backend/Classes/Controller/SimpleDataHandlerController.php b/typo3/sysext/backend/Classes/Controller/SimpleDataHandlerController.php index 77b4799ff037..6cfb1368b992 100644 --- a/typo3/sysext/backend/Classes/Controller/SimpleDataHandlerController.php +++ b/typo3/sysext/backend/Classes/Controller/SimpleDataHandlerController.php @@ -116,8 +116,6 @@ class SimpleDataHandlerController /** * Initialization of the class - * - * @return void */ public function init() { @@ -158,8 +156,6 @@ class SimpleDataHandlerController /** * Clipboard pasting and deleting. - * - * @return void */ public function initClipboard() { @@ -183,8 +179,6 @@ class SimpleDataHandlerController /** * Executing the posted actions ... - * - * @return void */ public function main() { diff --git a/typo3/sysext/backend/Classes/Controller/UserSettingsController.php b/typo3/sysext/backend/Classes/Controller/UserSettingsController.php index 91aed307af23..64cac5aad3df 100644 --- a/typo3/sysext/backend/Classes/Controller/UserSettingsController.php +++ b/typo3/sysext/backend/Classes/Controller/UserSettingsController.php @@ -116,7 +116,6 @@ class UserSettingsController * * @param string $key * @param mixed $value - * @return void */ protected function set($key, $value) { @@ -135,7 +134,6 @@ class UserSettingsController * * @param string $key * @param mixed $value - * @return void */ protected function addToList($key, $value) { @@ -156,7 +154,6 @@ class UserSettingsController * * @param string $key * @param mixed $value - * @return void */ protected function removeFromList($key, $value) { @@ -170,8 +167,6 @@ class UserSettingsController /** * Resets the user settings to the default - * - * @return void */ protected function clear() { @@ -182,7 +177,6 @@ class UserSettingsController * Unsets a key in user settings * * @param string $key - * @return void */ protected function unsetOption($key) { @@ -219,7 +213,6 @@ class UserSettingsController * * @param string $key * @param mixed $value - * @return void */ protected function setFromDottedNotation($key, $value) { diff --git a/typo3/sysext/backend/Classes/Controller/Wizard/AddController.php b/typo3/sysext/backend/Classes/Controller/Wizard/AddController.php index 514ccb589464..27a776b35501 100644 --- a/typo3/sysext/backend/Classes/Controller/Wizard/AddController.php +++ b/typo3/sysext/backend/Classes/Controller/Wizard/AddController.php @@ -95,8 +95,6 @@ class AddController extends AbstractWizardController /** * Initialization of the class. - * - * @return void */ protected function init() { @@ -171,8 +169,6 @@ class AddController extends AbstractWizardController /** * Main function * Will issue a location-header, redirecting either BACK or to a new FormEngine instance... - * - * @return void */ public function main() { diff --git a/typo3/sysext/backend/Classes/Controller/Wizard/ColorpickerController.php b/typo3/sysext/backend/Classes/Controller/Wizard/ColorpickerController.php index 67c5b8e780e8..91cb1e908f6e 100644 --- a/typo3/sysext/backend/Classes/Controller/Wizard/ColorpickerController.php +++ b/typo3/sysext/backend/Classes/Controller/Wizard/ColorpickerController.php @@ -138,8 +138,6 @@ class ColorpickerController extends AbstractWizardController /** * Initialises the Class - * - * @return void */ protected function init() { @@ -207,8 +205,6 @@ class ColorpickerController extends AbstractWizardController /** * Main Method, rendering either colorpicker or frameset depending on ->showPicker - * - * @return void */ public function main() { @@ -258,8 +254,6 @@ class ColorpickerController extends AbstractWizardController * Returns a frameset so our JavaScript Reference isn't lost * Took some brains to figure this one out ;-) * If Peter wouldn't have been I would've gone insane... - * - * @return void */ public function frameSet() { diff --git a/typo3/sysext/backend/Classes/Controller/Wizard/EditController.php b/typo3/sysext/backend/Classes/Controller/Wizard/EditController.php index 423e65e21f83..4e5066e95158 100644 --- a/typo3/sysext/backend/Classes/Controller/Wizard/EditController.php +++ b/typo3/sysext/backend/Classes/Controller/Wizard/EditController.php @@ -62,8 +62,6 @@ class EditController extends AbstractWizardController /** * Initialization of the script - * - * @return void */ protected function init() { diff --git a/typo3/sysext/backend/Classes/Controller/Wizard/ListController.php b/typo3/sysext/backend/Classes/Controller/Wizard/ListController.php index a9e7e2064fd4..f9f994b05107 100644 --- a/typo3/sysext/backend/Classes/Controller/Wizard/ListController.php +++ b/typo3/sysext/backend/Classes/Controller/Wizard/ListController.php @@ -81,8 +81,6 @@ class ListController extends AbstractWizardController /** * Main function * Will issue a location-header, redirecting either BACK or to a new FormEngine instance... - * - * @return void */ public function main() { diff --git a/typo3/sysext/backend/Classes/Controller/Wizard/TableController.php b/typo3/sysext/backend/Classes/Controller/Wizard/TableController.php index ba7289eb5946..4d15127575ef 100644 --- a/typo3/sysext/backend/Classes/Controller/Wizard/TableController.php +++ b/typo3/sysext/backend/Classes/Controller/Wizard/TableController.php @@ -117,8 +117,6 @@ class TableController extends AbstractWizardController /** * Initialization of the class - * - * @return void */ protected function init() { @@ -151,8 +149,6 @@ class TableController extends AbstractWizardController /** * Main function, rendering the table wizard - * - * @return void */ public function main() { @@ -453,7 +449,6 @@ class TableController extends AbstractWizardController * Detects if a control button (up/down/around/delete) has been pressed for an item and accordingly it will * manipulate the internal TABLECFG array * - * @return void * @internal */ public function changeFunc() diff --git a/typo3/sysext/backend/Classes/Domain/Model/Module/BackendModule.php b/typo3/sysext/backend/Classes/Domain/Model/Module/BackendModule.php index b7267bbab8bf..7db3a741e4ba 100644 --- a/typo3/sysext/backend/Classes/Domain/Model/Module/BackendModule.php +++ b/typo3/sysext/backend/Classes/Domain/Model/Module/BackendModule.php @@ -81,7 +81,6 @@ class BackendModule * Set children * * @param \SplObjectStorage $children - * @return void */ public function setChildren($children) { @@ -102,7 +101,6 @@ class BackendModule * Add Child * * @param \TYPO3\CMS\Backend\Domain\Model\Module\BackendModule $child - * @return void */ public function addChild(\TYPO3\CMS\Backend\Domain\Model\Module\BackendModule $child) { @@ -113,7 +111,6 @@ class BackendModule * Set icon * * @param string $icon - * @return void */ public function setIcon($icon) { @@ -134,7 +131,6 @@ class BackendModule * Set name * * @param string $name - * @return void */ public function setName($name) { @@ -155,7 +151,6 @@ class BackendModule * Set title * * @param string $title - * @return void */ public function setTitle($title) { @@ -176,7 +171,6 @@ class BackendModule * Set Link * * @param string $link - * @return void */ public function setLink($link) { @@ -197,7 +191,6 @@ class BackendModule * Set Description * * @param string $description - * @return void */ public function setDescription($description) { @@ -218,7 +211,6 @@ class BackendModule * Set Navigation Component Id * * @param string $navigationComponentId - * @return void */ public function setNavigationComponentId($navigationComponentId) { @@ -271,7 +263,6 @@ class BackendModule * Set onClick * * @param string $onClick - * @return void */ public function setOnClick($onClick) { diff --git a/typo3/sysext/backend/Classes/Domain/Repository/Module/BackendModuleRepository.php b/typo3/sysext/backend/Classes/Domain/Repository/Module/BackendModuleRepository.php index 785f5a97064b..d91c88d53589 100644 --- a/typo3/sysext/backend/Classes/Domain/Repository/Module/BackendModuleRepository.php +++ b/typo3/sysext/backend/Classes/Domain/Repository/Module/BackendModuleRepository.php @@ -125,7 +125,6 @@ class BackendModuleRepository implements \TYPO3\CMS\Core\SingletonInterface * Creates the module menu object structure from the raw data array * * @param array $rawModuleData - * @return void */ protected function convertRawModuleDataToModuleMenuObject(array $rawModuleData) { @@ -188,8 +187,6 @@ class BackendModuleRepository implements \TYPO3\CMS\Core\SingletonInterface /** * Creates the "third level" menu entries (submodules for the info module for * example) from the TBE_MODULES_EXT array - * - * @return void */ protected function createMenuEntriesForTbeModulesExt() { diff --git a/typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php b/typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php index d201118f87d5..97c28942fa96 100644 --- a/typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php +++ b/typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php @@ -587,7 +587,6 @@ class InlineRecordContainer extends AbstractContainer * \TYPO3\CMS\Backend\Form\Element\InlineElementHookInterface * * @throws \UnexpectedValueException - * @return void */ protected function initHookObjects() { diff --git a/typo3/sysext/backend/Classes/Form/DatabaseFileIconsHookInterface.php b/typo3/sysext/backend/Classes/Form/DatabaseFileIconsHookInterface.php index e528480ae81f..39458179981e 100644 --- a/typo3/sysext/backend/Classes/Form/DatabaseFileIconsHookInterface.php +++ b/typo3/sysext/backend/Classes/Form/DatabaseFileIconsHookInterface.php @@ -34,7 +34,6 @@ interface DatabaseFileIconsHookInterface * @param array $uidList The array of item-uids. Have a look at \TYPO3\CMS\Backend\Form\FormEngine::dbFileIcons parameter "$itemArray * @param array $additionalParams Array with additional parameters which are be available at method call. Includes $mode, $allowed, $itemArray, $onFocus, $table, $field, $uid. * @param object $parentObject Parent object - * @return void */ public function dbFileIcons_postProcess(array &$params, &$selector, &$thumbnails, array &$icons, &$rightbox, &$fName, array &$uidList, array $additionalParams, $parentObject); } diff --git a/typo3/sysext/backend/Classes/Form/Element/InlineElementHookInterface.php b/typo3/sysext/backend/Classes/Form/Element/InlineElementHookInterface.php index b5226f3d4e7e..13b7661be4ac 100644 --- a/typo3/sysext/backend/Classes/Form/Element/InlineElementHookInterface.php +++ b/typo3/sysext/backend/Classes/Form/Element/InlineElementHookInterface.php @@ -28,7 +28,6 @@ interface InlineElementHookInterface * @param array $childConfig TCA configuration of the current field of the child record * @param bool $isVirtual Defines whether the current records is only virtually shown and not physically part of the parent record * @param array &$enabledControls (reference) Associative array with the enabled control items - * @return void */ public function renderForeignRecordHeaderControl_preProcess($parentUid, $foreignTable, array $childRecord, array $childConfig, $isVirtual, array &$enabledControls); @@ -41,7 +40,6 @@ interface InlineElementHookInterface * @param array $childConfig TCA configuration of the current field of the child record * @param bool $isVirtual Defines whether the current records is only virtually shown and not physically part of the parent record * @param array &$controlItems (reference) Associative array with the currently available control items - * @return void */ public function renderForeignRecordHeaderControl_postProcess($parentUid, $foreignTable, array $childRecord, array $childConfig, $isVirtual, array &$controlItems); } diff --git a/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaFlexProcess.php b/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaFlexProcess.php index c0450cec22d3..0f4f7b25f850 100644 --- a/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaFlexProcess.php +++ b/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaFlexProcess.php @@ -76,7 +76,6 @@ class TcaFlexProcess implements FormDataProviderInterface * * @param array $result Result array * @param string $fieldName Handled field name - * @return void * @throws \UnexpectedValueException */ protected function scanForInvalidSectionContainerTca(array $result, string $fieldName) diff --git a/typo3/sysext/backend/Classes/Form/FormResultCompiler.php b/typo3/sysext/backend/Classes/Form/FormResultCompiler.php index ef30cfa5820f..97d70bcadebf 100644 --- a/typo3/sysext/backend/Classes/Form/FormResultCompiler.php +++ b/typo3/sysext/backend/Classes/Form/FormResultCompiler.php @@ -93,7 +93,6 @@ class FormResultCompiler * Merge existing data with the given result array * * @param array $resultArray Array returned by child - * @return void * @internal Temporary method to use FormEngine class as final data merger */ public function mergeResult(array $resultArray) diff --git a/typo3/sysext/backend/Classes/Form/InlineStackProcessor.php b/typo3/sysext/backend/Classes/Form/InlineStackProcessor.php index 95a68d6aacd9..e0e5b0798633 100644 --- a/typo3/sysext/backend/Classes/Form/InlineStackProcessor.php +++ b/typo3/sysext/backend/Classes/Form/InlineStackProcessor.php @@ -54,7 +54,6 @@ class InlineStackProcessor * - 'unstable': Containing partly filled data (e.g. only table and possibly field) * * @param string $domObjectId The DOM object-id - * @return void */ public function initializeByParsingDomObjectIdString($domObjectId) { @@ -110,7 +109,6 @@ class InlineStackProcessor * This is used by inline ajax calls that transfer configuration options back to the stack for initialization * * @param array $config Given config extracted from ajax call - * @return void * @todo: Review this construct - Why can't the ajax call fetch these data on its own and transfers it to client instead? */ public function injectAjaxConfiguration(array $config) @@ -141,7 +139,6 @@ class InlineStackProcessor * Add a stable structure to the stack * * @param array $structureItem - * @return void */ public function pushStableStructureItem(array $structureItem = []) { diff --git a/typo3/sysext/backend/Classes/Form/Utility/FormEngineUtility.php b/typo3/sysext/backend/Classes/Form/Utility/FormEngineUtility.php index ce61084de6dc..72ed5018a930 100644 --- a/typo3/sysext/backend/Classes/Form/Utility/FormEngineUtility.php +++ b/typo3/sysext/backend/Classes/Form/Utility/FormEngineUtility.php @@ -148,7 +148,6 @@ class FormEngineUtility * * @param array $uc The uc array to be processed and saved (by reference) * @param \TYPO3\CMS\Core\DataHandling\DataHandler $tce Instance of FormEngine that saved data before - * @return void * @internal */ public static function updateInlineView(&$uc, $tce) diff --git a/typo3/sysext/backend/Classes/Form/Wizard/SuggestWizardDefaultReceiver.php b/typo3/sysext/backend/Classes/Form/Wizard/SuggestWizardDefaultReceiver.php index fe022ae76136..7ab1feb0750c 100644 --- a/typo3/sysext/backend/Classes/Form/Wizard/SuggestWizardDefaultReceiver.php +++ b/typo3/sysext/backend/Classes/Form/Wizard/SuggestWizardDefaultReceiver.php @@ -210,8 +210,6 @@ class SuggestWizardDefaultReceiver /** * Prepare the statement for selecting the records which will be returned to the selector. May also return some * other records (e.g. from a mm-table) which will be used later on to select the real records - * - * @return void */ protected function prepareSelectStatement() { @@ -293,8 +291,6 @@ class SuggestWizardDefaultReceiver /** * Prepares the clause by which the result elements are sorted. See description of ORDER BY in * SQL standard for reference. - * - * @return void */ protected function prepareOrderByStatement() { @@ -346,7 +342,6 @@ class SuggestWizardDefaultReceiver * Overlay the given record with its workspace-version, if any * * @param array $row The record to get the workspace version for - * @return void (passed by reference) */ protected function makeWorkspaceOverlay(&$row) { diff --git a/typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php b/typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php index 0717e13cca81..1b7c0c06d2b7 100644 --- a/typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php +++ b/typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php @@ -97,8 +97,6 @@ class FrontendBackendUserAuthentication extends BackendUserAuthentication /** * Initializes the admin panel. - * - * @return void */ public function initializeAdminPanel() { @@ -116,8 +114,6 @@ class FrontendBackendUserAuthentication extends BackendUserAuthentication /** * Initializes frontend editing. - * - * @return void */ public function initializeFrontendEdit() { diff --git a/typo3/sysext/backend/Classes/History/RecordHistory.php b/typo3/sysext/backend/Classes/History/RecordHistory.php index ef05e97a35ac..8ea27893f8f2 100644 --- a/typo3/sysext/backend/Classes/History/RecordHistory.php +++ b/typo3/sysext/backend/Classes/History/RecordHistory.php @@ -169,7 +169,6 @@ class RecordHistory * Toggles highlight state of record * * @param int $uid Uid of sys_history entry - * @return void */ public function toggleHighlight($uid) { @@ -916,8 +915,6 @@ class RecordHistory /** * Resolve sh_uid (used from log) - * - * @return void */ public function resolveShUid() { diff --git a/typo3/sysext/backend/Classes/Http/Application.php b/typo3/sysext/backend/Classes/Http/Application.php index c23833a8bbc3..859e382e4b2f 100644 --- a/typo3/sysext/backend/Classes/Http/Application.php +++ b/typo3/sysext/backend/Classes/Http/Application.php @@ -78,7 +78,6 @@ class Application implements ApplicationInterface * Set up the application and shut it down afterwards * * @param callable $execute - * @return void */ public function run(callable $execute = null) { diff --git a/typo3/sysext/backend/Classes/Http/BackendModuleRequestHandler.php b/typo3/sysext/backend/Classes/Http/BackendModuleRequestHandler.php index 809c1c72ad7b..5ee8c2c424ac 100644 --- a/typo3/sysext/backend/Classes/Http/BackendModuleRequestHandler.php +++ b/typo3/sysext/backend/Classes/Http/BackendModuleRequestHandler.php @@ -91,8 +91,6 @@ class BackendModuleRequestHandler implements RequestHandlerInterface /** * Execute TYPO3 bootstrap - * - * @return void */ protected function boot() { diff --git a/typo3/sysext/backend/Classes/Http/RequestHandler.php b/typo3/sysext/backend/Classes/Http/RequestHandler.php index 0381794e05a6..94373c39cca4 100644 --- a/typo3/sysext/backend/Classes/Http/RequestHandler.php +++ b/typo3/sysext/backend/Classes/Http/RequestHandler.php @@ -82,7 +82,6 @@ class RequestHandler implements RequestHandlerInterface * Does the main work for setting up the backend environment for any Backend request * * @param bool $proceedIfNoUserIsLoggedIn option to allow to render the request even if no user is logged in - * @return void */ protected function boot($proceedIfNoUserIsLoggedIn) { diff --git a/typo3/sysext/backend/Classes/LoginProvider/LoginProviderInterface.php b/typo3/sysext/backend/Classes/LoginProvider/LoginProviderInterface.php index e9cbd638817b..510072d06f5f 100644 --- a/typo3/sysext/backend/Classes/LoginProvider/LoginProviderInterface.php +++ b/typo3/sysext/backend/Classes/LoginProvider/LoginProviderInterface.php @@ -39,8 +39,6 @@ interface LoginProviderInterface * @param StandaloneView $view * @param PageRenderer $pageRenderer * @param LoginController $loginController - * - * @return void */ public function render(StandaloneView $view, PageRenderer $pageRenderer, LoginController $loginController); } diff --git a/typo3/sysext/backend/Classes/Module/AbstractFunctionModule.php b/typo3/sysext/backend/Classes/Module/AbstractFunctionModule.php index 35b50ef5a3cd..b1fe9053239e 100644 --- a/typo3/sysext/backend/Classes/Module/AbstractFunctionModule.php +++ b/typo3/sysext/backend/Classes/Module/AbstractFunctionModule.php @@ -187,7 +187,6 @@ abstract class AbstractFunctionModule * If $this->function_key is set (which means there are two levels of object connectivity) then * $this->extClassConf is loaded with the TBE_MODULES_EXT configuration for that sub-sub-module * - * @return void * @see $function_key, \TYPO3\CMS\FuncWizards\Controller\WebFunctionWizardsBaseController::init() */ public function handleExternalFunctionValue() @@ -202,8 +201,6 @@ abstract class AbstractFunctionModule /** * Including any locallang file configured and merging its content over * the current global LOCAL_LANG array (which is EXPECTED to exist!!!) - * - * @return void */ public function incLocalLang() { @@ -225,7 +222,6 @@ abstract class AbstractFunctionModule /** * Same as \TYPO3\CMS\Backend\Module\BaseScriptClass::checkExtObj() * - * @return void * @see \TYPO3\CMS\Backend\Module\BaseScriptClass::checkExtObj() */ public function checkExtObj() @@ -240,8 +236,6 @@ abstract class AbstractFunctionModule /** * Calls the main function inside ANOTHER sub-submodule which might exist. - * - * @return void */ public function extObjContent() { diff --git a/typo3/sysext/backend/Classes/Module/BaseScriptClass.php b/typo3/sysext/backend/Classes/Module/BaseScriptClass.php index ddd7f69397a5..cde5bfab1c8f 100644 --- a/typo3/sysext/backend/Classes/Module/BaseScriptClass.php +++ b/typo3/sysext/backend/Classes/Module/BaseScriptClass.php @@ -189,7 +189,6 @@ class BaseScriptClass /** * Initializes the backend module by setting internal variables, initializing the menu. * - * @return void * @see menuConfig() */ public function init() @@ -210,7 +209,6 @@ class BaseScriptClass * Then MOD_SETTINGS array is cleaned up (see \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleData()) so it contains only valid values. It's also updated with any SET[] values submitted. * Also loads the modTSconfig internal variable. * - * @return void * @see init(), $MOD_MENU, $MOD_SETTINGS, \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleData(), mergeExternalItems() */ public function menuConfig() @@ -250,7 +248,6 @@ class BaseScriptClass * * @param string $MM_key The key to MOD_MENU for which to fetch configuration. 'function' is default since it is first and foremost used to get information per "extension object" (I think that is what its called) * @param string $MS_value The value-key to fetch from the config array. If NULL (default) MOD_SETTINGS[$MM_key] will be used. This is useful if you want to force another function than the one defined in MOD_SETTINGS[function]. Call this in init() function of your Script Class: handleExternalFunctionValue('function', $forcedSubModKey) - * @return void * @see getExternalItemConfig(), init() */ public function handleExternalFunctionValue($MM_key = 'function', $MS_value = null) @@ -285,7 +282,6 @@ class BaseScriptClass * The array $this->extClassConf is set in handleExternalFunctionValue() based on the value of MOD_SETTINGS[function] * If an instance is created it is initiated with $this passed as value and $this->extClassConf as second argument. Further the $this->MOD_SETTING is cleaned up again after calling the init function. * - * @return void * @see handleExternalFunctionValue(), \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(), $extObj */ public function checkExtObj() @@ -300,8 +296,6 @@ class BaseScriptClass /** * Calls the checkExtObj function in sub module if present. - * - * @return void */ public function checkSubExtObj() { @@ -313,8 +307,6 @@ class BaseScriptClass /** * Calls the 'header' function inside the "Function menu module" if present. * A header function might be needed to add JavaScript or other stuff in the head. This can't be done in the main function because the head is already written. - * - * @return void */ public function extObjHeader() { @@ -325,8 +317,6 @@ class BaseScriptClass /** * Calls the 'main' function inside the "Function menu module" if present - * - * @return void */ public function extObjContent() { diff --git a/typo3/sysext/backend/Classes/Module/ModuleLoader.php b/typo3/sysext/backend/Classes/Module/ModuleLoader.php index d4109fd6a3a4..e03b01f8ced3 100644 --- a/typo3/sysext/backend/Classes/Module/ModuleLoader.php +++ b/typo3/sysext/backend/Classes/Module/ModuleLoader.php @@ -86,7 +86,6 @@ class ModuleLoader * * @param array $modulesArray Should be the global var $TBE_MODULES, $BE_USER can optionally be set to an alternative Backend user object than the global var $BE_USER (which is the currently logged in user) * @param BackendUserAuthentication $beUser Optional backend user object to use. If not set, the global BE_USER object is used. - * @return void */ public function load($modulesArray, BackendUserAuthentication $beUser = null) { diff --git a/typo3/sysext/backend/Classes/Module/ModuleStorage.php b/typo3/sysext/backend/Classes/Module/ModuleStorage.php index 51b2f15f5f14..c1b4d2be2d26 100644 --- a/typo3/sysext/backend/Classes/Module/ModuleStorage.php +++ b/typo3/sysext/backend/Classes/Module/ModuleStorage.php @@ -38,7 +38,6 @@ class ModuleStorage implements \TYPO3\CMS\Core\SingletonInterface * Set Entries * * @param \SplObjectStorage $entries - * @return void */ public function setEntries($entries) { @@ -59,7 +58,6 @@ class ModuleStorage implements \TYPO3\CMS\Core\SingletonInterface * Attach Entry * * @param BackendModule $entry - * @return void */ public function attachEntry(BackendModule $entry) { diff --git a/typo3/sysext/backend/Classes/Provider/PageTsBackendLayoutDataProvider.php b/typo3/sysext/backend/Classes/Provider/PageTsBackendLayoutDataProvider.php index 5c85d232d83f..6c75aca9a0a2 100644 --- a/typo3/sysext/backend/Classes/Provider/PageTsBackendLayoutDataProvider.php +++ b/typo3/sysext/backend/Classes/Provider/PageTsBackendLayoutDataProvider.php @@ -61,7 +61,6 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; * } * } * } - * */ class PageTsBackendLayoutDataProvider implements DataProviderInterface { @@ -90,7 +89,6 @@ class PageTsBackendLayoutDataProvider implements DataProviderInterface * Set PageTsConfig * * @param array $pageTsConfig - * @return void */ protected function setPageTsConfig(array $pageTsConfig) { @@ -111,7 +109,6 @@ class PageTsBackendLayoutDataProvider implements DataProviderInterface * Set PageId * * @param int $pageId - * @return void */ protected function setPageId($pageId) { @@ -133,7 +130,6 @@ class PageTsBackendLayoutDataProvider implements DataProviderInterface * if not it will be generated for the current Page. * * @param DataProviderContext $dataProviderContext - * @return void */ protected function generatePageTsConfig($dataProviderContext = null) { @@ -151,7 +147,6 @@ class PageTsBackendLayoutDataProvider implements DataProviderInterface * Generate the Backend Layout configs * * @param DataProviderContext $dataProviderContext - * @return void */ protected function generateBackendLayouts($dataProviderContext = null) { @@ -203,7 +198,6 @@ class PageTsBackendLayoutDataProvider implements DataProviderInterface /** * @param DataProviderContext $dataProviderContext * @param BackendLayoutCollection $backendLayoutCollection - * @return void */ public function addBackendLayouts(DataProviderContext $dataProviderContext, BackendLayoutCollection $backendLayoutCollection) { diff --git a/typo3/sysext/backend/Classes/RecordList/AbstractRecordList.php b/typo3/sysext/backend/Classes/RecordList/AbstractRecordList.php index e4cc6c6d20c4..bdfdab135d1f 100644 --- a/typo3/sysext/backend/Classes/RecordList/AbstractRecordList.php +++ b/typo3/sysext/backend/Classes/RecordList/AbstractRecordList.php @@ -303,8 +303,6 @@ abstract class AbstractRecordList /** * Dummy function, used to write the top of a table listing. - * - * @return void */ public function writeTop() { @@ -420,8 +418,6 @@ abstract class AbstractRecordList /** * Initializes page languages and icons - * - * @return void */ public function initializeLanguages() { diff --git a/typo3/sysext/backend/Classes/RecordList/ElementBrowserRecordList.php b/typo3/sysext/backend/Classes/RecordList/ElementBrowserRecordList.php index 0411c50afee7..fbdb8c427bde 100644 --- a/typo3/sysext/backend/Classes/RecordList/ElementBrowserRecordList.php +++ b/typo3/sysext/backend/Classes/RecordList/ElementBrowserRecordList.php @@ -117,7 +117,6 @@ class ElementBrowserRecordList extends DatabaseRecordList /** * Local version that sets allFields to TRUE to support userFieldSelect * - * @return void * @see fieldSelectBox */ public function generateList() diff --git a/typo3/sysext/backend/Classes/RecordList/RecordListGetTableHookInterface.php b/typo3/sysext/backend/Classes/RecordList/RecordListGetTableHookInterface.php index b3da25725d6a..f1311be0f95c 100644 --- a/typo3/sysext/backend/Classes/RecordList/RecordListGetTableHookInterface.php +++ b/typo3/sysext/backend/Classes/RecordList/RecordListGetTableHookInterface.php @@ -28,7 +28,6 @@ interface RecordListGetTableHookInterface * @param string $additionalWhereClause An additional WHERE clause * @param string $selectedFieldsList Comma separated list of selected fields * @param \TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList $parentObject Parent \TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList object - * @return void */ public function getDBlistQuery($table, $pageId, &$additionalWhereClause, &$selectedFieldsList, &$parentObject); } diff --git a/typo3/sysext/backend/Classes/Search/LiveSearch/LiveSearch.php b/typo3/sysext/backend/Classes/Search/LiveSearch/LiveSearch.php index 4ba8f3818807..847934aebce9 100644 --- a/typo3/sysext/backend/Classes/Search/LiveSearch/LiveSearch.php +++ b/typo3/sysext/backend/Classes/Search/LiveSearch/LiveSearch.php @@ -424,7 +424,6 @@ class LiveSearch * Setter for limit value. * * @param int $limitCount - * @return void */ public function setLimitCount($limitCount) { @@ -438,7 +437,6 @@ class LiveSearch * Setter for start count value. * * @param int $startCount - * @return void */ public function setStartCount($startCount) { @@ -449,7 +447,6 @@ class LiveSearch * Setter for the search query string. * * @param string $queryString - * @return void */ public function setQueryString($queryString) { diff --git a/typo3/sysext/backend/Classes/Security/CategoryPermissionsAspect.php b/typo3/sysext/backend/Classes/Security/CategoryPermissionsAspect.php index e385d0841247..3154e5af4e65 100644 --- a/typo3/sysext/backend/Classes/Security/CategoryPermissionsAspect.php +++ b/typo3/sysext/backend/Classes/Security/CategoryPermissionsAspect.php @@ -51,7 +51,6 @@ class CategoryPermissionsAspect * * @param DatabaseTreeDataProvider $dataProvider * @param TreeNode $treeData - * @return void */ public function addUserPermissionsToCategoryTreeData(DatabaseTreeDataProvider $dataProvider, $treeData) { diff --git a/typo3/sysext/backend/Classes/Template/Components/DocHeaderComponent.php b/typo3/sysext/backend/Classes/Template/Components/DocHeaderComponent.php index 80d05f45dbdf..5aba36412ea9 100644 --- a/typo3/sysext/backend/Classes/Template/Components/DocHeaderComponent.php +++ b/typo3/sysext/backend/Classes/Template/Components/DocHeaderComponent.php @@ -61,8 +61,6 @@ class DocHeaderComponent * Set page information * * @param array $metaInformation Record array - * - * @return void */ public function setMetaInformation(array $metaInformation) { diff --git a/typo3/sysext/backend/Classes/Template/Components/Menu/Menu.php b/typo3/sysext/backend/Classes/Template/Components/Menu/Menu.php index 54d5aeac6e4c..fbaaf0c9093e 100644 --- a/typo3/sysext/backend/Classes/Template/Components/Menu/Menu.php +++ b/typo3/sysext/backend/Classes/Template/Components/Menu/Menu.php @@ -84,8 +84,6 @@ class Menu * @param MenuItem $menuItem The menuItem to add to the menu * * @throws \InvalidArgumentException In case a menuItem is not valid - * - * @return void */ public function addMenuItem(MenuItem $menuItem) { diff --git a/typo3/sysext/backend/Classes/Template/Components/MenuRegistry.php b/typo3/sysext/backend/Classes/Template/Components/MenuRegistry.php index dcc600a575be..6c8dacda7a60 100644 --- a/typo3/sysext/backend/Classes/Template/Components/MenuRegistry.php +++ b/typo3/sysext/backend/Classes/Template/Components/MenuRegistry.php @@ -35,8 +35,6 @@ class MenuRegistry * @param Menu $menu Menu object to add to the menuRegistry * * @throws \InvalidArgumentException In case a menu is not valid - * - * @return void */ public function addMenu(Menu $menu) { diff --git a/typo3/sysext/backend/Classes/Template/Components/MetaInformation.php b/typo3/sysext/backend/Classes/Template/Components/MetaInformation.php index a5f4e513068e..0fcf6a20a4a6 100644 --- a/typo3/sysext/backend/Classes/Template/Components/MetaInformation.php +++ b/typo3/sysext/backend/Classes/Template/Components/MetaInformation.php @@ -41,8 +41,6 @@ class MetaInformation * Set the RecordArray * * @param array $recordArray RecordArray - * - * @return void */ public function setRecordArray(array $recordArray) { diff --git a/typo3/sysext/backend/Classes/Template/DocumentTemplate.php b/typo3/sysext/backend/Classes/Template/DocumentTemplate.php index f62b3798c0c7..9d736a6e0465 100644 --- a/typo3/sysext/backend/Classes/Template/DocumentTemplate.php +++ b/typo3/sysext/backend/Classes/Template/DocumentTemplate.php @@ -534,7 +534,6 @@ function jumpToUrl(URL) { * Defines whether to use the X-UA-Compatible meta tag. * * @param bool $useCompatibilityTag Whether to use the tag - * @return void */ public function useCompatibilityTag($useCompatibilityTag = true) { @@ -877,7 +876,6 @@ function jumpToUrl(URL) { * @param string $href uri to the style sheet file * @param string $title value for the title attribute of the link element * @param string $relation value for the rel attribute of the link element - * @return void */ public function addStyleSheet($key, $href, $title = '', $relation = 'stylesheet') { @@ -888,7 +886,6 @@ function jumpToUrl(URL) { * Add all *.css files of the directory $path to the stylesheets * * @param string $path directory to add - * @return void */ public function addStyleSheetDirectory($path) { @@ -1106,7 +1103,6 @@ function jumpToUrl(URL) { * Includes a javascript library that exists in the core /typo3/ directory * * @param string $lib: Library name. Call it with the full path like "sysext/core/Resources/Public/JavaScript/QueryGenerator.js" to load it - * @return void * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 */ public function loadJavascriptLib($lib) @@ -1118,7 +1114,6 @@ function jumpToUrl(URL) { /** * Includes the necessary Javascript function for the clickmenu (context sensitive menus) in the document * - * @return void * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 */ public function getContextMenuCode() @@ -1134,7 +1129,6 @@ function jumpToUrl(URL) { * * @param string $table indicator of which table the drag and drop function should work on (pages or folders) * @param string $additionalJavaScriptCode adds more code to the additional javascript code - * @return void * @deprecated since TYPO3 CMS 8, will be removed in TYPO3 CMS 9. */ public function getDragDropCode($table, $additionalJavaScriptCode = '') @@ -1268,7 +1262,6 @@ function jumpToUrl(URL) { * Define the template for the module * * @param string $filename filename - * @return void */ public function setModuleTemplate($filename) { diff --git a/typo3/sysext/backend/Classes/Template/ModuleTemplate.php b/typo3/sysext/backend/Classes/Template/ModuleTemplate.php index c828a0ca3bd2..66b8ac0297cb 100644 --- a/typo3/sysext/backend/Classes/Template/ModuleTemplate.php +++ b/typo3/sysext/backend/Classes/Template/ModuleTemplate.php @@ -204,7 +204,6 @@ class ModuleTemplate * Set content * * @param string $content Content of the module - * @return void */ public function setContent($content) { @@ -251,8 +250,6 @@ class ModuleTemplate /** * Loads all necessary Javascript Files - * - * @return void */ protected function loadJavaScripts() { @@ -265,8 +262,6 @@ class ModuleTemplate /** * Loads all necessary stylesheets - * - * @return void */ protected function loadStylesheets() { @@ -280,8 +275,6 @@ class ModuleTemplate /** * Sets mandatory parameters for the view (pageRenderer) - * - * @return void */ protected function setupPage() { @@ -294,8 +287,6 @@ class ModuleTemplate /** * Wrapper function for adding JS inline blocks - * - * @return void */ protected function setJavaScriptCodeArray() { @@ -309,8 +300,6 @@ class ModuleTemplate * * @param string $name Javascript code block name * @param string $code Inline Javascript - * - * @return void */ public function addJavaScriptCode($name = '', $code = '') { @@ -371,8 +360,6 @@ class ModuleTemplate * Set form tag * * @param string $formTag Form tag to add - * - * @return void */ public function setForm($formTag = '') { @@ -383,8 +370,6 @@ class ModuleTemplate * Sets the ModuleId * * @param string $moduleId ID of the module - * - * @return void */ public function setModuleId($moduleId) { @@ -396,8 +381,6 @@ class ModuleTemplate * Sets the ModuleName * * @param string $moduleName Name of the module - * - * @return void */ public function setModuleName($moduleName) { @@ -479,7 +462,6 @@ class ModuleTemplate * @param string $lib Library name. Call it with the full path like * "sysext/core/Resources/Public/JavaScript/QueryGenerator.js" to load it * - * @return void * @internal */ public function loadJavascriptLib($lib) @@ -710,7 +692,6 @@ class ModuleTemplate * @param string $messageTitle Optional message title * @param int $severity Optional severity, must be one of \TYPO3\CMS\Core\Messaging\FlashMessage constants * @param bool $storeInSession Optional, defines whether the message should be stored in the session (default) - * @return void * @throws \InvalidArgumentException if the message body is no string */ public function addFlashMessage($messageBody, $messageTitle = '', $severity = AbstractMessage::OK, $storeInSession = true) diff --git a/typo3/sysext/backend/Classes/Tree/AbstractTree.php b/typo3/sysext/backend/Classes/Tree/AbstractTree.php index b327f7314b53..b512f9acacc6 100644 --- a/typo3/sysext/backend/Classes/Tree/AbstractTree.php +++ b/typo3/sysext/backend/Classes/Tree/AbstractTree.php @@ -35,7 +35,6 @@ abstract class AbstractTree /** * @param \TYPO3\CMS\Backend\Tree\AbstractTreeDataProvider $dataProvider - * @return void */ public function setDataProvider(\TYPO3\CMS\Backend\Tree\AbstractTreeDataProvider $dataProvider) { @@ -52,7 +51,6 @@ abstract class AbstractTree /** * @param \TYPO3\CMS\Backend\Tree\Renderer\AbstractTreeRenderer $nodeRenderer - * @return void */ public function setNodeRenderer(\TYPO3\CMS\Backend\Tree\Renderer\AbstractTreeRenderer $nodeRenderer) { diff --git a/typo3/sysext/backend/Classes/Tree/DraggableAndDropableNodeInterface.php b/typo3/sysext/backend/Classes/Tree/DraggableAndDropableNodeInterface.php index c001ffd4c0f8..163f7eb8e59a 100644 --- a/typo3/sysext/backend/Classes/Tree/DraggableAndDropableNodeInterface.php +++ b/typo3/sysext/backend/Classes/Tree/DraggableAndDropableNodeInterface.php @@ -25,7 +25,6 @@ interface DraggableAndDropableNodeInterface * * @param \TYPO3\CMS\Backend\Tree\TreeNode $node * @param \TYPO3\CMS\Backend\Tree\TreeNode $destination - * @return void */ public function moveNodeInDestinationNode($node, $destination); @@ -34,7 +33,6 @@ interface DraggableAndDropableNodeInterface * * @param \TYPO3\CMS\Backend\Tree\TreeNode $node * @param \TYPO3\CMS\Backend\Tree\TreeNode $destination - * @return void */ public function moveNodeAfterDestinationNode($node, $destination); @@ -43,7 +41,6 @@ interface DraggableAndDropableNodeInterface * * @param \TYPO3\CMS\Backend\Tree\TreeNode $node * @param \TYPO3\CMS\Backend\Tree\TreeNode $destination - * @return void */ public function copyNodeInDestinationNode($node, $destination); @@ -52,7 +49,6 @@ interface DraggableAndDropableNodeInterface * * @param \TYPO3\CMS\Backend\Tree\TreeNode $node * @param \TYPO3\CMS\Backend\Tree\TreeNode $destination - * @return void */ public function copyNodeAfterDestinationNode($node, $destination); } diff --git a/typo3/sysext/backend/Classes/Tree/EditableNodeLabelInterface.php b/typo3/sysext/backend/Classes/Tree/EditableNodeLabelInterface.php index 223ada467f81..32754815adde 100644 --- a/typo3/sysext/backend/Classes/Tree/EditableNodeLabelInterface.php +++ b/typo3/sysext/backend/Classes/Tree/EditableNodeLabelInterface.php @@ -24,7 +24,6 @@ interface EditableNodeLabelInterface * Sets the new label * * @param string $label - * @return void */ public function setLabel($label); } diff --git a/typo3/sysext/backend/Classes/Tree/ExtDirectNode.php b/typo3/sysext/backend/Classes/Tree/ExtDirectNode.php index f97172485008..808903bad1f6 100644 --- a/typo3/sysext/backend/Classes/Tree/ExtDirectNode.php +++ b/typo3/sysext/backend/Classes/Tree/ExtDirectNode.php @@ -163,7 +163,6 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode * Set's the node type * * @param string $type - * @return void */ public function setType($type) { @@ -184,7 +183,6 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode * Sets the leaf node indicator * * @param bool $isLeaf - * @return void */ public function setLeaf($isLeaf) { @@ -205,7 +203,6 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode * Sets the expandable indicator * * @param bool $expandable - * @return void */ public function setExpandable($expandable) { @@ -226,7 +223,6 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode * Sets the expanded indicator * * @param bool $expanded - * @return void */ public function setExpanded($expanded) { @@ -250,7 +246,6 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode * Sets the draggable indicator * * @param bool $draggable - * @return void */ public function setDraggable($draggable) { @@ -271,7 +266,6 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode * Sets the indicator if the node can be a drop target * * @param bool $isDropTarget - * @return void */ public function setIsDropTarget($isDropTarget) { @@ -295,7 +289,6 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode * @param string $textSourceField * @param string $prefix * @param string $suffix - * @return void */ public function setText($text, $textSourceField = 'title', $prefix = '', $suffix = '') { @@ -319,7 +312,6 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode * Sets the editable text * * @param string $editableText - * @return void */ public function setEditableText($editableText) { @@ -350,7 +342,6 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode * Sets the paste copy indicator * * @param bool $inCopyMode - * @return void */ public function setInCopyMode($inCopyMode) { @@ -371,7 +362,6 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode * Sets the paste cut indicator * * @param bool $inCutMode - * @return void */ public function setInCutMode($inCutMode) { @@ -412,7 +402,6 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode * Sets the css class(es) * * @param string $class - * @return void */ public function setCls($class) { @@ -433,7 +422,6 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode * Sets the quick tip * * @param string $qtip - * @return void */ public function setQTip($qtip) { @@ -454,7 +442,6 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode * Sets the sprite icon code * * @param string $spriteIcon - * @return void */ public function setSpriteIconCode($spriteIcon) { @@ -475,7 +462,6 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode * Sets the indicator if the label is editable * * @param bool $labelIsEditable - * @return void */ public function setLabelIsEditable($labelIsEditable) { @@ -496,7 +482,6 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode * Sets the database record array * * @param array $record - * @return void */ public function setRecord($record) { @@ -517,7 +502,6 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode * Sets the context info * * @param array $contextInfo - * @return void */ public function setContextInfo($contextInfo) { @@ -538,7 +522,6 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode * Sets the child nodes collection * * @param \TYPO3\CMS\Backend\Tree\TreeNodeCollection $childNodes - * @return void */ public function setChildNodes(\TYPO3\CMS\Backend\Tree\TreeNodeCollection $childNodes) { @@ -552,7 +535,6 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode * Sets the indicator if the node can have child nodes * * @param bool $allowChildren - * @return void */ public function setAllowChildren($allowChildren) { @@ -618,7 +600,6 @@ class ExtDirectNode extends \TYPO3\CMS\Backend\Tree\TreeNode * Sets data of the node by a given data array * * @param array $data - * @return void */ public function dataFromArray($data) { diff --git a/typo3/sysext/backend/Classes/Tree/Pagetree/CollectionProcessorInterface.php b/typo3/sysext/backend/Classes/Tree/Pagetree/CollectionProcessorInterface.php index 1d7a470d4d8c..0a55bbc58af6 100644 --- a/typo3/sysext/backend/Classes/Tree/Pagetree/CollectionProcessorInterface.php +++ b/typo3/sysext/backend/Classes/Tree/Pagetree/CollectionProcessorInterface.php @@ -26,7 +26,6 @@ interface CollectionProcessorInterface * @param int $mountPoint * @param int $level * @param \TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNodeCollection $nodeCollection - * @return void */ public function postProcessGetNodes($node, $mountPoint, $level, $nodeCollection); @@ -37,7 +36,6 @@ interface CollectionProcessorInterface * @param string $searchFilter * @param int $mountPoint * @param \TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNodeCollection $nodeCollection - * @return void */ public function postProcessFilteredNodes($node, $searchFilter, $mountPoint, $nodeCollection); @@ -46,7 +44,6 @@ interface CollectionProcessorInterface * * @param string $searchFilter * @param \TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNodeCollection $nodeCollection - * @return void */ public function postProcessGetTreeMounts($searchFilter, $nodeCollection); } diff --git a/typo3/sysext/backend/Classes/Tree/Pagetree/Commands.php b/typo3/sysext/backend/Classes/Tree/Pagetree/Commands.php index 4f252e98daef..45f721a14864 100644 --- a/typo3/sysext/backend/Classes/Tree/Pagetree/Commands.php +++ b/typo3/sysext/backend/Classes/Tree/Pagetree/Commands.php @@ -56,7 +56,6 @@ class Commands * Visibly the page * * @param \TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode $node - * @return void */ public static function visiblyNode(\TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode $node) { @@ -68,7 +67,6 @@ class Commands * Hide the page * * @param \TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode $node - * @return void */ public static function disableNode(\TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode $node) { @@ -80,7 +78,6 @@ class Commands * Delete the page * * @param \TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode $node - * @return void */ public static function deleteNode(\TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode $node) { @@ -93,7 +90,6 @@ class Commands * * @param \TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode $node * @param int $targetId - * @return void */ public static function restoreNode(\TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode $node, $targetId) { @@ -109,7 +105,6 @@ class Commands * * @param \TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode $node * @param string $updatedLabel - * @return void */ public static function updateNodeLabel(\TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode $node, $updatedLabel) { @@ -144,7 +139,6 @@ class Commands * * @param \TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode $sourceNode * @param int $targetId - * @return void */ public static function moveNode(\TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNode $sourceNode, $targetId) { diff --git a/typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeCommands.php b/typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeCommands.php index 1358607be8f6..a611d8411902 100644 --- a/typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeCommands.php +++ b/typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeCommands.php @@ -160,7 +160,6 @@ class ExtdirectTreeCommands * Clear cache of the page * * @param \stdClass $nodeData - * @return void */ public static function clearCacheOfPage($nodeData) { diff --git a/typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeDataProvider.php b/typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeDataProvider.php index 17890be44fd1..d60ad3805637 100644 --- a/typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeDataProvider.php +++ b/typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeDataProvider.php @@ -46,8 +46,6 @@ class ExtdirectTreeDataProvider extends \TYPO3\CMS\Backend\Tree\AbstractTree /** * Sets the data provider - * - * @return void */ protected function initDataProvider() { diff --git a/typo3/sysext/backend/Classes/Tree/Pagetree/PagetreeNode.php b/typo3/sysext/backend/Classes/Tree/Pagetree/PagetreeNode.php index a417585013c3..c6ed33c7b849 100644 --- a/typo3/sysext/backend/Classes/Tree/Pagetree/PagetreeNode.php +++ b/typo3/sysext/backend/Classes/Tree/Pagetree/PagetreeNode.php @@ -74,7 +74,6 @@ class PagetreeNode extends \TYPO3\CMS\Backend\Tree\ExtDirectNode * Sets the background color * * @param string $backgroundColor - * @return void */ public function setBackgroundColor($backgroundColor) { @@ -95,7 +94,6 @@ class PagetreeNode extends \TYPO3\CMS\Backend\Tree\ExtDirectNode * Set's the original id of the element * * @param int $workspaceId - * @return void */ public function setWorkspaceId($workspaceId) { @@ -136,7 +134,6 @@ class PagetreeNode extends \TYPO3\CMS\Backend\Tree\ExtDirectNode * Sets the mount point id * * @param int $mountPoint - * @return void */ public function setMountPoint($mountPoint) { @@ -157,7 +154,6 @@ class PagetreeNode extends \TYPO3\CMS\Backend\Tree\ExtDirectNode * Sets the indicator if the node is a mount point * * @param bool $isMountPoint - * @return void */ public function setIsMountPoint($isMountPoint) { @@ -178,7 +174,6 @@ class PagetreeNode extends \TYPO3\CMS\Backend\Tree\ExtDirectNode * Sets the readable rootline * * @param string $rootline - * @return void */ public function setReadableRootline($rootline) { @@ -438,7 +433,6 @@ class PagetreeNode extends \TYPO3\CMS\Backend\Tree\ExtDirectNode * Sets data of the node by a given data array * * @param array $data - * @return void */ public function dataFromArray($data) { diff --git a/typo3/sysext/backend/Classes/Tree/SortedTreeNodeCollection.php b/typo3/sysext/backend/Classes/Tree/SortedTreeNodeCollection.php index 78e939d7a6ce..8f46e581bd75 100644 --- a/typo3/sysext/backend/Classes/Tree/SortedTreeNodeCollection.php +++ b/typo3/sysext/backend/Classes/Tree/SortedTreeNodeCollection.php @@ -76,8 +76,6 @@ class SortedTreeNodeCollection extends \TYPO3\CMS\Backend\Tree\TreeNodeCollectio /** * Normalizes the array by reordering the keys - * - * @return void */ protected function normalize() { @@ -92,7 +90,6 @@ class SortedTreeNodeCollection extends \TYPO3\CMS\Backend\Tree\TreeNodeCollectio * Adds a node to the internal list in a sorted approach * * @param \TYPO3\CMS\Backend\Tree\TreeNode $node - * @return void */ public function append($node) { diff --git a/typo3/sysext/backend/Classes/Tree/TreeNode.php b/typo3/sysext/backend/Classes/Tree/TreeNode.php index 26200c2ae6cc..c46e38e12651 100644 --- a/typo3/sysext/backend/Classes/Tree/TreeNode.php +++ b/typo3/sysext/backend/Classes/Tree/TreeNode.php @@ -61,7 +61,6 @@ class TreeNode implements \TYPO3\CMS\Backend\Tree\ComparableNodeInterface, \Seri * Sets the child nodes collection * * @param \TYPO3\CMS\Backend\Tree\TreeNodeCollection $childNodes - * @return void */ public function setChildNodes(\TYPO3\CMS\Backend\Tree\TreeNodeCollection $childNodes) { @@ -70,8 +69,6 @@ class TreeNode implements \TYPO3\CMS\Backend\Tree\ComparableNodeInterface, \Seri /** * Removes child nodes collection - * - * @return void */ public function removeChildNodes() { @@ -108,7 +105,6 @@ class TreeNode implements \TYPO3\CMS\Backend\Tree\ComparableNodeInterface, \Seri * Sets the identifier * * @param string $id - * @return void */ public function setId($id) { @@ -129,7 +125,6 @@ class TreeNode implements \TYPO3\CMS\Backend\Tree\ComparableNodeInterface, \Seri * Sets the parent node * * @param NULL|\TYPO3\CMS\Backend\Tree\TreeNode $parentNode - * @return void */ public function setParentNode(\TYPO3\CMS\Backend\Tree\TreeNode $parentNode = null) { @@ -205,7 +200,6 @@ class TreeNode implements \TYPO3\CMS\Backend\Tree\ComparableNodeInterface, \Seri * Sets data of the node by a given data array * * @param array $data - * @return void */ public function dataFromArray($data) { @@ -233,7 +227,6 @@ class TreeNode implements \TYPO3\CMS\Backend\Tree\ComparableNodeInterface, \Seri * * @throws \TYPO3\CMS\Core\Exception if the deserialized object type is not identical to the current one * @param string $serializedString - * @return void */ public function unserialize($serializedString) { diff --git a/typo3/sysext/backend/Classes/Tree/TreeNodeCollection.php b/typo3/sysext/backend/Classes/Tree/TreeNodeCollection.php index e04ee1e3b213..1dc338a5fa5b 100644 --- a/typo3/sysext/backend/Classes/Tree/TreeNodeCollection.php +++ b/typo3/sysext/backend/Classes/Tree/TreeNodeCollection.php @@ -37,8 +37,6 @@ class TreeNodeCollection extends \ArrayObject /** * Sorts the internal nodes array - * - * @return void */ public function asort() { @@ -49,7 +47,6 @@ class TreeNodeCollection extends \ArrayObject * Compares a node with another one * * @see \TYPO3\CMS\Backend\Tree\TreeNode::compareTo - * @return void * @noapi */ public function nodeCompare(\TYPO3\CMS\Backend\Tree\TreeNode $node, \TYPO3\CMS\Backend\Tree\TreeNode $otherNode) @@ -71,7 +68,6 @@ class TreeNodeCollection extends \ArrayObject * Initializes the current object with a serialized instance * * @param string $serializedString - * @return void * @throws \TYPO3\CMS\Core\Exception if the deserialized is not identical to the current class */ public function unserialize($serializedString) @@ -105,7 +101,6 @@ class TreeNodeCollection extends \ArrayObject * Sets the data of the node collection by a given array * * @param array $data - * @return void */ public function dataFromArray($data) { diff --git a/typo3/sysext/backend/Classes/Tree/TreeRepresentationNode.php b/typo3/sysext/backend/Classes/Tree/TreeRepresentationNode.php index 53a80a8d1428..667392fdebc6 100644 --- a/typo3/sysext/backend/Classes/Tree/TreeRepresentationNode.php +++ b/typo3/sysext/backend/Classes/Tree/TreeRepresentationNode.php @@ -57,7 +57,6 @@ class TreeRepresentationNode extends \TYPO3\CMS\Backend\Tree\TreeNode /** * @param string $class - * @return void */ public function setClass($class) { @@ -74,7 +73,6 @@ class TreeRepresentationNode extends \TYPO3\CMS\Backend\Tree\TreeNode /** * @param string|Icon $icon - * @return void */ public function setIcon($icon) { @@ -107,7 +105,6 @@ class TreeRepresentationNode extends \TYPO3\CMS\Backend\Tree\TreeNode /** * @param string $type - * @return void */ public function setType($type) { @@ -126,7 +123,6 @@ class TreeRepresentationNode extends \TYPO3\CMS\Backend\Tree\TreeNode * Sets the callback action * * @param string $callbackAction - * @return void */ public function setCallbackAction($callbackAction) { @@ -166,7 +162,6 @@ class TreeRepresentationNode extends \TYPO3\CMS\Backend\Tree\TreeNode * Sets data of the node by a given data array * * @param array $data - * @return void */ public function dataFromArray($data) { diff --git a/typo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php b/typo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php index 7d7a8b3d16ee..15d0d00509a4 100644 --- a/typo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php +++ b/typo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php @@ -313,7 +313,6 @@ abstract class AbstractTreeView * * @param string $clause Record WHERE clause * @param string $orderByFields Record ORDER BY field - * @return void */ public function init($clause = '', $orderByFields = '') { @@ -342,7 +341,6 @@ abstract class AbstractTreeView * * @param string $field Field name to * @param bool $noCheck If set, the fieldname will be set no matter what. Otherwise the field name must either be found as key in $GLOBALS['TCA'][$table]['columns'] or in the list ->defaultList - * @return void */ public function addField($field, $noCheck = false) { @@ -353,8 +351,6 @@ abstract class AbstractTreeView /** * Resets the tree, recs, ids, ids_hierarchy and orig_ids_hierarchy internal variables. Use it if you need it. - * - * @return void */ public function reset() { @@ -620,7 +616,6 @@ abstract class AbstractTreeView /** * Get stored tree structure AND updating it if needed according to incoming PM GET var. * - * @return void * @access private */ public function initializePositionSaving() @@ -650,7 +645,6 @@ abstract class AbstractTreeView * Saves the content of ->stored (keeps track of expanded positions in the tree) * $this->treeName will be used as key for BE_USER->uc[] to store it in * - * @return void * @access private */ public function savePosition() @@ -997,7 +991,6 @@ abstract class AbstractTreeView * Getting the tree data: frees data handle * * @param mixed $res Data handle - * @return void * @access private */ public function getDataFree(&$res) @@ -1017,7 +1010,6 @@ abstract class AbstractTreeView * @param array $dataArr The input array, see examples below in this script. * @param bool $traverse Internal, for recursion. * @param int $pid Internal, for recursion. - * @return void */ public function setDataFromArray(&$dataArr, $traverse = false, $pid = 0) { @@ -1043,7 +1035,6 @@ abstract class AbstractTreeView * * @param array $treeArr Content for $this->data * @param array $treeLookupArr Content for $this->dataLookup - * @return void */ public function setDataFromTreeArray(&$treeArr, &$treeLookupArr) { diff --git a/typo3/sysext/backend/Classes/Tree/View/BrowseTreeView.php b/typo3/sysext/backend/Classes/Tree/View/BrowseTreeView.php index 9e5068f4b7e3..a6298979e7f0 100644 --- a/typo3/sysext/backend/Classes/Tree/View/BrowseTreeView.php +++ b/typo3/sysext/backend/Classes/Tree/View/BrowseTreeView.php @@ -77,7 +77,6 @@ class BrowseTreeView extends AbstractTreeView * * @param string $clause Additional clause for selecting pages. * @param string $orderByFields record ORDER BY field - * @return void */ public function init($clause = '', $orderByFields = '') { diff --git a/typo3/sysext/backend/Classes/Tree/View/ElementBrowserFolderTreeView.php b/typo3/sysext/backend/Classes/Tree/View/ElementBrowserFolderTreeView.php index 75e3b6c8d0bb..37963cd187fe 100644 --- a/typo3/sysext/backend/Classes/Tree/View/ElementBrowserFolderTreeView.php +++ b/typo3/sysext/backend/Classes/Tree/View/ElementBrowserFolderTreeView.php @@ -40,8 +40,6 @@ class ElementBrowserFolderTreeView extends FolderTreeView /** * @param LinkParameterProviderInterface $linkParameterProvider - * - * @return void */ public function setLinkParameterProvider(LinkParameterProviderInterface $linkParameterProvider) { diff --git a/typo3/sysext/backend/Classes/Tree/View/ElementBrowserPageTreeView.php b/typo3/sysext/backend/Classes/Tree/View/ElementBrowserPageTreeView.php index ff54f52338c3..dc6fe6fb7212 100644 --- a/typo3/sysext/backend/Classes/Tree/View/ElementBrowserPageTreeView.php +++ b/typo3/sysext/backend/Classes/Tree/View/ElementBrowserPageTreeView.php @@ -56,8 +56,6 @@ class ElementBrowserPageTreeView extends BrowseTreeView /** * @param LinkParameterProviderInterface $linkParameterProvider - * - * @return void */ public function setLinkParameterProvider(LinkParameterProviderInterface $linkParameterProvider) { diff --git a/typo3/sysext/backend/Classes/Tree/View/FolderTreeView.php b/typo3/sysext/backend/Classes/Tree/View/FolderTreeView.php index 8b01790a9e3c..9468de8122ed 100644 --- a/typo3/sysext/backend/Classes/Tree/View/FolderTreeView.php +++ b/typo3/sysext/backend/Classes/Tree/View/FolderTreeView.php @@ -286,7 +286,6 @@ class FolderTreeView extends AbstractTreeView * Get a tree for one storage * * @param ResourceStorage $storageObject - * @return void */ public function getBrowseableTreeForStorage(ResourceStorage $storageObject) { @@ -590,7 +589,6 @@ class FolderTreeView extends AbstractTreeView /** * Get stored tree structure AND updating it if needed according to incoming PM GET var. * - * @return void * @access private */ public function initializePositionSaving() diff --git a/typo3/sysext/backend/Classes/Tree/View/PageTreeView.php b/typo3/sysext/backend/Classes/Tree/View/PageTreeView.php index 335208615e99..35e4a504b835 100644 --- a/typo3/sysext/backend/Classes/Tree/View/PageTreeView.php +++ b/typo3/sysext/backend/Classes/Tree/View/PageTreeView.php @@ -67,7 +67,6 @@ class PageTreeView extends AbstractTreeView * * @param string $clause Part of where query which will filter out non-readable pages. * @param string $orderByFields Record ORDER BY field - * @return void */ public function init($clause = '', $orderByFields = '') { @@ -107,7 +106,6 @@ class PageTreeView extends AbstractTreeView * Get stored tree structure AND updating it if needed according to incoming PM GET var. * - Here we just set it to nothing since we want to just render the tree, nothing more. * - * @return void * @access private */ public function initializePositionSaving() diff --git a/typo3/sysext/backend/Classes/Utility/BackendUtility.php b/typo3/sysext/backend/Classes/Utility/BackendUtility.php index 26ac94960abd..eaf10a9d9409 100644 --- a/typo3/sysext/backend/Classes/Utility/BackendUtility.php +++ b/typo3/sysext/backend/Classes/Utility/BackendUtility.php @@ -565,7 +565,6 @@ class BackendUtility * * @param int $pid Page id. * @param bool $clearExpansion If set, then other open branches are closed. - * @return void */ public static function openPageTree($pid, $clearExpansion) { @@ -1136,7 +1135,6 @@ class BackendUtility * @param string $hash 32 bit hash string (eg. a md5 hash of a serialized array identifying the data being stored) * @param mixed $data The data to store * @param string $ident $ident is just a textual identification in order to inform about the content! - * @return void */ public static function storeHash($hash, $data, $ident) { @@ -3457,7 +3455,6 @@ class BackendUtility * * @param string $set Key to set the update signal. When setting, this value contains strings telling WHAT to set. At this point it seems that the value "updatePageTree" is the only one it makes sense to set. If empty, all update signals will be removed. * @param mixed $params Additional information for the update signal, used to only refresh a branch of the tree - * @return void * @see BackendUtility::getUpdateSignalCode() */ public static function setUpdateSignal($set = '', $params = '') @@ -3701,7 +3698,6 @@ class BackendUtility * @param string $table Table name * @param int $uid Record uid * @param int $pid Record pid - * @return void * @internal */ public static function lockRecords($table = '', $uid = 0, $pid = 0) @@ -4403,7 +4399,6 @@ class BackendUtility * @param string $table Table name * @param array $rr Record array passed by reference. As minimum, "pid" and "uid" fields must exist! "t3ver_oid" and "t3ver_wsid" is nice and will save you a DB query. * @param bool $ignoreWorkspaceMatch Ignore workspace match - * @return void * @see PageRepository::fixVersioningPid() */ public static function fixVersioningPid($table, &$rr, $ignoreWorkspaceMatch = false) @@ -4466,7 +4461,6 @@ class BackendUtility * @param array $row Record array passed by reference. As minimum, the "uid" and "pid" fields must exist! Fake fields cannot exist since the fields in the array is used as field names in the SQL look up. It would be nice to have fields like "t3ver_state" and "t3ver_mode_id" as well to avoid a new lookup inside movePlhOL(). * @param int $wsid Workspace ID, if not specified will use static::getBackendUserAuthentication()->workspace * @param bool $unsetMovePointers If TRUE the function does not return a "pointer" row for moved records in a workspace - * @return void * @see fixVersioningPid() */ public static function workspaceOL($table, &$row, $wsid = -99, $unsetMovePointers = false) diff --git a/typo3/sysext/backend/Classes/View/BackendLayout/DataProviderInterface.php b/typo3/sysext/backend/Classes/View/BackendLayout/DataProviderInterface.php index 3a2f23b46762..8839d98e5d73 100644 --- a/typo3/sysext/backend/Classes/View/BackendLayout/DataProviderInterface.php +++ b/typo3/sysext/backend/Classes/View/BackendLayout/DataProviderInterface.php @@ -25,7 +25,6 @@ interface DataProviderInterface * * @param DataProviderContext $dataProviderContext * @param BackendLayoutCollection $backendLayoutCollection - * @return void */ public function addBackendLayouts(DataProviderContext $dataProviderContext, BackendLayoutCollection $backendLayoutCollection); diff --git a/typo3/sysext/backend/Classes/View/BackendLayout/DefaultDataProvider.php b/typo3/sysext/backend/Classes/View/BackendLayout/DefaultDataProvider.php index 0083b7dc3f8a..45e6d4b25251 100644 --- a/typo3/sysext/backend/Classes/View/BackendLayout/DefaultDataProvider.php +++ b/typo3/sysext/backend/Classes/View/BackendLayout/DefaultDataProvider.php @@ -37,7 +37,6 @@ class DefaultDataProvider implements DataProviderInterface * * @param DataProviderContext $dataProviderContext * @param BackendLayoutCollection $backendLayoutCollection - * @return void */ public function addBackendLayouts( DataProviderContext $dataProviderContext, diff --git a/typo3/sysext/backend/Classes/View/BackendLayoutView.php b/typo3/sysext/backend/Classes/View/BackendLayoutView.php index 349af7d99f00..ddcef7eaa665 100644 --- a/typo3/sysext/backend/Classes/View/BackendLayoutView.php +++ b/typo3/sysext/backend/Classes/View/BackendLayoutView.php @@ -49,8 +49,6 @@ class BackendLayoutView implements \TYPO3\CMS\Core\SingletonInterface /** * Initializes data providers - * - * @return void */ protected function initializeDataProviderCollection() { @@ -240,7 +238,6 @@ class BackendLayoutView implements \TYPO3\CMS\Core\SingletonInterface * for tt_content.colPos. * * @param array $parameters - * @return void */ public function colPosListItemProcFunc(array $parameters) { diff --git a/typo3/sysext/backend/Classes/View/BackendTemplateView.php b/typo3/sysext/backend/Classes/View/BackendTemplateView.php index 17c42a4b33bc..c715627b8916 100644 --- a/typo3/sysext/backend/Classes/View/BackendTemplateView.php +++ b/typo3/sysext/backend/Classes/View/BackendTemplateView.php @@ -82,7 +82,6 @@ class BackendTemplateView implements ViewInterface * Sets the current controller context * * @param \TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext Controller context which is available inside the view - * @return void * @api */ public function setControllerContext(\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext) @@ -142,7 +141,6 @@ class BackendTemplateView implements ViewInterface * Set the root path(s) to the templates. * * @param array $templateRootPaths Root path(s) to the templates. - * @return void * @api */ public function setTemplateRootPaths(array $templateRootPaths) @@ -154,7 +152,6 @@ class BackendTemplateView implements ViewInterface * Set the root path(s) to the partials. * * @param array $partialRootPaths Root paths to the partials. - * @return void * @api */ public function setPartialRootPaths(array $partialRootPaths) @@ -166,7 +163,6 @@ class BackendTemplateView implements ViewInterface * Set the root path(s) to the layouts. * * @param array $layoutRootPaths Root path to the layouts. - * @return void * @api */ public function setLayoutRootPaths(array $layoutRootPaths) diff --git a/typo3/sysext/backend/Classes/View/PageLayoutView.php b/typo3/sysext/backend/Classes/View/PageLayoutView.php index d79042242312..77bafe25ee13 100644 --- a/typo3/sysext/backend/Classes/View/PageLayoutView.php +++ b/typo3/sysext/backend/Classes/View/PageLayoutView.php @@ -2239,7 +2239,6 @@ class PageLayoutView extends \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRe /** * Initializes the clipboard for generating paste links * - * @return void * * @see \TYPO3\CMS\Recordlist\RecordList::main() * @see \TYPO3\CMS\Backend\Controller\ContextMenuController::clipboardAction() @@ -2267,7 +2266,6 @@ class PageLayoutView extends \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRe * Generates the data for previous and next elements which is needed for movements. * * @param array $rowArray - * @return void */ protected function generateTtContentDataArray(array $rowArray) { @@ -2371,7 +2369,6 @@ class PageLayoutView extends \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRe * @param string $fieldList Comma separated list of fields. * @param array $row Record from which to take values for processing. * @param array $info Array to which the processed values are added. - * @return void */ public function getProcessedValue($table, $fieldList, array $row, array &$info) { diff --git a/typo3/sysext/backend/Classes/View/PageLayoutViewDrawFooterHookInterface.php b/typo3/sysext/backend/Classes/View/PageLayoutViewDrawFooterHookInterface.php index ca249305e80c..2257922eefe7 100644 --- a/typo3/sysext/backend/Classes/View/PageLayoutViewDrawFooterHookInterface.php +++ b/typo3/sysext/backend/Classes/View/PageLayoutViewDrawFooterHookInterface.php @@ -17,7 +17,6 @@ namespace TYPO3\CMS\Backend\View; /** * Interface for classes which hook into PageLayoutView and do additional * tt_content_drawFooter processing. - * */ interface PageLayoutViewDrawFooterHookInterface { @@ -27,7 +26,6 @@ interface PageLayoutViewDrawFooterHookInterface * @param \TYPO3\CMS\Backend\View\PageLayoutView $parentObject Calling parent object * @param string $info Processed values * @param array $row Record row of tt_content - * @return void */ public function preProcess(\TYPO3\CMS\Backend\View\PageLayoutView &$parentObject, &$info, array &$row); } diff --git a/typo3/sysext/backend/Classes/View/PageLayoutViewDrawItemHookInterface.php b/typo3/sysext/backend/Classes/View/PageLayoutViewDrawItemHookInterface.php index 1a715761f88a..45c2c60c3dc8 100644 --- a/typo3/sysext/backend/Classes/View/PageLayoutViewDrawItemHookInterface.php +++ b/typo3/sysext/backend/Classes/View/PageLayoutViewDrawItemHookInterface.php @@ -28,7 +28,6 @@ interface PageLayoutViewDrawItemHookInterface * @param string $headerContent Header content * @param string $itemContent Item content * @param array $row Record row of tt_content - * @return void */ public function preProcess(\TYPO3\CMS\Backend\View\PageLayoutView &$parentObject, &$drawItem, &$headerContent, &$itemContent, array &$row); } diff --git a/typo3/sysext/backend/Classes/Wizard/NewContentElementWizardHookInterface.php b/typo3/sysext/backend/Classes/Wizard/NewContentElementWizardHookInterface.php index 325837859f99..da4769f24c9a 100644 --- a/typo3/sysext/backend/Classes/Wizard/NewContentElementWizardHookInterface.php +++ b/typo3/sysext/backend/Classes/Wizard/NewContentElementWizardHookInterface.php @@ -25,7 +25,6 @@ interface NewContentElementWizardHookInterface * * @param array $wizardItems Array of Wizard Items * @param \TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController $parentObject Parent object New Content element wizard - * @return void */ public function manipulateWizardItems(&$wizardItems, &$parentObject); } diff --git a/typo3/sysext/backend/Tests/Functional/Controller/Page/LocalizationControllerTest.php b/typo3/sysext/backend/Tests/Functional/Controller/Page/LocalizationControllerTest.php index 5f5979935d2c..bd0a31fefa5a 100644 --- a/typo3/sysext/backend/Tests/Functional/Controller/Page/LocalizationControllerTest.php +++ b/typo3/sysext/backend/Tests/Functional/Controller/Page/LocalizationControllerTest.php @@ -31,8 +31,6 @@ class LocalizationControllerTest extends \TYPO3\TestingFramework\Core\Functional /** * Sets up this test case. - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/backend/Tests/Functional/Domain/Repository/Localization/LocalizationRepositoryTest.php b/typo3/sysext/backend/Tests/Functional/Domain/Repository/Localization/LocalizationRepositoryTest.php index 92a504a84d6b..70d42be6e26e 100644 --- a/typo3/sysext/backend/Tests/Functional/Domain/Repository/Localization/LocalizationRepositoryTest.php +++ b/typo3/sysext/backend/Tests/Functional/Domain/Repository/Localization/LocalizationRepositoryTest.php @@ -29,8 +29,6 @@ class LocalizationRepositoryTest extends \TYPO3\TestingFramework\Core\Functional /** * Sets up this test case. - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/backend/Tests/Functional/Utility/BackendUtilityTest.php b/typo3/sysext/backend/Tests/Functional/Utility/BackendUtilityTest.php index 6d0b903dc1cf..2a7caed33c0c 100644 --- a/typo3/sysext/backend/Tests/Functional/Utility/BackendUtilityTest.php +++ b/typo3/sysext/backend/Tests/Functional/Utility/BackendUtilityTest.php @@ -25,8 +25,6 @@ class BackendUtilityTest extends \TYPO3\TestingFramework\Core\Functional\Functio { /** * Sets up this test case. - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/backend/Tests/Unit/Template/Components/Button/FullyRenderedButtonTest.php b/typo3/sysext/backend/Tests/Unit/Template/Components/Button/FullyRenderedButtonTest.php index cfd5b5f9dbe5..68e0d2b72c54 100644 --- a/typo3/sysext/backend/Tests/Unit/Template/Components/Button/FullyRenderedButtonTest.php +++ b/typo3/sysext/backend/Tests/Unit/Template/Components/Button/FullyRenderedButtonTest.php @@ -25,7 +25,6 @@ class FullyRenderedButtonTest extends \TYPO3\TestingFramework\Core\Unit\UnitTest * Try to valide an empty button * * @test - * @return void */ public function isButtonValidBlankCallExpectFalse() { @@ -38,7 +37,6 @@ class FullyRenderedButtonTest extends \TYPO3\TestingFramework\Core\Unit\UnitTest * Tests a valid HTML Button * * @test - * @return void */ public function isButtonValidHtmlSourceGivenExpectTrue() { diff --git a/typo3/sysext/backend/Tests/Unit/Template/Components/Button/InputButtonTest.php b/typo3/sysext/backend/Tests/Unit/Template/Components/Button/InputButtonTest.php index 3a79bda4c2dc..365fe4b69f0d 100644 --- a/typo3/sysext/backend/Tests/Unit/Template/Components/Button/InputButtonTest.php +++ b/typo3/sysext/backend/Tests/Unit/Template/Components/Button/InputButtonTest.php @@ -26,7 +26,6 @@ class InputButtonTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Try to validate an empty button * * @test - * @return void */ public function isButtonValidBlankCallExpectFalse() { @@ -39,7 +38,6 @@ class InputButtonTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Omit the Icon * * @test - * @return void */ public function isButtonValidOmittedIconExpectFalse() { @@ -53,7 +51,6 @@ class InputButtonTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Omit the title * * @test - * @return void */ public function isButtonValidOmittedTitleExpectFalse() { @@ -68,7 +65,6 @@ class InputButtonTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Omit the name * * @test - * @return void */ public function isButtonValidOmittedNameExpectFalse() { @@ -83,7 +79,6 @@ class InputButtonTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Omit the Value * * @test - * @return void */ public function isButtonValidOmittedValueExpectFalse() { @@ -98,7 +93,6 @@ class InputButtonTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Set a 100% valid button * * @test - * @return void */ public function isButtonValidAllValuesSetExpectTrue() { diff --git a/typo3/sysext/backend/Tests/Unit/Template/Components/Button/LinkButtonTest.php b/typo3/sysext/backend/Tests/Unit/Template/Components/Button/LinkButtonTest.php index 23d111321147..ef7200c8a939 100644 --- a/typo3/sysext/backend/Tests/Unit/Template/Components/Button/LinkButtonTest.php +++ b/typo3/sysext/backend/Tests/Unit/Template/Components/Button/LinkButtonTest.php @@ -26,7 +26,6 @@ class LinkButtonTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Try validating an empty button * * @test - * @return void */ public function isButtonValidBlankCallExpectFalse() { @@ -39,7 +38,6 @@ class LinkButtonTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Omit the Icon * * @test - * @return void */ public function isButtonValidOmittedIconExpectFalse() { @@ -53,7 +51,6 @@ class LinkButtonTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Omit the title * * @test - * @return void */ public function isButtonValidOmittedTitleExpectFalse() { @@ -68,7 +65,6 @@ class LinkButtonTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Omit Href * * @test - * @return void */ public function isButtonValidOmittedHrefExpectFalse() { @@ -83,7 +79,6 @@ class LinkButtonTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Send a valid button * * @test - * @return void */ public function isButtonValidAllValuesSetExpectTrue() { diff --git a/typo3/sysext/backend/Tests/Unit/Template/Components/Button/SplitButtonTest.php b/typo3/sysext/backend/Tests/Unit/Template/Components/Button/SplitButtonTest.php index 93ae339a0d9e..c922a6c366c9 100644 --- a/typo3/sysext/backend/Tests/Unit/Template/Components/Button/SplitButtonTest.php +++ b/typo3/sysext/backend/Tests/Unit/Template/Components/Button/SplitButtonTest.php @@ -27,7 +27,6 @@ class SplitButtonTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Try to validate an empty button * * @test - * @return void */ public function isButtonValidBlankCallExpectFalse() { @@ -40,7 +39,6 @@ class SplitButtonTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Try adding an invalid button to a splitButton * * @test - * @return void */ public function isButtonValidInvalidButtonGivenExpectFalse() { @@ -59,7 +57,6 @@ class SplitButtonTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Try to add multiple primary actions * * @test - * @return void */ public function isButtonValidBrokenSetupMultiplePrimaryActionsGivenExpectFalse() { @@ -84,7 +81,6 @@ class SplitButtonTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Try to add an invalid button as second parameter * * @test - * @return void */ public function isButtonValidBrokenSetupInvalidButtonAsSecondParametersGivenExpectFalse() { @@ -109,7 +105,6 @@ class SplitButtonTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Send in a valid button * * @test - * @return void */ public function isButtonValidValidSetupExpectTrue() { diff --git a/typo3/sysext/backend/Tests/Unit/Template/Components/Menu/MenuItemTest.php b/typo3/sysext/backend/Tests/Unit/Template/Components/Menu/MenuItemTest.php index 81bf400e76f0..358bb4daa5c5 100644 --- a/typo3/sysext/backend/Tests/Unit/Template/Components/Menu/MenuItemTest.php +++ b/typo3/sysext/backend/Tests/Unit/Template/Components/Menu/MenuItemTest.php @@ -25,7 +25,6 @@ class MenuItemTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Try a blank menu Item * * @test - * @return void */ public function isMenuItemValidBlankCallExpectFalse() { @@ -38,7 +37,6 @@ class MenuItemTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Try omitting the title and a Href * * @test - * @return void */ public function isMenuItemValidOmittedHrefAndRouteExpectFalse() { @@ -52,7 +50,6 @@ class MenuItemTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Try omitting the title * * @test - * @return void */ public function isMenuItemValidOmittedTitleExpectFalse() { @@ -66,7 +63,6 @@ class MenuItemTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Set a valid title and href * * @test - * @return void */ public function isMenuItemValidSetValidHrefAndTitleExpectTrue() { diff --git a/typo3/sysext/backend/Tests/Unit/Template/Components/MenuTest.php b/typo3/sysext/backend/Tests/Unit/Template/Components/MenuTest.php index d3425dd2b08f..7da3c26b21e6 100644 --- a/typo3/sysext/backend/Tests/Unit/Template/Components/MenuTest.php +++ b/typo3/sysext/backend/Tests/Unit/Template/Components/MenuTest.php @@ -26,7 +26,6 @@ class MenuTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Try setting an empty menu * * @test - * @return void */ public function isMenuValidBlankCallExpectFalse() { @@ -39,7 +38,6 @@ class MenuTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Set a valid menu * * @test - * @return void */ public function isMenuValidValidMenuWithDefaultsExpectTrue() { @@ -53,7 +51,6 @@ class MenuTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Set a valid menu * * @test - * @return void */ public function makeMenuAllGoodExpectTrue() { @@ -69,7 +66,6 @@ class MenuTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * Tests if empty menus get removed from the stack * * @test - * @return void */ public function getMenusremovedEmptyMenusExpectsEquals() { diff --git a/typo3/sysext/belog/Classes/Controller/AbstractController.php b/typo3/sysext/belog/Classes/Controller/AbstractController.php index c35405057c73..8e21899e60e4 100644 --- a/typo3/sysext/belog/Classes/Controller/AbstractController.php +++ b/typo3/sysext/belog/Classes/Controller/AbstractController.php @@ -94,7 +94,6 @@ abstract class AbstractController extends ActionController * Initialize the view * * @param ViewInterface $view The view - * @return void */ protected function initializeView(ViewInterface $view) { @@ -107,7 +106,6 @@ abstract class AbstractController extends ActionController /** * init all actions - * @return void */ public function initializeAction() { @@ -119,7 +117,6 @@ abstract class AbstractController extends ActionController /** * Initialize index action * - * @return void * @throws \RuntimeException */ public function initializeIndexAction() @@ -147,7 +144,6 @@ abstract class AbstractController extends ActionController * Show general information and the installed modules * * @param \TYPO3\CMS\Belog\Domain\Model\Constraint $constraint - * @return void */ public function indexAction(\TYPO3\CMS\Belog\Domain\Model\Constraint $constraint = null) { @@ -188,7 +184,6 @@ abstract class AbstractController extends ActionController * Save current constraint object in be user settings (uC) * * @param \TYPO3\CMS\Belog\Domain\Model\Constraint $constraint - * @return void */ protected function persistConstraintInBeUserData(\TYPO3\CMS\Belog\Domain\Model\Constraint $constraint) { @@ -290,7 +285,6 @@ abstract class AbstractController extends ActionController * and the workspace selector is not shown. * * @param \TYPO3\CMS\Belog\Domain\Model\Constraint $constraint - * @return void */ protected function forceWorkspaceSelectionIfInWorkspace(\TYPO3\CMS\Belog\Domain\Model\Constraint $constraint) { @@ -325,7 +319,6 @@ abstract class AbstractController extends ActionController * Calculate the start- and end timestamp from the different time selector options * * @param \TYPO3\CMS\Belog\Domain\Model\Constraint $constraint - * @return void */ protected function setStartAndEndTimeFromTimeSelector(\TYPO3\CMS\Belog\Domain\Model\Constraint $constraint) { diff --git a/typo3/sysext/belog/Classes/Controller/WebInfoController.php b/typo3/sysext/belog/Classes/Controller/WebInfoController.php index 54675cc74d0e..c0085d0560fd 100644 --- a/typo3/sysext/belog/Classes/Controller/WebInfoController.php +++ b/typo3/sysext/belog/Classes/Controller/WebInfoController.php @@ -21,8 +21,6 @@ class WebInfoController extends \TYPO3\CMS\Belog\Controller\AbstractController { /** * Set context to 'in page mode' - * - * @return void */ public function initializeAction() { diff --git a/typo3/sysext/belog/Classes/Domain/Model/Constraint.php b/typo3/sysext/belog/Classes/Domain/Model/Constraint.php index 64073afdb8c6..de629c169134 100644 --- a/typo3/sysext/belog/Classes/Domain/Model/Constraint.php +++ b/typo3/sysext/belog/Classes/Domain/Model/Constraint.php @@ -130,7 +130,6 @@ class Constraint extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set user * * @param string $user - * @return void */ public function setUserOrGroup($user) { @@ -151,7 +150,6 @@ class Constraint extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set number of log rows to show * * @param int $number - * @return void */ public function setNumber($number) { @@ -172,7 +170,6 @@ class Constraint extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set workspace * * @param string $workspace - * @return void */ public function setWorkspaceUid($workspace) { @@ -193,7 +190,6 @@ class Constraint extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set time frame * * @param int $timeFrame - * @return void */ public function setTimeFrame($timeFrame) { @@ -214,7 +210,6 @@ class Constraint extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set action * * @param int $action - * @return void */ public function setAction($action) { @@ -235,7 +230,6 @@ class Constraint extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set group by page * * @param bool $groupByPage - * @return void */ public function setGroupByPage($groupByPage) { @@ -256,7 +250,6 @@ class Constraint extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set calculated start timestamp from query constraints * * @param int $timestamp - * @return void */ public function setStartTimestamp($timestamp) { @@ -277,7 +270,6 @@ class Constraint extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set calculated end timestamp from query constraints * * @param int $timestamp - * @return void */ public function setEndTimestamp($timestamp) { @@ -298,7 +290,6 @@ class Constraint extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set page context * * @param bool $pageContext - * @return void */ public function setIsInPageContext($pageContext) { @@ -319,7 +310,6 @@ class Constraint extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set page id * * @param int $id - * @return void */ public function setPageId($id) { @@ -340,7 +330,6 @@ class Constraint extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set page level depth * * @param int $depth - * @return void */ public function setDepth($depth) { @@ -361,7 +350,6 @@ class Constraint extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set manual date start * * @param \DateTime $manualDateStart - * @return void */ public function setManualDateStart(\DateTime $manualDateStart = null) { @@ -382,7 +370,6 @@ class Constraint extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set manual date stop * * @param \DateTime $manualDateStop - * @return void */ public function setManualDateStop(\DateTime $manualDateStop = null) { diff --git a/typo3/sysext/belog/Classes/Domain/Model/HistoryEntry.php b/typo3/sysext/belog/Classes/Domain/Model/HistoryEntry.php index 3c7c808b1aff..348901cba7cc 100644 --- a/typo3/sysext/belog/Classes/Domain/Model/HistoryEntry.php +++ b/typo3/sysext/belog/Classes/Domain/Model/HistoryEntry.php @@ -30,7 +30,6 @@ class HistoryEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set list of changed fields * * @param string $fieldlist - * @return void */ public function setFieldlist($fieldlist) { diff --git a/typo3/sysext/belog/Classes/Domain/Model/LogEntry.php b/typo3/sysext/belog/Classes/Domain/Model/LogEntry.php index ed1d17ee0d4e..ab1ea1e2988f 100644 --- a/typo3/sysext/belog/Classes/Domain/Model/LogEntry.php +++ b/typo3/sysext/belog/Classes/Domain/Model/LogEntry.php @@ -142,7 +142,6 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set pid * * @param int $pid - * @return void */ public function setPid($pid) { @@ -163,7 +162,6 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set backend user uid * * @param int $beUserUid - * @return void */ public function setBackendUserUid($beUserUid) { @@ -184,7 +182,6 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set action * * @param int $action - * @return void */ public function setAction($action) { @@ -205,7 +202,6 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set record uid * * @param int $recordUid - * @return void */ public function setRecordUid($recordUid) { @@ -226,7 +222,6 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set table name * * @param string $tableName - * @return void */ public function setTableName($tableName) { @@ -247,7 +242,6 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set record pid * * @param int $recordPid - * @return void */ public function setRecordPid($recordPid) { @@ -268,7 +262,6 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set error * * @param int $error - * @return void */ public function setError($error) { @@ -289,7 +282,6 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set details * * @param string $details - * @return void */ public function setDetails($details) { @@ -310,7 +302,6 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set tstamp * * @param int $tstamp - * @return void */ public function setTstamp($tstamp) { @@ -331,7 +322,6 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set type * * @param int $type - * @return void */ public function setType($type) { @@ -352,7 +342,6 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set details number * * @param int $detailsNumber - * @return void */ public function setDetailsNumber($detailsNumber) { @@ -373,7 +362,6 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set ip * * @param string $ip - * @return void */ public function setIp($ip) { @@ -394,7 +382,6 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set log data * * @param string $logData - * @return void */ public function setLogData($logData) { @@ -422,7 +409,6 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set event pid * * @param int $eventPid - * @return void */ public function setEventPid($eventPid) { @@ -443,7 +429,6 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set workspace uid * * @param int $workspaceUid - * @return void */ public function setWorkspaceUid($workspaceUid) { @@ -464,7 +449,6 @@ class LogEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set new id * * @param string $newId - * @return void */ public function setNewId($newId) { diff --git a/typo3/sysext/belog/Classes/Domain/Model/Workspace.php b/typo3/sysext/belog/Classes/Domain/Model/Workspace.php index a688a7a34b7a..4e6075666a11 100644 --- a/typo3/sysext/belog/Classes/Domain/Model/Workspace.php +++ b/typo3/sysext/belog/Classes/Domain/Model/Workspace.php @@ -42,7 +42,6 @@ class Workspace extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set workspace title * * @param string $title - * @return void */ public function setTitle($title) { diff --git a/typo3/sysext/belog/Classes/Domain/Repository/HistoryEntryRepository.php b/typo3/sysext/belog/Classes/Domain/Repository/HistoryEntryRepository.php index 437b821f9adc..d0764b9f1eae 100644 --- a/typo3/sysext/belog/Classes/Domain/Repository/HistoryEntryRepository.php +++ b/typo3/sysext/belog/Classes/Domain/Repository/HistoryEntryRepository.php @@ -21,8 +21,6 @@ class HistoryEntryRepository extends \TYPO3\CMS\Extbase\Persistence\Repository { /** * Initializes the repository. - * - * @return void */ public function initializeObject() { diff --git a/typo3/sysext/belog/Classes/Domain/Repository/LogEntryRepository.php b/typo3/sysext/belog/Classes/Domain/Repository/LogEntryRepository.php index bd8d1039849b..5aacb46e0bf8 100644 --- a/typo3/sysext/belog/Classes/Domain/Repository/LogEntryRepository.php +++ b/typo3/sysext/belog/Classes/Domain/Repository/LogEntryRepository.php @@ -31,8 +31,6 @@ class LogEntryRepository extends \TYPO3\CMS\Extbase\Persistence\Repository /** * Initialize some local variables to be used during creation of objects - * - * @return void */ public function initializeObject() { @@ -99,7 +97,6 @@ class LogEntryRepository extends \TYPO3\CMS\Extbase\Persistence\Repository * @param \TYPO3\CMS\Belog\Domain\Model\Constraint $constraint * @param \TYPO3\CMS\Extbase\Persistence\QueryInterface $query * @param array &$queryConstraints the query constraints to add to, will be modified - * @return void */ protected function addPageTreeConstraintsToQuery(\TYPO3\CMS\Belog\Domain\Model\Constraint $constraint, \TYPO3\CMS\Extbase\Persistence\QueryInterface $query, array &$queryConstraints) { @@ -127,7 +124,6 @@ class LogEntryRepository extends \TYPO3\CMS\Extbase\Persistence\Repository * @param \TYPO3\CMS\Belog\Domain\Model\Constraint $constraint * @param \TYPO3\CMS\Extbase\Persistence\QueryInterface $query * @param array &$queryConstraints the query constraints to add to, will be modified - * @return void */ protected function addUsersAndGroupsToQueryConstraints(\TYPO3\CMS\Belog\Domain\Model\Constraint $constraint, \TYPO3\CMS\Extbase\Persistence\QueryInterface $query, array &$queryConstraints) { diff --git a/typo3/sysext/belog/Classes/Domain/Repository/WorkspaceRepository.php b/typo3/sysext/belog/Classes/Domain/Repository/WorkspaceRepository.php index d0c514b965f8..7fa850e4b220 100644 --- a/typo3/sysext/belog/Classes/Domain/Repository/WorkspaceRepository.php +++ b/typo3/sysext/belog/Classes/Domain/Repository/WorkspaceRepository.php @@ -22,8 +22,6 @@ class WorkspaceRepository extends \TYPO3\CMS\Extbase\Persistence\Repository { /** * Initializes the repository. - * - * @return void */ public function initializeObject() { diff --git a/typo3/sysext/belog/Classes/Module/BackendLogModuleBootstrap.php b/typo3/sysext/belog/Classes/Module/BackendLogModuleBootstrap.php index f001ce81be80..13f366b8a02f 100644 --- a/typo3/sysext/belog/Classes/Module/BackendLogModuleBootstrap.php +++ b/typo3/sysext/belog/Classes/Module/BackendLogModuleBootstrap.php @@ -26,8 +26,6 @@ class BackendLogModuleBootstrap { /** * Dummy method, called by SCbase external object handling - * - * @return void */ public function init() { @@ -35,8 +33,6 @@ class BackendLogModuleBootstrap /** * Dummy method, called by SCbase external object handling - * - * @return void */ public function checkExtObj() { diff --git a/typo3/sysext/belog/Classes/ViewHelpers/Form/TranslateLabelSelectViewHelper.php b/typo3/sysext/belog/Classes/ViewHelpers/Form/TranslateLabelSelectViewHelper.php index d37c1082b43e..1a9e60b7ea05 100644 --- a/typo3/sysext/belog/Classes/ViewHelpers/Form/TranslateLabelSelectViewHelper.php +++ b/typo3/sysext/belog/Classes/ViewHelpers/Form/TranslateLabelSelectViewHelper.php @@ -29,7 +29,6 @@ class TranslateLabelSelectViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\S /** * Initialize arguments. * - * @return void * @api */ public function initializeArguments() diff --git a/typo3/sysext/belog/Tests/Unit/Domain/Model/ConstraintTest.php b/typo3/sysext/belog/Tests/Unit/Domain/Model/ConstraintTest.php index ae7d87d08d31..ff0edbb3deff 100644 --- a/typo3/sysext/belog/Tests/Unit/Domain/Model/ConstraintTest.php +++ b/typo3/sysext/belog/Tests/Unit/Domain/Model/ConstraintTest.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Belog\Tests\Unit\Domain\Model; /** * Test case - * */ class ConstraintTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { diff --git a/typo3/sysext/belog/Tests/Unit/Domain/Model/LogEntryTest.php b/typo3/sysext/belog/Tests/Unit/Domain/Model/LogEntryTest.php index fc00247a2537..590028438938 100644 --- a/typo3/sysext/belog/Tests/Unit/Domain/Model/LogEntryTest.php +++ b/typo3/sysext/belog/Tests/Unit/Domain/Model/LogEntryTest.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Belog\Tests\Unit\Domain\Model; /** * Test case - * */ class LogEntryTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { diff --git a/typo3/sysext/beuser/Classes/Controller/BackendUserActionController.php b/typo3/sysext/beuser/Classes/Controller/BackendUserActionController.php index eab02dcc2a19..cc24eb1b989b 100644 --- a/typo3/sysext/beuser/Classes/Controller/BackendUserActionController.php +++ b/typo3/sysext/beuser/Classes/Controller/BackendUserActionController.php @@ -48,7 +48,6 @@ class BackendUserActionController extends ActionController * Set up the doc header properly here * * @param ViewInterface $view - * @return void */ protected function initializeView(ViewInterface $view) { @@ -68,8 +67,6 @@ class BackendUserActionController extends ActionController /** * Generates the action menu - * - * @return void */ protected function generateMenu() { @@ -115,7 +112,6 @@ class BackendUserActionController extends ActionController /** * Registers the Icons into the docheader * - * @return void * @throws \InvalidArgumentException */ protected function registerDocheaderButtons() diff --git a/typo3/sysext/beuser/Classes/Controller/BackendUserController.php b/typo3/sysext/beuser/Classes/Controller/BackendUserController.php index e5b60dbe309b..56c1793d8e5c 100644 --- a/typo3/sysext/beuser/Classes/Controller/BackendUserController.php +++ b/typo3/sysext/beuser/Classes/Controller/BackendUserController.php @@ -89,7 +89,6 @@ class BackendUserController extends BackendUserActionController * * @param \TYPO3\CMS\Extbase\Mvc\RequestInterface $request * @param \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response - * @return void * @throws \TYPO3\CMS\Extbase\Mvc\Exception\StopActionException */ public function processRequest(\TYPO3\CMS\Extbase\Mvc\RequestInterface $request, \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response) @@ -108,7 +107,6 @@ class BackendUserController extends BackendUserActionController /** * Initialize actions * - * @return void * @throws \RuntimeException */ public function initializeAction() @@ -128,7 +126,6 @@ class BackendUserController extends BackendUserActionController * - Switch session to different user * * @param \TYPO3\CMS\Beuser\Domain\Model\Demand $demand - * @return void */ public function indexAction(\TYPO3\CMS\Beuser\Domain\Model\Demand $demand = null) { @@ -165,8 +162,6 @@ class BackendUserController extends BackendUserActionController /** * Views all currently logged in BackendUsers and their sessions - * - * @return void */ public function onlineAction() { @@ -186,8 +181,6 @@ class BackendUserController extends BackendUserActionController /** * Compare backend users from demand - * - * @return void */ public function compareAction() { @@ -201,7 +194,6 @@ class BackendUserController extends BackendUserActionController * Attaches one backend user to the compare list * * @param int $uid - * @return void */ public function addToCompareListAction($uid) { @@ -214,7 +206,6 @@ class BackendUserController extends BackendUserActionController * Removes given backend user to the compare list * * @param int $uid - * @return void */ public function removeFromCompareListAction($uid) { @@ -229,7 +220,6 @@ class BackendUserController extends BackendUserActionController * * @param \TYPO3\CMS\Beuser\Domain\Model\BackendUser $backendUser * @param string $sessionId - * @return void */ protected function terminateBackendUserSessionAction(\TYPO3\CMS\Beuser\Domain\Model\BackendUser $backendUser, $sessionId) { @@ -246,7 +236,6 @@ class BackendUserController extends BackendUserActionController * Switches to a given user (SU-mode) and then redirects to the start page of the backend to refresh the navigation etc. * * @param string $switchUser BE-user record that will be switched to - * @return void */ protected function switchUser($switchUser) { diff --git a/typo3/sysext/beuser/Classes/Controller/BackendUserGroupController.php b/typo3/sysext/beuser/Classes/Controller/BackendUserGroupController.php index 53107eaee1e9..41533932c494 100644 --- a/typo3/sysext/beuser/Classes/Controller/BackendUserGroupController.php +++ b/typo3/sysext/beuser/Classes/Controller/BackendUserGroupController.php @@ -37,7 +37,6 @@ class BackendUserGroupController extends BackendUserActionController /** * Initialize actions * - * @return void * @throws \RuntimeException */ public function initializeAction() @@ -54,8 +53,6 @@ class BackendUserGroupController extends BackendUserActionController /** * Displays all BackendUserGroups - * - * @return void */ public function indexAction() { diff --git a/typo3/sysext/beuser/Classes/Controller/PermissionController.php b/typo3/sysext/beuser/Classes/Controller/PermissionController.php index e731d9c42798..fae4de3ca3c8 100644 --- a/typo3/sysext/beuser/Classes/Controller/PermissionController.php +++ b/typo3/sysext/beuser/Classes/Controller/PermissionController.php @@ -84,8 +84,6 @@ class PermissionController extends ActionController /** * Initialize action - * - * @return void */ protected function initializeAction() { @@ -112,7 +110,6 @@ class PermissionController extends ActionController * Initializes view * * @param ViewInterface $view The view to be initialized - * @return void */ protected function initializeView(ViewInterface $view) { @@ -147,7 +144,6 @@ class PermissionController extends ActionController /** * Registers the Icons into the docheader * - * @return void * @throws \InvalidArgumentException */ protected function registerDocHeaderButtons() @@ -204,8 +200,6 @@ class PermissionController extends ActionController /** * Index action - * - * @return void */ public function indexAction() { @@ -271,8 +265,6 @@ class PermissionController extends ActionController /** * Edit action - * - * @return void */ public function editAction() { @@ -321,7 +313,6 @@ class PermissionController extends ActionController * * @param array $data * @param array $mirror - * @return void */ protected function updateAction(array $data, array $mirror) { diff --git a/typo3/sysext/beuser/Classes/Domain/Model/BackendUser.php b/typo3/sysext/beuser/Classes/Domain/Model/BackendUser.php index 758c5227f3c2..0ba5e6df56b2 100644 --- a/typo3/sysext/beuser/Classes/Domain/Model/BackendUser.php +++ b/typo3/sysext/beuser/Classes/Domain/Model/BackendUser.php @@ -49,7 +49,6 @@ class BackendUser extends \TYPO3\CMS\Extbase\Domain\Model\BackendUser /** * @param string $allowedLanguages - * @return void */ public function setAllowedLanguages($allowedLanguages) { @@ -66,7 +65,6 @@ class BackendUser extends \TYPO3\CMS\Extbase\Domain\Model\BackendUser /** * @param string $dbMountPoints - * @return void */ public function setDbMountPoints($dbMountPoints) { @@ -99,7 +97,6 @@ class BackendUser extends \TYPO3\CMS\Extbase\Domain\Model\BackendUser /** * @param string $fileMountPoints - * @return void */ public function setFileMountPoints($fileMountPoints) { diff --git a/typo3/sysext/beuser/Classes/Domain/Model/Demand.php b/typo3/sysext/beuser/Classes/Domain/Model/Demand.php index e0353993b861..24467ed9ecdd 100644 --- a/typo3/sysext/beuser/Classes/Domain/Model/Demand.php +++ b/typo3/sysext/beuser/Classes/Domain/Model/Demand.php @@ -74,7 +74,6 @@ class Demand extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $userName - * @return void */ public function setUserName($userName) { @@ -91,7 +90,6 @@ class Demand extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param int $userType - * @return void */ public function setUserType($userType) { @@ -108,7 +106,6 @@ class Demand extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param int $status - * @return void */ public function setStatus($status) { @@ -125,7 +122,6 @@ class Demand extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param int $logins - * @return void */ public function setLogins($logins) { diff --git a/typo3/sysext/beuser/Classes/Domain/Model/ModuleData.php b/typo3/sysext/beuser/Classes/Domain/Model/ModuleData.php index 4bc06230ad02..553880bdf9f0 100644 --- a/typo3/sysext/beuser/Classes/Domain/Model/ModuleData.php +++ b/typo3/sysext/beuser/Classes/Domain/Model/ModuleData.php @@ -47,7 +47,6 @@ class ModuleData /** * @param \TYPO3\CMS\Beuser\Domain\Model\Demand $demand - * @return void */ public function setDemand(\TYPO3\CMS\Beuser\Domain\Model\Demand $demand) { @@ -69,7 +68,6 @@ class ModuleData * Cannot be ObjectStorage, must be array * * @param int $uid - * @return void */ public function attachUidCompareUser($uid) { @@ -80,7 +78,6 @@ class ModuleData * Strip one backend user from the compare user list * * @param int $uid - * @return void */ public function detachUidCompareUser($uid) { diff --git a/typo3/sysext/beuser/Classes/Domain/Repository/BackendUserSessionRepository.php b/typo3/sysext/beuser/Classes/Domain/Repository/BackendUserSessionRepository.php index 9529c8060531..faae0ea8d525 100644 --- a/typo3/sysext/beuser/Classes/Domain/Repository/BackendUserSessionRepository.php +++ b/typo3/sysext/beuser/Classes/Domain/Repository/BackendUserSessionRepository.php @@ -79,7 +79,6 @@ class BackendUserSessionRepository extends Repository * Update current session to move back to the original user. * * @param AbstractUserAuthentication $authentication - * @return void */ public function switchBackToOriginalUser(AbstractUserAuthentication $authentication) { diff --git a/typo3/sysext/beuser/Classes/Hook/BackendControllerHook.php b/typo3/sysext/beuser/Classes/Hook/BackendControllerHook.php index fe1a63ed7ebc..1bad4ef7c04d 100644 --- a/typo3/sysext/beuser/Classes/Hook/BackendControllerHook.php +++ b/typo3/sysext/beuser/Classes/Hook/BackendControllerHook.php @@ -29,7 +29,6 @@ class BackendControllerHook * * @param array $configuration * @param BackendController $backendController - * @return void */ public function addJavaScript(array $configuration, BackendController $backendController) { diff --git a/typo3/sysext/beuser/Classes/Hook/SwitchBackUserHook.php b/typo3/sysext/beuser/Classes/Hook/SwitchBackUserHook.php index 55e267140c77..65678332c368 100644 --- a/typo3/sysext/beuser/Classes/Hook/SwitchBackUserHook.php +++ b/typo3/sysext/beuser/Classes/Hook/SwitchBackUserHook.php @@ -31,7 +31,6 @@ class SwitchBackUserHook * @param array $params * @param AbstractUserAuthentication $authentication * @see AbstractUserAuthentication - * @return void */ public function switchBack($params, AbstractUserAuthentication $authentication) { diff --git a/typo3/sysext/beuser/Classes/Service/ModuleDataStorageService.php b/typo3/sysext/beuser/Classes/Service/ModuleDataStorageService.php index f006f023f7e9..1e1caf634a22 100644 --- a/typo3/sysext/beuser/Classes/Service/ModuleDataStorageService.php +++ b/typo3/sysext/beuser/Classes/Service/ModuleDataStorageService.php @@ -58,7 +58,6 @@ class ModuleDataStorageService implements \TYPO3\CMS\Core\SingletonInterface * Persists serialized module data to user settings * * @param \TYPO3\CMS\Beuser\Domain\Model\ModuleData $moduleData - * @return void */ public function persistModuleData(\TYPO3\CMS\Beuser\Domain\Model\ModuleData $moduleData) { diff --git a/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php b/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php index d4376b7d7a74..dcbed6fbd112 100644 --- a/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php +++ b/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php @@ -368,7 +368,6 @@ abstract class AbstractUserAuthentication * If a user is authenticated the database record of the user (array) will be set in the ->user internal variable. * * @throws Exception - * @return void */ public function start() { @@ -469,7 +468,6 @@ abstract class AbstractUserAuthentication /** * Sets the session cookie for the current disposal. * - * @return void * @throws Exception */ protected function setSessionCookie() @@ -568,7 +566,6 @@ abstract class AbstractUserAuthentication * Checks if a submission of username and password is present or use other authentication by auth services * * @throws \RuntimeException - * @return void * @internal */ public function checkAuthentication() @@ -1016,8 +1013,6 @@ abstract class AbstractUserAuthentication * Log out current user! * Removes the current session record, sets the internal ->user array to a blank string; * Thereby the current user (if any) is effectively logged out! - * - * @return void */ public function logoff() { @@ -1049,8 +1044,6 @@ abstract class AbstractUserAuthentication * Perform the logoff action. Called from logoff() as a way to allow subclasses to override * what happens when a user logs off, without needing to reproduce the hook calls and logging * that happens in the public logoff() API method. - * - * @return void */ protected function performLogoff() { @@ -1064,7 +1057,6 @@ abstract class AbstractUserAuthentication * Empty / unset the cookie * * @param string $cookieName usually, this is $this->name - * @return void */ public function removeCookie($cookieName) { @@ -1220,7 +1212,6 @@ abstract class AbstractUserAuthentication * If $variable is not an array, $this->uc is saved! * * @param array|string $variable An array you want to store for the user as session data. If $variable is not supplied (is null), the internal variable, ->uc, is stored by default - * @return void */ public function writeUC($variable = '') { @@ -1248,7 +1239,6 @@ abstract class AbstractUserAuthentication * If $theUC is FALSE, the 'uc' content from the ->user array will be unserialized and restored in ->uc * * @param mixed $theUC If an array, then set as ->uc, otherwise load from user record - * @return void */ public function unpack_uc($theUC = '') { @@ -1268,7 +1258,6 @@ abstract class AbstractUserAuthentication * @param string $module Is the name of the module ($MCONF['name']) * @param mixed $data Is the data you want to store for that module (array, string, ...) * @param bool|int $noSave If $noSave is set, then the ->uc array (which carries all kinds of user data) is NOT written immediately, but must be written by some subsequent call. - * @return void */ public function pushModuleData($module, $data, $noSave = 0) { @@ -1312,7 +1301,6 @@ abstract class AbstractUserAuthentication * * @param string $key A non empty string to store the data under * @param mixed $data Data store store in session - * @return void */ public function setSessionData($key, $data) { @@ -1328,7 +1316,6 @@ abstract class AbstractUserAuthentication * * @param string $key Pointer to an associative key in the session data array which is stored serialized in the field "ses_data" of the session table. * @param mixed $data The data to store in index $key - * @return void */ public function setAndSaveSessionData($key, $data) { @@ -1475,7 +1462,6 @@ abstract class AbstractUserAuthentication /** * Garbage collector, removing old expired sessions. * - * @return void * @internal */ public function gc() @@ -1495,7 +1481,6 @@ abstract class AbstractUserAuthentication * @param string $tablename Special field used by tce_main.php. These ($tablename, $recuid, $recpid) holds the reference to the record which the log-entry is about. (Was used in attic status.php to update the interface.) * @param int $recuid Special field used by tce_main.php. These ($tablename, $recuid, $recpid) holds the reference to the record which the log-entry is about. (Was used in attic status.php to update the interface.) * @param int $recpid Special field used by tce_main.php. These ($tablename, $recuid, $recpid) holds the reference to the record which the log-entry is about. (Was used in attic status.php to update the interface.) - * @return void */ public function writelog($type, $action, $error, $details_nr, $details, $data, $tablename, $recuid, $recpid) { @@ -1507,7 +1492,6 @@ abstract class AbstractUserAuthentication * @param string $email Email address * @param int $secondsBack Number of sections back in time to check. This is a kind of limit for how many failures an hour for instance * @param int $maxFailures Max allowed failures before a warning mail is sent - * @return void * @ignore */ public function checkLogFailures($email, $secondsBack, $maxFailures) @@ -1523,7 +1507,6 @@ abstract class AbstractUserAuthentication * Will check the users for disabled, start/endtime, etc. ($this->user_where_clause()) * * @param int $uid The UID of the backend user to set in ->user - * @return void * @internal * @see SC_mod_tools_be_user_index::compareUsers(), \TYPO3\CMS\Setup\Controller\SetupModuleController::simulateUser(), freesite_admin::startCreate() */ @@ -1536,7 +1519,6 @@ abstract class AbstractUserAuthentication * Raw initialization of the be_user with username=$name * * @param string $name The username to look up. - * @return void * @see \TYPO3\CMS\Core\Authentication\AbstractUserAuthentication::setBeUserByUid() * @internal */ diff --git a/typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php b/typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php index 7125d4d1336d..d0e5ee6d36df 100644 --- a/typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php +++ b/typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php @@ -1239,7 +1239,6 @@ class BackendUserAuthentication extends AbstractUserAuthentication * * @param array $mountPointUids Page UIDs that should be used as web mountpoints * @param bool $append If TRUE the given mount point will be appended. Otherwise the current mount points will be replaced. - * @return void */ public function setWebmounts(array $mountPointUids, $append = false) { @@ -1279,7 +1278,6 @@ class BackendUserAuthentication extends AbstractUserAuthentication * if the backend user login has verified OK. * Generally this is required initialization of a backend user. * - * @return void * @access private * @see \TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser */ @@ -1424,7 +1422,6 @@ class BackendUserAuthentication extends AbstractUserAuthentication * * @param string $grList Commalist of be_groups uid numbers * @param string $idList List of already processed be_groups-uids so the function will not fall into an eternal recursion. - * @return void * @access private */ public function fetchGroups($grList, $idList = '') @@ -1530,7 +1527,6 @@ class BackendUserAuthentication extends AbstractUserAuthentication * a representation of the exact groups/subgroups which the BE_USER has membership with. * * @param string $cList The newly compiled group-list which must be compared with the current list in the user record and possibly stored if a difference is detected. - * @return void * @access private */ public function setCachedList($cList) @@ -1547,8 +1543,6 @@ class BackendUserAuthentication extends AbstractUserAuthentication /** * Sets up all file storages for a user. * Needs to be called AFTER the groups have been loaded. - * - * @return void */ protected function initializeFileStorages() { @@ -1777,8 +1771,6 @@ class BackendUserAuthentication extends AbstractUserAuthentication * Adds filters based on what the user has set * this should be done in this place, and called whenever needed, * but only when needed - * - * @return void */ public function evaluateUserSpecificFileFilterSettings() { @@ -2026,7 +2018,6 @@ class BackendUserAuthentication extends AbstractUserAuthentication * Initializing workspace. * Called from within this function, see fetchGroupData() * - * @return void * @see fetchGroupData() */ public function workspaceInit() @@ -2043,8 +2034,6 @@ class BackendUserAuthentication extends AbstractUserAuthentication /** * Limiting the DB mountpoints if there any selected in the workspace record - * - * @return void */ protected function initializeDbMountpointsInWorkspace() { @@ -2171,7 +2160,6 @@ class BackendUserAuthentication extends AbstractUserAuthentication * Setting workspace ID * * @param int $workspaceId ID of workspace to set for backend user. If not valid the default workspace for BE user is found and set. - * @return void */ public function setWorkspace($workspaceId) { @@ -2215,8 +2203,6 @@ class BackendUserAuthentication extends AbstractUserAuthentication /** * Sets the default workspace in the context of the current backend user. - * - * @return void */ public function setDefaultWorkspace() { @@ -2228,7 +2214,6 @@ class BackendUserAuthentication extends AbstractUserAuthentication * Setting workspace preview state for user: * * @param bool $previewState State of user preview. - * @return void */ public function setWorkspacePreview($previewState) { @@ -2373,7 +2358,6 @@ class BackendUserAuthentication extends AbstractUserAuthentication * @param string $email Email address * @param int $secondsBack Number of sections back in time to check. This is a kind of limit for how many failures an hour for instance. * @param int $max Max allowed failures before a warning mail is sent - * @return void * @access private */ public function checkLogFailures($email, $secondsBack = 3600, $max = 3) @@ -2500,7 +2484,6 @@ This is a dump of the failures: * * @param bool $proceedIfNoUserIsLoggedIn if this option is set, then there won't be a redirect to the login screen of the Backend - used for areas in the backend which do not need user rights like the login page. * @throws \RuntimeException - * @return void */ public function backendCheckLogin($proceedIfNoUserIsLoggedIn = false) { @@ -2533,7 +2516,6 @@ This is a dump of the failures: * Initialize the internal ->uc array for the backend user * Will make the overrides if necessary, and write the UC back to the be_users record if changes has happened * - * @return void * @internal */ public function backendSetUC() @@ -2583,7 +2565,6 @@ This is a dump of the failures: * Override: Call this function every time the uc is updated. * That is 1) by reverting to default values, 2) in the setup-module, 3) userTS changes (userauthgroup) * - * @return void * @internal */ public function overrideUC() @@ -2594,7 +2575,6 @@ This is a dump of the failures: /** * Clears the user[uc] and ->uc to blank strings. Then calls ->backendSetUC() to fill it again with reset contents * - * @return void * @internal */ public function resetUC() @@ -2608,7 +2588,6 @@ This is a dump of the failures: * Will send an email notification to warning_email_address/the login users email address when a login session is just started. * Depends on various parameters whether mails are send and to whom. * - * @return void * @access private */ private function emailAtLogin() diff --git a/typo3/sysext/core/Classes/Authentication/CommandLineUserAuthentication.php b/typo3/sysext/core/Classes/Authentication/CommandLineUserAuthentication.php index e81690590a54..8b5600120ed5 100644 --- a/typo3/sysext/core/Classes/Authentication/CommandLineUserAuthentication.php +++ b/typo3/sysext/core/Classes/Authentication/CommandLineUserAuthentication.php @@ -82,7 +82,6 @@ class CommandLineUserAuthentication extends BackendUserAuthentication * Logs in the TYPO3 Backend user "_cli_" * * @param bool $proceedIfNoUserIsLoggedIn if this option is set, then there won't be a redirect to the login screen of the Backend - used for areas in the backend which do not need user rights like the login page. - * @return void */ public function backendCheckLogin($proceedIfNoUserIsLoggedIn = false) { @@ -123,8 +122,6 @@ class CommandLineUserAuthentication extends BackendUserAuthentication /** * Create a record in the DB table be_users called "_cli_" with no other information - * - * @return void */ protected function createCliUser() { diff --git a/typo3/sysext/core/Classes/Cache/Backend/AbstractBackend.php b/typo3/sysext/core/Classes/Cache/Backend/AbstractBackend.php index ee3f64181c4c..0540cf3338f2 100644 --- a/typo3/sysext/core/Classes/Cache/Backend/AbstractBackend.php +++ b/typo3/sysext/core/Classes/Cache/Backend/AbstractBackend.php @@ -81,7 +81,6 @@ abstract class AbstractBackend implements \TYPO3\CMS\Core\Cache\Backend\BackendI * Sets a reference to the cache frontend which uses this backend * * @param \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache The frontend for this backend - * @return void * @api */ public function setCache(\TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache) @@ -94,7 +93,6 @@ abstract class AbstractBackend implements \TYPO3\CMS\Core\Cache\Backend\BackendI * Sets the default lifetime for this cache backend * * @param int $defaultLifetime Default lifetime of this cache backend in seconds. If NULL is specified, the default lifetime is used. "0" means unlimited lifetime. - * @return void * @throws \InvalidArgumentException * @api */ diff --git a/typo3/sysext/core/Classes/Cache/Backend/ApcBackend.php b/typo3/sysext/core/Classes/Cache/Backend/ApcBackend.php index 46a5ab9846ed..dd51ab2f2d66 100644 --- a/typo3/sysext/core/Classes/Cache/Backend/ApcBackend.php +++ b/typo3/sysext/core/Classes/Cache/Backend/ApcBackend.php @@ -88,7 +88,6 @@ class ApcBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implement * Initializes the identifier prefix when setting the cache. * * @param \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache - * @return void */ public function setCache(\TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache) { @@ -126,7 +125,6 @@ class ApcBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implement * @param string $data The data to be stored * @param array $tags Tags to associate with this cache entry * @param int $lifetime Lifetime of this cache entry in seconds. If NULL is specified, the default lifetime is used. "0" means unlimited lifetime. - * @return void * @throws \TYPO3\CMS\Core\Cache\Exception if no cache frontend has been set. * @throws \TYPO3\CMS\Core\Cache\Exception\InvalidDataException if $data is not a string * @api @@ -229,7 +227,6 @@ class ApcBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implement /** * Removes all cache entries of this cache. * - * @return void * @throws \TYPO3\CMS\Core\Cache\Exception * @api */ @@ -245,7 +242,6 @@ class ApcBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implement * Removes all cache entries of this cache which are tagged by the specified tag. * * @param string $tag The tag the entries must have - * @return void * @api */ public function flushByTag($tag) @@ -261,7 +257,6 @@ class ApcBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implement * * @param string $entryIdentifier * @param array $tags - * @return void */ protected function addIdentifierToTags($entryIdentifier, array $tags) { @@ -293,7 +288,6 @@ class ApcBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implement * Removes association of the identifier with the given tags * * @param string $entryIdentifier - * @return void */ protected function removeIdentifierFromAllTags($entryIdentifier) { @@ -322,8 +316,6 @@ class ApcBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implement /** * Does nothing, as APC does GC itself - * - * @return void */ public function collectGarbage() { diff --git a/typo3/sysext/core/Classes/Cache/Backend/ApcuBackend.php b/typo3/sysext/core/Classes/Cache/Backend/ApcuBackend.php index d52a751aac95..445d5cbabba7 100644 --- a/typo3/sysext/core/Classes/Cache/Backend/ApcuBackend.php +++ b/typo3/sysext/core/Classes/Cache/Backend/ApcuBackend.php @@ -89,7 +89,6 @@ class ApcuBackend extends AbstractBackend implements TaggableBackendInterface * Initializes the identifier prefix when setting the cache. * * @param \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache - * @return void */ public function setCache(\TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache) { @@ -127,7 +126,6 @@ class ApcuBackend extends AbstractBackend implements TaggableBackendInterface * @param string $data The data to be stored * @param array $tags Tags to associate with this cache entry * @param int $lifetime Lifetime of this cache entry in seconds. If NULL is specified, the default lifetime is used. "0" means unlimited lifetime. - * @return void * @throws Cache\Exception if no cache frontend has been set. * @throws Cache\Exception\InvalidDataException if $data is not a string * @api @@ -230,7 +228,6 @@ class ApcuBackend extends AbstractBackend implements TaggableBackendInterface /** * Removes all cache entries of this cache. * - * @return void * @throws Cache\Exception * @api */ @@ -246,7 +243,6 @@ class ApcuBackend extends AbstractBackend implements TaggableBackendInterface * Removes all cache entries of this cache which are tagged by the specified tag. * * @param string $tag The tag the entries must have - * @return void * @api */ public function flushByTag($tag) @@ -262,7 +258,6 @@ class ApcuBackend extends AbstractBackend implements TaggableBackendInterface * * @param string $entryIdentifier * @param array $tags - * @return void */ protected function addIdentifierToTags($entryIdentifier, array $tags) { @@ -294,7 +289,6 @@ class ApcuBackend extends AbstractBackend implements TaggableBackendInterface * Removes association of the identifier with the given tags * * @param string $entryIdentifier - * @return void */ protected function removeIdentifierFromAllTags($entryIdentifier) { @@ -323,8 +317,6 @@ class ApcuBackend extends AbstractBackend implements TaggableBackendInterface /** * Does nothing, as APCu does GC itself - * - * @return void */ public function collectGarbage() { diff --git a/typo3/sysext/core/Classes/Cache/Backend/BackendInterface.php b/typo3/sysext/core/Classes/Cache/Backend/BackendInterface.php index 432fada0ce7e..815d9cfd2039 100644 --- a/typo3/sysext/core/Classes/Cache/Backend/BackendInterface.php +++ b/typo3/sysext/core/Classes/Cache/Backend/BackendInterface.php @@ -24,7 +24,6 @@ interface BackendInterface * Sets a reference to the cache frontend which uses this backend * * @param \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache The frontend for this backend - * @return void * @api */ public function setCache(\TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache); @@ -36,7 +35,6 @@ interface BackendInterface * @param string $data The data to be stored * @param array $tags Tags to associate with this cache entry. If the backend does not support tags, this option can be ignored. * @param int $lifetime Lifetime of this cache entry in seconds. If NULL is specified, the default lifetime is used. "0" means unlimited lifetime. - * @return void * @throws \TYPO3\CMS\Core\Cache\Exception if no cache frontend has been set. * @throws \TYPO3\CMS\Core\Cache\Exception\InvalidDataException if the data is not a string * @api @@ -75,7 +73,6 @@ interface BackendInterface /** * Removes all cache entries of this cache. * - * @return void * @api */ public function flush(); @@ -83,7 +80,6 @@ interface BackendInterface /** * Does garbage collection * - * @return void * @api */ public function collectGarbage(); diff --git a/typo3/sysext/core/Classes/Cache/Backend/FileBackend.php b/typo3/sysext/core/Classes/Cache/Backend/FileBackend.php index 65276775d685..534386c3b368 100644 --- a/typo3/sysext/core/Classes/Cache/Backend/FileBackend.php +++ b/typo3/sysext/core/Classes/Cache/Backend/FileBackend.php @@ -57,7 +57,6 @@ class FileBackend extends \TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend implem * On the positive side, a frozen cache backend is much faster on read access. * A frozen backend can only be thawed by calling the flush() method. * - * @return void * @throws \RuntimeException */ public function freeze() @@ -104,7 +103,6 @@ class FileBackend extends \TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend implem * does not exist in v4. * * @param \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache The cache frontend - * @return void */ public function setCache(\TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache) { @@ -122,7 +120,6 @@ class FileBackend extends \TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend implem * @param string $data The data to be stored * @param array $tags Tags to associate with this cache entry * @param int $lifetime Lifetime of this cache entry in seconds. If NULL is specified, the default lifetime is used. "0" means unlimited lifetime. - * @return void * @throws \RuntimeException * @throws \TYPO3\CMS\Core\Cache\Exception\InvalidDataException if the directory does not exist or is not writable or exceeds the maximum allowed path length, or if no cache frontend has been set. * @throws \TYPO3\CMS\Core\Cache\Exception if the directory does not exist or is not writable or exceeds the maximum allowed path length, or if no cache frontend has been set. @@ -278,7 +275,6 @@ class FileBackend extends \TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend implem /** * Removes all cache entries of this cache and sets the frozen flag to FALSE. * - * @return void * @api */ public function flush() @@ -293,7 +289,6 @@ class FileBackend extends \TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend implem * Removes all cache entries of this cache which are tagged by the specified tag. * * @param string $tag The tag the entries must have - * @return void * @api */ public function flushByTag($tag) @@ -328,7 +323,6 @@ class FileBackend extends \TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend implem /** * Does garbage collection * - * @return void * @api */ public function collectGarbage() diff --git a/typo3/sysext/core/Classes/Cache/Backend/FreezableBackendInterface.php b/typo3/sysext/core/Classes/Cache/Backend/FreezableBackendInterface.php index ba9d4bc69397..f0125840ee83 100644 --- a/typo3/sysext/core/Classes/Cache/Backend/FreezableBackendInterface.php +++ b/typo3/sysext/core/Classes/Cache/Backend/FreezableBackendInterface.php @@ -26,8 +26,6 @@ interface FreezableBackendInterface extends \TYPO3\CMS\Core\Cache\Backend\Backen * * On the positive side, a frozen cache backend is much faster on read access. * A frozen backend can only be thawn by calling the flush() method. - * - * @return void */ public function freeze(); diff --git a/typo3/sysext/core/Classes/Cache/Backend/MemcachedBackend.php b/typo3/sysext/core/Classes/Cache/Backend/MemcachedBackend.php index c35b1d7014f3..1041fd04ce8f 100644 --- a/typo3/sysext/core/Classes/Cache/Backend/MemcachedBackend.php +++ b/typo3/sysext/core/Classes/Cache/Backend/MemcachedBackend.php @@ -118,7 +118,6 @@ class MemcachedBackend extends AbstractBackend implements TaggableBackendInterfa * to be formatted like "<host>[:<port>]" or "unix://<path>" * * @param array $servers An array of servers to add. - * @return void * @api */ protected function setServers(array $servers) @@ -130,7 +129,6 @@ class MemcachedBackend extends AbstractBackend implements TaggableBackendInterfa * Setter for compression flags bit * * @param bool $useCompression - * @return void * @api */ protected function setCompression($useCompression) @@ -157,7 +155,6 @@ class MemcachedBackend extends AbstractBackend implements TaggableBackendInterfa /** * Initializes the identifier prefix * - * @return void * @throws Exception */ public function initializeObject() @@ -209,7 +206,6 @@ class MemcachedBackend extends AbstractBackend implements TaggableBackendInterfa * Initializes the identifier prefix when setting the cache. * * @param FrontendInterface $cache The frontend for this backend - * @return void */ public function setCache(FrontendInterface $cache) { @@ -225,7 +221,6 @@ class MemcachedBackend extends AbstractBackend implements TaggableBackendInterfa * @param string $data The data to be stored * @param array $tags Tags to associate with this cache entry * @param int $lifetime Lifetime of this cache entry in seconds. If NULL is specified, the default lifetime is used. "0" means unlimited lifetime. - * @return void * @throws Exception if no cache frontend has been set. * @throws \InvalidArgumentException if the identifier is not valid or the final memcached key is longer than 250 characters * @throws Exception\InvalidDataException if $data is not a string @@ -361,7 +356,6 @@ class MemcachedBackend extends AbstractBackend implements TaggableBackendInterfa /** * Removes all cache entries of this cache. * - * @return void * @throws Exception * @api */ @@ -377,7 +371,6 @@ class MemcachedBackend extends AbstractBackend implements TaggableBackendInterfa * Removes all cache entries of this cache which are tagged by the specified tag. * * @param string $tag The tag the entries must have - * @return void * @api */ public function flushByTag($tag) @@ -393,7 +386,6 @@ class MemcachedBackend extends AbstractBackend implements TaggableBackendInterfa * * @param string $entryIdentifier * @param array $tags - * @return void */ protected function addIdentifierToTags($entryIdentifier, array $tags) { @@ -425,7 +417,6 @@ class MemcachedBackend extends AbstractBackend implements TaggableBackendInterfa * Removes association of the identifier with the given tags * * @param string $entryIdentifier - * @return void */ protected function removeIdentifierFromAllTags($entryIdentifier) { @@ -469,7 +460,6 @@ class MemcachedBackend extends AbstractBackend implements TaggableBackendInterfa /** * Does nothing, as memcached does GC itself * - * @return void * @api */ public function collectGarbage() diff --git a/typo3/sysext/core/Classes/Cache/Backend/NullBackend.php b/typo3/sysext/core/Classes/Cache/Backend/NullBackend.php index ad9e3c7b0187..485131262b60 100644 --- a/typo3/sysext/core/Classes/Cache/Backend/NullBackend.php +++ b/typo3/sysext/core/Classes/Cache/Backend/NullBackend.php @@ -29,7 +29,6 @@ class NullBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implemen * @param string $data ignored * @param array $tags ignored * @param int $lifetime ignored - * @return void * @api */ public function set($entryIdentifier, $data, array $tags = [], $lifetime = null) @@ -40,7 +39,6 @@ class NullBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implemen * Acts as if it would enable data compression * * @param bool $compression ignored - * @return void */ public function setCompression($compression) { @@ -97,7 +95,6 @@ class NullBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implemen /** * Does nothing * - * @return void * @api */ public function flush() @@ -108,7 +105,6 @@ class NullBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implemen * Does nothing * * @param string $tag ignored - * @return void * @api */ public function flushByTag($tag) @@ -118,7 +114,6 @@ class NullBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implemen /** * Does nothing * - * @return void * @api */ public function collectGarbage() @@ -129,7 +124,6 @@ class NullBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implemen * Does nothing * * @param string $identifier An identifier which describes the cache entry to load - * @return void * @api */ public function requireOnce($identifier) diff --git a/typo3/sysext/core/Classes/Cache/Backend/PdoBackend.php b/typo3/sysext/core/Classes/Cache/Backend/PdoBackend.php index 430b5839d52d..2f316d48a10c 100644 --- a/typo3/sysext/core/Classes/Cache/Backend/PdoBackend.php +++ b/typo3/sysext/core/Classes/Cache/Backend/PdoBackend.php @@ -49,7 +49,6 @@ class PdoBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implement * Sets the DSN to use * * @param string $DSN The DSN to use for connecting to the DB - * @return void * @api */ public function setDataSourceName($DSN) @@ -61,7 +60,6 @@ class PdoBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implement * Sets the username to use * * @param string $username The username to use for connecting to the DB - * @return void * @api */ public function setUsername($username) @@ -73,7 +71,6 @@ class PdoBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implement * Sets the password to use * * @param string $password The password to use for connecting to the DB - * @return void * @api */ public function setPassword($password) @@ -83,8 +80,6 @@ class PdoBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implement /** * Initialize the cache backend. - * - * @return void */ public function initializeObject() { @@ -98,7 +93,6 @@ class PdoBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implement * @param string $data The data to be stored * @param array $tags Tags to associate with this cache entry * @param int $lifetime Lifetime of this cache entry in seconds. If NULL is specified, the default lifetime is used. "0" means unlimited lifetime. - * @return void * @throws \TYPO3\CMS\Core\Cache\Exception if no cache frontend has been set. * @throws \InvalidArgumentException if the identifier is not valid * @throws \TYPO3\CMS\Core\Cache\Exception\InvalidDataException if $data is not a string @@ -177,7 +171,6 @@ class PdoBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implement /** * Removes all cache entries of this cache. * - * @return void * @api */ public function flush() @@ -192,7 +185,6 @@ class PdoBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implement * Removes all cache entries of this cache which are tagged by the specified tag. * * @param string $tag The tag the entries must have - * @return void * @api */ public function flushByTag($tag) @@ -221,7 +213,6 @@ class PdoBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implement /** * Does garbage collection * - * @return void * @api */ public function collectGarbage() @@ -245,7 +236,6 @@ class PdoBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implement /** * Connect to the database * - * @return void * @throws \RuntimeException if something goes wrong */ protected function connect() @@ -271,7 +261,6 @@ class PdoBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend implement /** * Creates the tables needed for the cache backend. * - * @return void * @throws \RuntimeException if something goes wrong */ protected function createCacheTables() diff --git a/typo3/sysext/core/Classes/Cache/Backend/RedisBackend.php b/typo3/sysext/core/Classes/Cache/Backend/RedisBackend.php index c431d50be928..4330bcc3acde 100644 --- a/typo3/sysext/core/Classes/Cache/Backend/RedisBackend.php +++ b/typo3/sysext/core/Classes/Cache/Backend/RedisBackend.php @@ -147,7 +147,6 @@ class RedisBackend extends AbstractBackend implements TaggableBackendInterface /** * Initializes the redis backend * - * @return void * @throws \TYPO3\CMS\Core\Cache\Exception if access to redis with password is denied or if database selection fails */ public function initializeObject() @@ -182,7 +181,6 @@ class RedisBackend extends AbstractBackend implements TaggableBackendInterface * Setter for persistent connection * * @param bool $persistentConnection - * @return void * @api */ public function setPersistentConnection($persistentConnection) @@ -194,7 +192,6 @@ class RedisBackend extends AbstractBackend implements TaggableBackendInterface * Setter for server hostname * * @param string $hostname Hostname - * @return void * @api */ public function setHostname($hostname) @@ -206,7 +203,6 @@ class RedisBackend extends AbstractBackend implements TaggableBackendInterface * Setter for server port * * @param int $port Port - * @return void * @api */ public function setPort($port) @@ -218,7 +214,6 @@ class RedisBackend extends AbstractBackend implements TaggableBackendInterface * Setter for database number * * @param int $database Database - * @return void * @throws \InvalidArgumentException if database number is not valid * @api */ @@ -237,7 +232,6 @@ class RedisBackend extends AbstractBackend implements TaggableBackendInterface * Setter for authentication password * * @param string $password Password - * @return void * @api */ public function setPassword($password) @@ -249,7 +243,6 @@ class RedisBackend extends AbstractBackend implements TaggableBackendInterface * Enable data compression * * @param bool $compression TRUE to enable compression - * @return void * @throws \InvalidArgumentException if compression parameter is not of type boolean * @api */ @@ -267,7 +260,6 @@ class RedisBackend extends AbstractBackend implements TaggableBackendInterface * gzcompress default level will be used. * * @param int $compressionLevel -1 to 9: Compression level - * @return void * @throws \InvalidArgumentException if compressionLevel parameter is not within allowed bounds * @api */ @@ -289,7 +281,6 @@ class RedisBackend extends AbstractBackend implements TaggableBackendInterface * of seconds to wait if a connection can be established. * * @param int $connectionTimeout limit in seconds, a value greater or equal than 0 - * @return void * @throws \InvalidArgumentException if compressionLevel parameter is not within allowed bounds * @api */ @@ -316,7 +307,6 @@ class RedisBackend extends AbstractBackend implements TaggableBackendInterface * @param string $data Data to be stored * @param array $tags Tags to associate with this cache entry * @param int $lifetime Lifetime of this cache entry in seconds. If NULL is specified, default lifetime is used. "0" means unlimited lifetime. - * @return void * @throws \InvalidArgumentException if identifier is not valid * @throws \TYPO3\CMS\Core\Cache\Exception\InvalidDataException if data is not a string * @api @@ -468,7 +458,6 @@ class RedisBackend extends AbstractBackend implements TaggableBackendInterface * * Scales O(1) with number of cache entries * - * @return void * @api */ public function flush() @@ -485,7 +474,6 @@ class RedisBackend extends AbstractBackend implements TaggableBackendInterface * Scales O(n^2) with number of tag entries * * @param string $tag Tag the entries must have - * @return void * @throws \InvalidArgumentException if identifier is not a string * @api */ @@ -510,7 +498,6 @@ class RedisBackend extends AbstractBackend implements TaggableBackendInterface * * Scales O(n*m) with number of cache entries (n) and number of tags (m) * - * @return void * @api */ public function collectGarbage() @@ -540,7 +527,6 @@ class RedisBackend extends AbstractBackend implements TaggableBackendInterface * * @param array $identifiers List of identifiers to remove * @param array $tags List of tags to be handled - * @return void */ protected function removeIdentifierEntriesAndRelations(array $identifiers, array $tags) { diff --git a/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php b/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php index 508a4520b74f..4cb6b3d135ed 100644 --- a/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php +++ b/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php @@ -72,7 +72,6 @@ class SimpleFileBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend im * * @param \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache The cache frontend * @throws \TYPO3\CMS\Core\Cache\Exception - * @return void */ public function setCache(\TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache) { @@ -109,7 +108,6 @@ class SimpleFileBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend im * option was handled. * * @param string $cacheDirectory The cache base directory. If a relative path - * @return void * @throws \TYPO3\CMS\Core\Cache\Exception if the directory is not within allowed */ public function setCacheDirectory($cacheDirectory) @@ -180,7 +178,6 @@ class SimpleFileBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend im * exists in TYPO3 v4 only. * * @param string $finalCacheDirectory Absolute path to final cache directory - * @return void * @throws \TYPO3\CMS\Core\Cache\Exception If directory is not writable after creation */ protected function createFinalCacheDirectory($finalCacheDirectory) @@ -213,7 +210,6 @@ class SimpleFileBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend im * @param string $data The data to be stored * @param array $tags Tags to associate with this cache entry * @param int $lifetime This cache backend does not support life times - * @return void * @throws \TYPO3\CMS\Core\Cache\Exception if the directory does not exist or is not writable or exceeds the maximum allowed path length, or if no cache frontend has been set. * @throws \TYPO3\CMS\Core\Cache\Exception\InvalidDataException if the data to bes stored is not a string. * @throws \InvalidArgumentException @@ -307,7 +303,6 @@ class SimpleFileBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend im /** * Removes all cache entries of this cache. * - * @return void * @api */ public function flush() @@ -331,7 +326,6 @@ class SimpleFileBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend im /** * Not necessary * - * @return void * @api */ public function collectGarbage() diff --git a/typo3/sysext/core/Classes/Cache/Backend/TaggableBackendInterface.php b/typo3/sysext/core/Classes/Cache/Backend/TaggableBackendInterface.php index f58cc67cced9..bca3cfc9b9d2 100644 --- a/typo3/sysext/core/Classes/Cache/Backend/TaggableBackendInterface.php +++ b/typo3/sysext/core/Classes/Cache/Backend/TaggableBackendInterface.php @@ -21,7 +21,6 @@ interface TaggableBackendInterface extends \TYPO3\CMS\Core\Cache\Backend\Backend * Removes all cache entries of this cache which are tagged by the specified tag. * * @param string $tag The tag the entries must have - * @return void * @api */ public function flushByTag($tag); @@ -30,7 +29,6 @@ interface TaggableBackendInterface extends \TYPO3\CMS\Core\Cache\Backend\Backend * Removes all cache entries of this cache which are tagged by any of the specified tags. * * @param string[] $tags List of tags - * @return void * @api */ public function flushByTags(array $tags); diff --git a/typo3/sysext/core/Classes/Cache/Backend/TransientMemoryBackend.php b/typo3/sysext/core/Classes/Cache/Backend/TransientMemoryBackend.php index f80a3233323e..6fc76bc39401 100644 --- a/typo3/sysext/core/Classes/Cache/Backend/TransientMemoryBackend.php +++ b/typo3/sysext/core/Classes/Cache/Backend/TransientMemoryBackend.php @@ -39,7 +39,6 @@ class TransientMemoryBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBacke * @param string $data The data to be stored * @param array $tags Tags to associate with this cache entry * @param int $lifetime Lifetime of this cache entry in seconds. If NULL is specified, the default lifetime is used. "0" means unlimited lifetime. - * @return void * @throws \TYPO3\CMS\Core\Cache\Exception if no cache frontend has been set. * @throws \TYPO3\CMS\Core\Cache\Exception\InvalidDataException * @api @@ -121,7 +120,6 @@ class TransientMemoryBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBacke /** * Removes all cache entries of this cache. * - * @return void * @api */ public function flush() @@ -134,7 +132,6 @@ class TransientMemoryBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBacke * Removes all cache entries of this cache which are tagged by the specified tag. * * @param string $tag The tag the entries must have - * @return void * @api */ public function flushByTag($tag) @@ -148,7 +145,6 @@ class TransientMemoryBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBacke /** * Does nothing * - * @return void * @api */ public function collectGarbage() diff --git a/typo3/sysext/core/Classes/Cache/Backend/Typo3DatabaseBackend.php b/typo3/sysext/core/Classes/Cache/Backend/Typo3DatabaseBackend.php index e079ba6de7c9..af58aec999ef 100644 --- a/typo3/sysext/core/Classes/Cache/Backend/Typo3DatabaseBackend.php +++ b/typo3/sysext/core/Classes/Cache/Backend/Typo3DatabaseBackend.php @@ -61,7 +61,6 @@ class Typo3DatabaseBackend extends AbstractBackend implements TaggableBackendInt * Set cache frontend instance and calculate data and tags table name * * @param FrontendInterface $cache The frontend for this backend - * @return void * @api */ public function setCache(FrontendInterface $cache) @@ -79,7 +78,6 @@ class Typo3DatabaseBackend extends AbstractBackend implements TaggableBackendInt * @param string $data The data to be stored * @param array $tags Tags to associate with this cache entry * @param int $lifetime Lifetime of this cache entry in seconds. If NULL is specified, the default lifetime is used. "0" means unlimited lifetime. - * @return void * @throws Exception if no cache frontend has been set. * @throws InvalidDataException if the data to be stored is not a string. */ @@ -250,8 +248,6 @@ class Typo3DatabaseBackend extends AbstractBackend implements TaggableBackendInt /** * Removes all cache entries of this cache. - * - * @return void */ public function flush() { @@ -331,7 +327,6 @@ class Typo3DatabaseBackend extends AbstractBackend implements TaggableBackendInt * Removes all cache entries of this cache which are tagged by the specified tag. * * @param string $tag The tag the entries must have - * @return void */ public function flushByTag($tag) { @@ -381,8 +376,6 @@ class Typo3DatabaseBackend extends AbstractBackend implements TaggableBackendInt /** * Does garbage collection - * - * @return void */ public function collectGarbage() { @@ -528,7 +521,6 @@ class Typo3DatabaseBackend extends AbstractBackend implements TaggableBackendInt * Check if required frontend instance exists * * @throws Exception If there is no frontend instance in $this->cache - * @return void */ protected function throwExceptionIfFrontendDoesNotExist() { diff --git a/typo3/sysext/core/Classes/Cache/Backend/WincacheBackend.php b/typo3/sysext/core/Classes/Cache/Backend/WincacheBackend.php index 2d8b221a6d68..b04eb2d8785b 100644 --- a/typo3/sysext/core/Classes/Cache/Backend/WincacheBackend.php +++ b/typo3/sysext/core/Classes/Cache/Backend/WincacheBackend.php @@ -65,7 +65,6 @@ class WincacheBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend impl * @param string $data The data to be stored * @param array $tags Tags to associate with this cache entry * @param int $lifetime Lifetime of this cache entry in seconds. If NULL is specified, the default lifetime is used. "0" means unlimited lifetime. - * @return void * @throws \TYPO3\CMS\Core\Cache\Exception if no cache frontend has been set * @throws \InvalidArgumentException if the identifier is not valid * @throws \TYPO3\CMS\Core\Cache\Exception\InvalidDataException if $data is not a string @@ -163,7 +162,6 @@ class WincacheBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend impl * Removes all cache entries of this cache * * @throws \TYPO3\CMS\Core\Cache\Exception - * @return void */ public function flush() { @@ -178,7 +176,6 @@ class WincacheBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend impl * tag. * * @param string $tag The tag the entries must have - * @return void */ public function flushByTag($tag) { @@ -193,7 +190,6 @@ class WincacheBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend impl * * @param string $entryIdentifier * @param array $tags - * @return void */ protected function addIdentifierToTags($entryIdentifier, array $tags) { @@ -225,7 +221,6 @@ class WincacheBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend impl * Removes association of the identifier with the given tags * * @param string $entryIdentifier - * @return void */ protected function removeIdentifierFromAllTags($entryIdentifier) { @@ -254,8 +249,6 @@ class WincacheBackend extends \TYPO3\CMS\Core\Cache\Backend\AbstractBackend impl /** * Does nothing, as wincache does GC itself - * - * @return void */ public function collectGarbage() { diff --git a/typo3/sysext/core/Classes/Cache/CacheManager.php b/typo3/sysext/core/Classes/Cache/CacheManager.php index a975ffd3fe30..59bace3b4d84 100644 --- a/typo3/sysext/core/Classes/Cache/CacheManager.php +++ b/typo3/sysext/core/Classes/Cache/CacheManager.php @@ -77,7 +77,6 @@ class CacheManager implements SingletonInterface * Existing cache configurations are preserved. * * @param array $cacheConfigurations The cache configurations to set - * @return void * @throws \InvalidArgumentException If $cacheConfigurations is not an array */ public function setCacheConfigurations(array $cacheConfigurations) @@ -94,7 +93,6 @@ class CacheManager implements SingletonInterface * Registers a cache so it can be retrieved at a later point. * * @param FrontendInterface $cache The cache frontend to be registered - * @return void * @throws DuplicateIdentifierException if a cache with the given identifier has already been registered. * @api */ @@ -141,7 +139,6 @@ class CacheManager implements SingletonInterface /** * Flushes all registered caches * - * @return void * @api */ public function flushCaches() @@ -156,7 +153,6 @@ class CacheManager implements SingletonInterface * Flushes all registered caches of a specific group * * @param string $groupIdentifier - * @return void * @throws NoSuchCacheGroupException * @api */ @@ -179,7 +175,6 @@ class CacheManager implements SingletonInterface * * @param string $groupIdentifier * @param string|array $tag Tag to search for - * @return void * @throws NoSuchCacheGroupException * @api */ @@ -205,7 +200,6 @@ class CacheManager implements SingletonInterface * * @param string $groupIdentifier * @param string[] $tags Tags to search for - * @return void * @throws NoSuchCacheGroupException * @api */ @@ -230,7 +224,6 @@ class CacheManager implements SingletonInterface * caches. * * @param string $tag Tag to search for - * @return void * @api */ public function flushCachesByTag($tag) @@ -245,7 +238,6 @@ class CacheManager implements SingletonInterface * Flushes entries tagged by any of the specified tags in all registered caches. * * @param string[] $tags Tags to search for - * @return void * @api */ public function flushCachesByTags(array $tags) @@ -258,8 +250,6 @@ class CacheManager implements SingletonInterface /** * Instantiates all registered caches. - * - * @return void */ protected function createAllCaches() { diff --git a/typo3/sysext/core/Classes/Cache/Frontend/AbstractFrontend.php b/typo3/sysext/core/Classes/Cache/Frontend/AbstractFrontend.php index b32fc92d1233..6a72b59eb9d8 100644 --- a/typo3/sysext/core/Classes/Cache/Frontend/AbstractFrontend.php +++ b/typo3/sysext/core/Classes/Cache/Frontend/AbstractFrontend.php @@ -113,7 +113,6 @@ abstract class AbstractFrontend implements FrontendInterface /** * Removes all cache entries of this cache. * - * @return void * @api */ public function flush() @@ -125,7 +124,6 @@ abstract class AbstractFrontend implements FrontendInterface * Removes all cache entries of this cache which are tagged by any of the specified tags. * * @param string[] $tags - * @return void * @throws \InvalidArgumentException */ public function flushByTags(array $tags) @@ -144,7 +142,6 @@ abstract class AbstractFrontend implements FrontendInterface * Removes all cache entries of this cache which are tagged by the specified tag. * * @param string $tag The tag the entries must have - * @return void * @throws \InvalidArgumentException * @api */ @@ -167,7 +164,6 @@ abstract class AbstractFrontend implements FrontendInterface /** * Does garbage collection * - * @return void * @api */ public function collectGarbage() diff --git a/typo3/sysext/core/Classes/Cache/Frontend/FrontendInterface.php b/typo3/sysext/core/Classes/Cache/Frontend/FrontendInterface.php index 07db08454dc7..d4904b197785 100644 --- a/typo3/sysext/core/Classes/Cache/Frontend/FrontendInterface.php +++ b/typo3/sysext/core/Classes/Cache/Frontend/FrontendInterface.php @@ -58,7 +58,6 @@ interface FrontendInterface * @param mixed $data The data to cache - also depends on the concrete cache implementation * @param array $tags Tags to associate with this cache entry * @param int $lifetime Lifetime of this cache entry in seconds. If NULL is specified, the default lifetime is used. "0" means unlimited lifetime. - * @return void * @api */ public function set($entryIdentifier, $data, array $tags = [], $lifetime = null); @@ -100,8 +99,6 @@ interface FrontendInterface /** * Removes all cache entries of this cache. - * - * @return void */ public function flush(); @@ -109,7 +106,6 @@ interface FrontendInterface * Removes all cache entries of this cache which are tagged by the specified tag. * * @param string $tag The tag the entries must have - * @return void * @api */ public function flushByTag($tag); @@ -118,7 +114,6 @@ interface FrontendInterface * Removes all cache entries of this cache which are tagged by any of the specified tags. * * @param string[] $tags List of tags - * @return void * @api */ public function flushByTags(array $tags); @@ -126,7 +121,6 @@ interface FrontendInterface /** * Does garbage collection * - * @return void * @api */ public function collectGarbage(); diff --git a/typo3/sysext/core/Classes/Cache/Frontend/PhpFrontend.php b/typo3/sysext/core/Classes/Cache/Frontend/PhpFrontend.php index 2eb9322d4e43..84d1a1cf9a0e 100644 --- a/typo3/sysext/core/Classes/Cache/Frontend/PhpFrontend.php +++ b/typo3/sysext/core/Classes/Cache/Frontend/PhpFrontend.php @@ -43,7 +43,6 @@ class PhpFrontend extends StringFrontend * @param string $sourceCode PHP source code * @param array $tags Tags to associate with this cache entry * @param int $lifetime Lifetime of this cache entry in seconds. If NULL is specified, the default lifetime is used. "0" means unlimited lifetime. - * @return void * @throws \InvalidArgumentException If $entryIdentifier or $tags is invalid * @throws InvalidDataException If $sourceCode is not a string * @api diff --git a/typo3/sysext/core/Classes/Cache/Frontend/StringFrontend.php b/typo3/sysext/core/Classes/Cache/Frontend/StringFrontend.php index f3bcb33a9769..aee6fa83725d 100644 --- a/typo3/sysext/core/Classes/Cache/Frontend/StringFrontend.php +++ b/typo3/sysext/core/Classes/Cache/Frontend/StringFrontend.php @@ -31,7 +31,6 @@ class StringFrontend extends AbstractFrontend * @param string $string The variable to cache * @param array $tags Tags to associate with this cache entry * @param int $lifetime Lifetime of this cache entry in seconds. If NULL is specified, the default lifetime is used. "0" means unlimited lifetime. - * @return void * @throws \InvalidArgumentException if the identifier or tag is not valid * @throws InvalidDataException if the variable to cache is not of type string * @api diff --git a/typo3/sysext/core/Classes/Cache/Frontend/VariableFrontend.php b/typo3/sysext/core/Classes/Cache/Frontend/VariableFrontend.php index b79463d12afb..92c8ee76d52f 100644 --- a/typo3/sysext/core/Classes/Cache/Frontend/VariableFrontend.php +++ b/typo3/sysext/core/Classes/Cache/Frontend/VariableFrontend.php @@ -30,7 +30,6 @@ class VariableFrontend extends AbstractFrontend * @param mixed $variable The variable to cache * @param array $tags Tags to associate with this cache entry * @param int $lifetime Lifetime of this cache entry in seconds. If NULL is specified, the default lifetime is used. "0" means unlimited lifetime. - * @return void * @throws \InvalidArgumentException if the identifier or tag is not valid * @api */ diff --git a/typo3/sysext/core/Classes/Category/CategoryRegistry.php b/typo3/sysext/core/Classes/Category/CategoryRegistry.php index 22cdd600134b..7014abbea0f2 100644 --- a/typo3/sysext/core/Classes/Category/CategoryRegistry.php +++ b/typo3/sysext/core/Classes/Category/CategoryRegistry.php @@ -135,7 +135,6 @@ class CategoryRegistry implements SingletonInterface * * @param array $configuration Current field configuration * @throws \UnexpectedValueException - * @return void */ public function getCategoryFieldsForTable(array &$configuration) { @@ -215,7 +214,6 @@ class CategoryRegistry implements SingletonInterface /** * Apply TCA to all registered tables * - * @return void * @internal */ public function applyTcaForPreRegisteredTables() @@ -242,8 +240,6 @@ class CategoryRegistry implements SingletonInterface /** * Add default categorized tables to the registry - * - * @return void */ protected function registerDefaultCategorizedTables() { @@ -268,7 +264,6 @@ class CategoryRegistry implements SingletonInterface * + fieldList: field configuration to be added to showitems * + typesList: list of types that shall visualize the categories field * + position: insert position of the categories field - * @return void */ protected function addToAllTCAtypes($tableName, $fieldName, array $options) { @@ -326,7 +321,6 @@ class CategoryRegistry implements SingletonInterface * + interface: boolean if the category should be included in the "interface" section of the TCA table * + l10n_mode * + l10n_display - * @return void */ protected function addTcaColumn($tableName, $fieldName, array $options) { diff --git a/typo3/sysext/core/Classes/Category/Collection/CategoryCollection.php b/typo3/sysext/core/Classes/Category/Collection/CategoryCollection.php index 52f7ec0995fa..d80fb514c659 100644 --- a/typo3/sysext/core/Classes/Category/Collection/CategoryCollection.php +++ b/typo3/sysext/core/Classes/Category/Collection/CategoryCollection.php @@ -198,8 +198,6 @@ class CategoryCollection extends AbstractRecordCollection implements EditableCol * If the content entries of the storage had not been loaded on creation * ($fillItems = false) this function is to be used for loading the contents * afterwards. - * - * @return void */ public function loadContents() { @@ -230,7 +228,6 @@ class CategoryCollection extends AbstractRecordCollection implements EditableCol * Adds on entry to the collection * * @param mixed $data - * @return void */ public function add($data) { @@ -241,7 +238,6 @@ class CategoryCollection extends AbstractRecordCollection implements EditableCol * Adds a set of entries to the collection * * @param CollectionInterface $other - * @return void */ public function addAll(CollectionInterface $other) { @@ -255,7 +251,6 @@ class CategoryCollection extends AbstractRecordCollection implements EditableCol * Note: not the given "index" * * @param mixed $data - * @return void */ public function remove($data) { @@ -272,8 +267,6 @@ class CategoryCollection extends AbstractRecordCollection implements EditableCol /** * Removes all entries from the collection * collection will be empty afterwards - * - * @return void */ public function removeAll() { diff --git a/typo3/sysext/core/Classes/Charset/CharsetConverter.php b/typo3/sysext/core/Classes/Charset/CharsetConverter.php index 772bd2b1119a..7c633d078346 100644 --- a/typo3/sysext/core/Classes/Charset/CharsetConverter.php +++ b/typo3/sysext/core/Classes/Charset/CharsetConverter.php @@ -340,7 +340,6 @@ class CharsetConverter implements SingletonInterface * @param string $fromCharset From charset (the current charset of the string) * @param string $toCharset To charset (the output charset wanted) * @param bool $useEntityForNoChar If set, then characters that are not available in the destination character set will be encoded as numeric entities - * @return void * @see conv() */ public function convArray(&$array, $fromCharset, $toCharset, $useEntityForNoChar = false) diff --git a/typo3/sysext/core/Classes/Collection/AbstractRecordCollection.php b/typo3/sysext/core/Classes/Collection/AbstractRecordCollection.php index 966e47e5cd82..bae0b82688b9 100644 --- a/typo3/sysext/core/Classes/Collection/AbstractRecordCollection.php +++ b/typo3/sysext/core/Classes/Collection/AbstractRecordCollection.php @@ -105,7 +105,6 @@ abstract class AbstractRecordCollection implements RecordCollectionInterface, Pe * Move forward to next element * * @link http://php.net/manual/en/iterator.next.php - * @return void Any returned value is ignored. */ public function next() { @@ -142,7 +141,6 @@ abstract class AbstractRecordCollection implements RecordCollectionInterface, Pe * Rewind the Iterator to the first element * * @link http://php.net/manual/en/iterator.rewind.php - * @return void Any returned value is ignored. */ public function rewind() { @@ -224,7 +222,6 @@ abstract class AbstractRecordCollection implements RecordCollectionInterface, Pe * Setter for the title * * @param string $title - * @return void */ public function setTitle($title) { @@ -235,7 +232,6 @@ abstract class AbstractRecordCollection implements RecordCollectionInterface, Pe * Setter for the description * * @param string $desc - * @return void */ public function setDescription($desc) { @@ -256,7 +252,6 @@ abstract class AbstractRecordCollection implements RecordCollectionInterface, Pe * Setter for the name of the data-source table * * @param string $tableName - * @return void */ public function setItemTableName($tableName) { @@ -271,7 +266,6 @@ abstract class AbstractRecordCollection implements RecordCollectionInterface, Pe * * @param $callbackFunction * @see http://www.php.net/manual/en/function.usort.php - * @return void */ public function usort($callbackFunction) { @@ -287,7 +281,6 @@ abstract class AbstractRecordCollection implements RecordCollectionInterface, Pe * * @param int $currentPosition * @param int $newPosition - * @return void */ public function moveItemAt($currentPosition, $newPosition = 0) { @@ -309,7 +302,6 @@ abstract class AbstractRecordCollection implements RecordCollectionInterface, Pe * Sets the identifier of the collection * * @param int $id - * @return void */ public function setIdentifier($id) { @@ -359,8 +351,6 @@ abstract class AbstractRecordCollection implements RecordCollectionInterface, Pe /** * Persists current collection state to underlying storage - * - * @return void */ public function persist() { @@ -432,7 +422,6 @@ abstract class AbstractRecordCollection implements RecordCollectionInterface, Pe * Loads the properties of this collection from an array * * @param array $array - * @return void */ public function fromArray(array $array) { diff --git a/typo3/sysext/core/Classes/Collection/EditableCollectionInterface.php b/typo3/sysext/core/Classes/Collection/EditableCollectionInterface.php index e17260fc247b..d94ad8f109ca 100644 --- a/typo3/sysext/core/Classes/Collection/EditableCollectionInterface.php +++ b/typo3/sysext/core/Classes/Collection/EditableCollectionInterface.php @@ -23,7 +23,6 @@ interface EditableCollectionInterface * Adds on entry to the collection * * @param mixed $data - * @return void */ public function add($data); @@ -31,7 +30,6 @@ interface EditableCollectionInterface * Adds a set of entries to the collection * * @param CollectionInterface $other - * @return void */ public function addAll(CollectionInterface $other); @@ -41,7 +39,6 @@ interface EditableCollectionInterface * Note: not the given "index" * * @param mixed $data - * @return void */ public function remove($data); @@ -49,8 +46,6 @@ interface EditableCollectionInterface * Removes all entries from the collection * * collection will be empty afterwards - * - * @return void */ public function removeAll(); } diff --git a/typo3/sysext/core/Classes/Collection/NameableCollectionInterface.php b/typo3/sysext/core/Classes/Collection/NameableCollectionInterface.php index 171e49a6348c..b643595250dc 100644 --- a/typo3/sysext/core/Classes/Collection/NameableCollectionInterface.php +++ b/typo3/sysext/core/Classes/Collection/NameableCollectionInterface.php @@ -28,7 +28,6 @@ interface NameableCollectionInterface * Setter for the title * * @param string $title - * @return void */ public function setTitle($title); @@ -36,7 +35,6 @@ interface NameableCollectionInterface * Setter for the description * * @param string $description - * @return void */ public function setDescription($description); @@ -49,8 +47,6 @@ interface NameableCollectionInterface /** * Getter for the description - * - * @return void */ public function getDescription(); } diff --git a/typo3/sysext/core/Classes/Collection/PersistableCollectionInterface.php b/typo3/sysext/core/Classes/Collection/PersistableCollectionInterface.php index 664e6256d724..1fd75bdc89b2 100644 --- a/typo3/sysext/core/Classes/Collection/PersistableCollectionInterface.php +++ b/typo3/sysext/core/Classes/Collection/PersistableCollectionInterface.php @@ -39,7 +39,6 @@ interface PersistableCollectionInterface * Sets the identifier of the collection * * @param int|string $id - * @return void */ public function setIdentifier($id); @@ -58,8 +57,6 @@ interface PersistableCollectionInterface /** * Persists current collection state to underlying storage - * - * @return void */ public function persist(); @@ -72,8 +69,6 @@ interface PersistableCollectionInterface * If the content entries of the storage had not been loaded on creation * ($fillItems = false) this function is to be used for loading the contents * afterwards. - * - * @return void */ public function loadContents(); } diff --git a/typo3/sysext/core/Classes/Collection/RecordCollectionInterface.php b/typo3/sysext/core/Classes/Collection/RecordCollectionInterface.php index 91b577e19cee..1e4637496da9 100644 --- a/typo3/sysext/core/Classes/Collection/RecordCollectionInterface.php +++ b/typo3/sysext/core/Classes/Collection/RecordCollectionInterface.php @@ -23,7 +23,6 @@ interface RecordCollectionInterface extends \TYPO3\CMS\Core\Collection\Collectio * Setter for the name of the data-source table * * @param string $tableName - * @return void */ public function setItemTableName($tableName); diff --git a/typo3/sysext/core/Classes/Collection/RecordCollectionRepository.php b/typo3/sysext/core/Classes/Collection/RecordCollectionRepository.php index 42ef912c7b0f..d3ff29844ba5 100644 --- a/typo3/sysext/core/Classes/Collection/RecordCollectionRepository.php +++ b/typo3/sysext/core/Classes/Collection/RecordCollectionRepository.php @@ -147,7 +147,6 @@ class RecordCollectionRepository * Deletes a record collection by uid. * * @param int $uid uid to be deleted - * @return void */ public function deleteByUid($uid) { diff --git a/typo3/sysext/core/Classes/Collection/SortableCollectionInterface.php b/typo3/sysext/core/Classes/Collection/SortableCollectionInterface.php index 24b953b6efe1..f81be9b2f3d5 100644 --- a/typo3/sysext/core/Classes/Collection/SortableCollectionInterface.php +++ b/typo3/sysext/core/Classes/Collection/SortableCollectionInterface.php @@ -33,7 +33,6 @@ interface SortableCollectionInterface * * @param $callbackFunction * @see http://www.php.net/manual/en/function.usort.php - * @return void */ public function usort($callbackFunction); @@ -45,7 +44,6 @@ interface SortableCollectionInterface * * @param int $currentPosition * @param int $newPosition - * @return void */ public function moveItemAt($currentPosition, $newPosition = 0); } diff --git a/typo3/sysext/core/Classes/Collection/StaticRecordCollection.php b/typo3/sysext/core/Classes/Collection/StaticRecordCollection.php index 8e51d9d8bb5a..cf82613093b7 100644 --- a/typo3/sysext/core/Classes/Collection/StaticRecordCollection.php +++ b/typo3/sysext/core/Classes/Collection/StaticRecordCollection.php @@ -69,8 +69,6 @@ class StaticRecordCollection extends AbstractRecordCollection implements Editabl * If the content entries of the storage had not been loaded on creation * ($fillItems = false) this function is to be used for loading the contents * afterwards. - * - * @return void */ public function loadContents() { @@ -104,7 +102,6 @@ class StaticRecordCollection extends AbstractRecordCollection implements Editabl * Adds on entry to the collection * * @param mixed $data - * @return void */ public function add($data) { @@ -115,7 +112,6 @@ class StaticRecordCollection extends AbstractRecordCollection implements Editabl * Adds a set of entries to the collection * * @param CollectionInterface $other - * @return void */ public function addAll(CollectionInterface $other) { @@ -130,7 +126,6 @@ class StaticRecordCollection extends AbstractRecordCollection implements Editabl * Note: not the given "index" * * @param mixed $data - * @return void */ public function remove($data) { @@ -148,8 +143,6 @@ class StaticRecordCollection extends AbstractRecordCollection implements Editabl * Removes all entries from the collection * * collection will be empty afterwards - * - * @return void */ public function removeAll() { diff --git a/typo3/sysext/core/Classes/Compatibility/LoadedExtensionArrayElement.php b/typo3/sysext/core/Classes/Compatibility/LoadedExtensionArrayElement.php index 23e9ec677f1c..df6ac6cd6470 100644 --- a/typo3/sysext/core/Classes/Compatibility/LoadedExtensionArrayElement.php +++ b/typo3/sysext/core/Classes/Compatibility/LoadedExtensionArrayElement.php @@ -60,8 +60,6 @@ class LoadedExtensionArrayElement implements \IteratorAggregate, \ArrayAccess, \ /** * Create main information - * - * @return void */ protected function initializeBasicExtensionInformation() { @@ -95,8 +93,6 @@ class LoadedExtensionArrayElement implements \IteratorAggregate, \ArrayAccess, \ /** * Initialize extension icon - * - * @return void */ protected function initializeExtensionIcon() { @@ -157,7 +153,6 @@ class LoadedExtensionArrayElement implements \IteratorAggregate, \ArrayAccess, \ * @link http://php.net/manual/en/arrayaccess.offsetset.php * @param mixed $offset The offset to assign the value to. * @param mixed $value The value to set. - * @return void * @throws \InvalidArgumentException */ public function offsetSet($offset, $value) @@ -170,7 +165,6 @@ class LoadedExtensionArrayElement implements \IteratorAggregate, \ArrayAccess, \ * * @link http://php.net/manual/en/arrayaccess.offsetunset.php * @param mixed $offset The offset to unset. - * @return void * @throws \InvalidArgumentException */ public function offsetUnset($offset) diff --git a/typo3/sysext/core/Classes/Compatibility/LoadedExtensionsArray.php b/typo3/sysext/core/Classes/Compatibility/LoadedExtensionsArray.php index 2ab8ac7eb533..5f496754727b 100644 --- a/typo3/sysext/core/Classes/Compatibility/LoadedExtensionsArray.php +++ b/typo3/sysext/core/Classes/Compatibility/LoadedExtensionsArray.php @@ -81,7 +81,6 @@ class LoadedExtensionsArray implements \Iterator, \ArrayAccess, \Serializable, \ * @param mixed $offset The offset to assign the value to. * @param mixed $value The value to set. * @throws \InvalidArgumentException - * @return void */ public function offsetSet($offset, $value) { @@ -94,7 +93,6 @@ class LoadedExtensionsArray implements \Iterator, \ArrayAccess, \Serializable, \ * @link http://php.net/manual/en/arrayaccess.offsetunset.php * @param mixed $offset The offset to unset. * @throws \InvalidArgumentException - * @return void */ public function offsetUnset($offset) { @@ -150,7 +148,6 @@ class LoadedExtensionsArray implements \Iterator, \ArrayAccess, \Serializable, \ * Move forward to next element * * @link http://php.net/manual/en/iterator.next.php - * @return void Any returned value is ignored. */ public function next() { @@ -189,7 +186,6 @@ class LoadedExtensionsArray implements \Iterator, \ArrayAccess, \Serializable, \ * Rewind the Iterator to the first element * * @link http://php.net/manual/en/iterator.rewind.php - * @return void Any returned value is ignored. */ public function rewind() { @@ -199,8 +195,6 @@ class LoadedExtensionsArray implements \Iterator, \ArrayAccess, \Serializable, \ /** * Reset - * - * @return void */ public function reset() { diff --git a/typo3/sysext/core/Classes/Configuration/ConfigurationManager.php b/typo3/sysext/core/Classes/Configuration/ConfigurationManager.php index 64b4d01cc52b..2993be9af4bc 100644 --- a/typo3/sysext/core/Classes/Configuration/ConfigurationManager.php +++ b/typo3/sysext/core/Classes/Configuration/ConfigurationManager.php @@ -175,7 +175,6 @@ class ConfigurationManager * Override local configuration with new values. * * @param array $configurationToMerge Override configuration array - * @return void */ public function updateLocalConfiguration(array $configurationToMerge) { @@ -295,7 +294,6 @@ class ConfigurationManager * * @access private * @throws \UnexpectedValueException - * @return void */ public function exportConfiguration() { @@ -373,7 +371,6 @@ class ConfigurationManager * by the install tool in an early step. * * @throws \RuntimeException - * @return void * @access private */ public function createLocalConfigurationFromFactoryConfiguration() diff --git a/typo3/sysext/core/Classes/Configuration/FlexForm/FlexFormTools.php b/typo3/sysext/core/Classes/Configuration/FlexForm/FlexFormTools.php index ff28f69b211e..277f4971abcc 100644 --- a/typo3/sysext/core/Classes/Configuration/FlexForm/FlexFormTools.php +++ b/typo3/sysext/core/Classes/Configuration/FlexForm/FlexFormTools.php @@ -908,7 +908,6 @@ class FlexFormTools * @param array $PA Additional configuration used in calling function * @param string $path Path of value in DS structure * @param FlexFormTools $pObj caller - * @return void */ public function cleanFlexFormXML_callBackFunction($dsArr, $data, $PA, $path, $pObj) { diff --git a/typo3/sysext/core/Classes/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcher.php b/typo3/sysext/core/Classes/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcher.php index cca7d8866d31..3c5f21480a5b 100644 --- a/typo3/sysext/core/Classes/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcher.php +++ b/typo3/sysext/core/Classes/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcher.php @@ -59,7 +59,6 @@ abstract class AbstractConditionMatcher * Sets the id of the page to evaluate conditions for. * * @param int $pageId Id of the page (must be positive) - * @return void */ public function setPageId($pageId) { @@ -82,7 +81,6 @@ abstract class AbstractConditionMatcher * Sets the rootline. * * @param array $rootline The rootline to be used for matching (must have elements) - * @return void */ public function setRootline(array $rootline) { @@ -105,7 +103,6 @@ abstract class AbstractConditionMatcher * Sets whether to simulate the behaviour and match all conditions. * * @param bool $simulateMatchResult Whether to simulate positive matches - * @return void */ public function setSimulateMatchResult($simulateMatchResult) { @@ -118,7 +115,6 @@ abstract class AbstractConditionMatcher * Sets whether to simulate the behaviour and match specific conditions. * * @param array $simulateMatchConditions Conditions to simulate a match for - * @return void */ public function setSimulateMatchConditions(array $simulateMatchConditions) { @@ -662,7 +658,6 @@ abstract class AbstractConditionMatcher * Sets a log message. * * @param string $message The log message to set/write - * @return void */ abstract protected function log($message); } diff --git a/typo3/sysext/core/Classes/Console/CommandApplication.php b/typo3/sysext/core/Classes/Console/CommandApplication.php index 41489352049e..1dd9c9e459d1 100644 --- a/typo3/sysext/core/Classes/Console/CommandApplication.php +++ b/typo3/sysext/core/Classes/Console/CommandApplication.php @@ -69,7 +69,6 @@ class CommandApplication implements ApplicationInterface * Run the Symfony Console application in this TYPO3 application * * @param callable $execute - * @return void */ public function run(callable $execute = null) { @@ -92,8 +91,6 @@ class CommandApplication implements ApplicationInterface /** * Check the script is called from a cli environment. - * - * @return void */ protected function checkEnvironmentOrDie() { diff --git a/typo3/sysext/core/Classes/Console/CommandRequestHandler.php b/typo3/sysext/core/Classes/Console/CommandRequestHandler.php index 27070f90a23f..f841fee1dc71 100644 --- a/typo3/sysext/core/Classes/Console/CommandRequestHandler.php +++ b/typo3/sysext/core/Classes/Console/CommandRequestHandler.php @@ -55,7 +55,6 @@ class CommandRequestHandler implements RequestHandlerInterface * Handles any commandline request * * @param InputInterface $input - * @return void */ public function handleRequest(InputInterface $input) { @@ -114,7 +113,6 @@ class CommandRequestHandler implements RequestHandlerInterface } /** - * * @param InputInterface $input * @return bool|Command */ diff --git a/typo3/sysext/core/Classes/Controller/CommandLineController.php b/typo3/sysext/core/Classes/Controller/CommandLineController.php index e5686b014eb3..a272720f382a 100644 --- a/typo3/sysext/core/Classes/Controller/CommandLineController.php +++ b/typo3/sysext/core/Classes/Controller/CommandLineController.php @@ -60,7 +60,6 @@ class CommandLineController * Constructor * Make sure child classes also call this! * - * @return void * @deprecated the CommandLineController is deprecated since TYPO3 v8 and will be removed in TYPO3 v9, use a separate CLI Command instead */ public function __construct() @@ -146,7 +145,6 @@ class CommandLineController /** * Validates if the input arguments in this->cli_args are all listed in this->cli_options and if not, * will exit with an error. - * */ public function cli_validateArgs() { @@ -186,7 +184,6 @@ class CommandLineController * Set environment array to $cli_args * * @param array $argv Configuration options - * @return void */ public function cli_setArguments(array $argv = []) { @@ -247,8 +244,6 @@ class CommandLineController /** * Prints help-output from ->cli_help array - * - * @return void */ public function cli_help() { diff --git a/typo3/sysext/core/Classes/Core/ApplicationInterface.php b/typo3/sysext/core/Classes/Core/ApplicationInterface.php index 4bc7f3fca830..3c9ac5d2cc81 100644 --- a/typo3/sysext/core/Classes/Core/ApplicationInterface.php +++ b/typo3/sysext/core/Classes/Core/ApplicationInterface.php @@ -25,7 +25,6 @@ interface ApplicationInterface * Starting point * * @param callable $execute - * @return void */ public function run(callable $execute = null); } diff --git a/typo3/sysext/core/Classes/Core/Bootstrap.php b/typo3/sysext/core/Classes/Core/Bootstrap.php index 92e5b2526365..e9bd2864591e 100644 --- a/typo3/sysext/core/Classes/Core/Bootstrap.php +++ b/typo3/sysext/core/Classes/Core/Bootstrap.php @@ -344,7 +344,6 @@ class Bootstrap * * @param string $objectName Object name, as later used by the Object Manager * @param object $instance The instance to register - * @return void * @internal This is not a public API method, do not use in own extensions */ public function setEarlyInstance($objectName, $instance) @@ -956,7 +955,6 @@ class Bootstrap * Check for registered ext tables hooks and run them * * @throws \UnexpectedValueException - * @return void */ protected function runExtTablesPostProcessingHooks() { diff --git a/typo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php b/typo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php index f89301cb37e8..33ee08ca6c3e 100644 --- a/typo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php +++ b/typo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php @@ -65,7 +65,6 @@ class SystemEnvironmentBuilder * * @internal This method should not be used by 3rd party code. It will change without further notice. * @param int $entryPointLevel Number of subdirectories where the entry script is located under the document root - * @return void */ public static function run($entryPointLevel = 0) { @@ -79,8 +78,6 @@ class SystemEnvironmentBuilder /** * Define all simple constants that have no dependency to local configuration - * - * @return void */ protected static function defineBaseConstants() { @@ -147,7 +144,6 @@ class SystemEnvironmentBuilder * Calculate all required base paths and set as constants. * * @param int $entryPointLevel Number of subdirectories where the entry script is located under the document root - * @return void */ protected static function definePaths($entryPointLevel = 0) { @@ -176,8 +172,6 @@ class SystemEnvironmentBuilder /** * Check if path and script file name calculation was successful, exit if not. - * - * @return void */ protected static function checkMainPathsExist() { @@ -195,8 +189,6 @@ class SystemEnvironmentBuilder /** * Set up / initialize several globals variables - * - * @return void */ protected static function initializeGlobalVariables() { @@ -210,8 +202,6 @@ class SystemEnvironmentBuilder /** * Initialize global time tracking variables. * These are helpers to for example output script parsetime at the end of a script. - * - * @return void */ protected static function initializeGlobalTimeTrackingVariables() { @@ -237,8 +227,6 @@ class SystemEnvironmentBuilder * ext_localconf or ext_tables. Since the final error reporting must be set up * after those extension files are read, a default configuration is needed to * suppress error reporting meanwhile during further bootstrap. - * - * @return void */ protected static function initializeBasicErrorReporting() { diff --git a/typo3/sysext/core/Classes/DataHandling/DataHandler.php b/typo3/sysext/core/Classes/DataHandling/DataHandler.php index 0d611578a927..9be45edfe094 100644 --- a/typo3/sysext/core/Classes/DataHandling/DataHandler.php +++ b/typo3/sysext/core/Classes/DataHandling/DataHandler.php @@ -730,7 +730,6 @@ class DataHandler * @param array $data Data to be modified or inserted in the database * @param array $cmd Commands to copy, move, delete, localize, versionize records. * @param BackendUserAuthentication|NULL $altUserObject An alternative userobject you can set instead of the default, which is $GLOBALS['BE_USER'] - * @return void */ public function start($data, $cmd, $altUserObject = null) { @@ -776,7 +775,6 @@ class DataHandler * Example: $mirror[table][11] = '22,33' will look for content in $this->datamap[table][11] and copy it to $this->datamap[table][22] and $this->datamap[table][33] * * @param array $mirror This array has the syntax $mirror[table_name][uid] = [list of uids to copy data-value TO!] - * @return void */ public function setMirror($mirror) { @@ -806,7 +804,6 @@ class DataHandler * Initializes default values coming from User TSconfig * * @param array $userTS User TSconfig array - * @return void */ public function setDefaultsFromUserTS($userTS) { @@ -833,7 +830,6 @@ class DataHandler * It turns out that some versions of PHP arranges submitted data for files different if sent in an array. This function will unify this so the internal array $this->uploadedFileArray will always contain files arranged in the same structure. * * @param array $postFiles $_FILES array - * @return void */ public function process_uploads($postFiles) { @@ -869,7 +865,6 @@ class DataHandler * @param array $outputArr $this->uploadedFileArray passed by reference * @param array $inputArr Input array ($_FILES parts) * @param string $keyToSet The current $_FILES array key to set on the outermost level. - * @return void * @access private * @see process_uploads() */ @@ -901,7 +896,6 @@ class DataHandler * @param string $table (reference) The table currently processing data for * @param string $id (reference) The record uid currently processing data for, [integer] or [string] (like 'NEW...') * @param array $fieldArray (reference) The field array of a record - * @return void */ public function hook_processDatamap_afterDatabaseOperations(&$hookObjectsArr, &$status, &$table, &$id, &$fieldArray) { @@ -1356,7 +1350,6 @@ class DataHandler * * @param string $table Table name * @param int $id Record uid - * @return void */ public function placeholderShadowing($table, $id) { @@ -2848,7 +2841,6 @@ class DataHandler * @param bool $set TRUE if an update should be done * @throws \InvalidArgumentException * @throws \TYPO3\CMS\Core\Exception - * @return void */ protected function checkValue_input_ValidateEmail($value, &$set) { @@ -2992,7 +2984,6 @@ class DataHandler * @param string $callBackFunc Call back function, default is checkValue_SW(). If $this->callBackObj is set to an object, the callback function in that object is called instead. * @param string $structurePath * @param array $workspaceOptions - * @return void * @see checkValue_flex_procInData() */ public function checkValue_flex_procInData_travDS(&$dataValues, $dataValues_current, $uploadedFiles, $DSelements, $pParams, $callBackFunc, $structurePath, array $workspaceOptions = []) @@ -3459,7 +3450,6 @@ class DataHandler * * @param int $uid Page UID to copy * @param int $destPid Destination PID: >=0 then it points to a page-id on which to insert the record (as the first element). <0 then it points to a uid from its own table after which to insert it (works if - * @return void */ public function copyPages($uid, $destPid) { @@ -4032,7 +4022,6 @@ class DataHandler * * @param string $table Table name * @param int $theNewSQLID Record UID - * @return void */ public function copyRecord_fixRTEmagicImages($table, $theNewSQLID) { @@ -4138,7 +4127,6 @@ class DataHandler * @param bool $first * @param array $overrideValues * @param string $excludeFields - * @return void */ public function copyL10nOverlayRecords($table, $uid, $destPid, $first = false, $overrideValues = [], $excludeFields = '') { @@ -4257,7 +4245,6 @@ class DataHandler * @param string $table Table name to move * @param int $uid Record uid to move * @param int $destPid Position to move to: $destPid: >=0 then it points to a page-id on which to insert the record (as the first element). <0 then it points to a uid from its own table after which to insert it (works if - * @return void */ public function moveRecord($table, $uid, $destPid) { @@ -4343,7 +4330,6 @@ class DataHandler * @param string $table Table name to move * @param int $uid Record uid to move * @param int $destPid Position to move to: $destPid: >=0 then it points to a page-id on which to insert the record (as the first element). <0 then it points to a uid from its own table after which to insert it (works if - * @return void * @see moveRecord() */ public function moveRecord_raw($table, $uid, $destPid) @@ -4497,7 +4483,6 @@ class DataHandler * @param string $table Record Table * @param string $uid Record UID * @param string $destPid Position to move to - * @return void */ public function moveRecord_procFields($table, $uid, $destPid) { @@ -4519,7 +4504,6 @@ class DataHandler * @param string $field Record field * @param string $value Record field value * @param array $conf TCA configuration of current field - * @return void */ public function moveRecord_procBasedOnFieldType($table, $uid, $destPid, $field, $value, $conf) { @@ -4556,7 +4540,6 @@ class DataHandler * @param string $uid Record UID * @param string $destPid Position to move to * @param string $originalRecordDestinationPid Position to move the original record to - * @return void */ public function moveL10nOverlayRecords($table, $uid, $destPid, $originalRecordDestinationPid) { @@ -4828,7 +4811,6 @@ class DataHandler * @param string $table The table of the localized parent record * @param int $id The uid of the localized parent record * @param array|string $command Defines the command to be performed (see example above) - * @return void */ protected function inlineLocalizeSynchronize($table, $id, $command) { @@ -4981,7 +4963,6 @@ class DataHandler * * @param string $table Table name * @param int $id Record UID - * @return void */ public function deleteAction($table, $id) { @@ -5011,7 +4992,6 @@ class DataHandler * @param int $uid Record UID * @param bool $noRecordCheck Flag: If $noRecordCheck is set, then the function does not check permission to delete record * @param bool $forceHardDelete If TRUE, the "deleted" flag is ignored if applicable for record and the record is deleted COMPLETELY! - * @return void */ public function deleteEl($table, $uid, $noRecordCheck = false, $forceHardDelete = false) { @@ -5029,7 +5009,6 @@ class DataHandler * @param string $table Table name * @param int $uid Record UID * @param bool $forceHardDelete If TRUE, the "deleted" flag is ignored if applicable for record and the record is deleted COMPLETELY! - * @return void */ public function deleteVersionsForRecord($table, $uid, $forceHardDelete) { @@ -5061,7 +5040,6 @@ class DataHandler * * @param string $table Table name * @param int $uid Record UID - * @return void */ public function undeleteRecord($table, $uid) { @@ -5081,7 +5059,6 @@ class DataHandler * @param bool $noRecordCheck Flag: If $noRecordCheck is set, then the function does not check permission to delete record * @param bool $forceHardDelete If TRUE, the "deleted" flag is ignored if applicable for record and the record is deleted COMPLETELY! * @param bool $undeleteRecord If TRUE, the "deleted" flag is set to 0 again and thus, the item is undeleted. - * @return void */ public function deleteRecord($table, $uid, $noRecordCheck = false, $forceHardDelete = false, $undeleteRecord = false) { @@ -5249,7 +5226,6 @@ class DataHandler * @param array $PA * @param string $structurePath not used * @param object $pObj not used - * @return void */ public function deleteRecord_flexFormCallBack($dsArr, $dataValue, $PA, $structurePath, $pObj) { @@ -5276,7 +5252,6 @@ class DataHandler * @param int $uid Page id * @param bool $force If TRUE, pages are not checked for permission. * @param bool $forceHardDelete If TRUE, the "deleted" flag is ignored if applicable for record and the record is deleted COMPLETELY! - * @return void */ public function deletePages($uid, $force = false, $forceHardDelete = false) { @@ -5316,7 +5291,6 @@ class DataHandler * * @param int $uid Page id * @param bool $forceHardDelete If TRUE, the "deleted" flag is ignored if applicable for record and the record is deleted COMPLETELY! - * @return void * @access private * @see deletePages() */ @@ -5364,7 +5338,6 @@ class DataHandler * * @param string $table Record table * @param int $uid Record uid - * @return void */ protected function copyMovedRecordToNewLocation($table, $uid) { @@ -5493,7 +5466,6 @@ class DataHandler * @param string $table Record Table * @param string $uid Record UID * @param bool $undeleteRecord If a record should be undeleted (e.g. from history/undo) - * @return void * @see deleteRecord() */ public function deleteRecord_procFields($table, $uid, $undeleteRecord = false) @@ -5518,7 +5490,6 @@ class DataHandler * @param string $value Record field value * @param array $conf TCA configuration of current field * @param bool $undeleteRecord If a record should be undeleted (e.g. from history/undo) - * @return void * @see deleteRecord() */ public function deleteRecord_procBasedOnFieldType($table, $uid, $field, $value, $conf, $undeleteRecord = false) @@ -5566,7 +5537,6 @@ class DataHandler * * @param string $table Record Table * @param string $uid Record UID - * @return void */ public function deleteL10nOverlayRecords($table, $uid) { @@ -5743,7 +5713,6 @@ class DataHandler * @param string $table Table for the two input records * @param int $id Current record (about to go offline) * @param int $swapWith Swap record (about to go online) - * @return void * @see version_swap() */ public function version_remapMMForVersionSwap($table, $id, $swapWith) @@ -5838,7 +5807,6 @@ class DataHandler * @param string $table Table for the two input records * @param int $id Current record (about to go offline) * @param int $swapWith Swap record (about to go online) - * @return void * @see version_remapMMForVersionSwap() */ public function version_remapMMForVersionSwap_execSwap($table, $id, $swapWith) @@ -5888,8 +5856,6 @@ class DataHandler /** * Processes the fields with references as registered during the copy process. This includes all FlexForm fields which had references. - * - * @return void */ public function remapListedDBRecords() { @@ -6052,7 +6018,6 @@ class DataHandler * @param string $value Field value * @param int $uid The uid of the ORIGINAL record * @param string $table Table name - * @return void */ public function remapListedDBRecords_procInline($conf, $value, $uid, $table) { @@ -6105,8 +6070,6 @@ class DataHandler /** * Processes the $this->remapStack at the end of copying, inserting, etc. actions. * The remapStack takes care about the correct mapping of new and old uids in case of relational data. - * - * @return void */ public function processRemapStack() { @@ -6236,7 +6199,6 @@ class DataHandler * * @param string $flexFormId, e.g. <table>:<uid>:<field> * @param array $modifications Modifications with paths and values (e.g. 'sDEF/lDEV/field/vDEF' => 'TYPO3') - * @return void */ protected function updateFlexFormData($flexFormId, array $modifications) { @@ -6286,7 +6248,6 @@ class DataHandler * @param array $callback The method to be called * @param array $arguments The arguments to be submitted to the callback method * @param bool $forceRemapStackActions Whether to force to use the stack - * @return void * @see processRemapStack */ protected function triggerRemapAction($table, $id, array $callback, array $arguments, $forceRemapStackActions = false) @@ -6306,7 +6267,6 @@ class DataHandler * @param int $id The affected ID * @param array $callback The callback information (object and method) * @param array $arguments The arguments to be used with the callback - * @return void */ public function addRemapAction($table, $id, array $callback, array $arguments) { @@ -6325,7 +6285,6 @@ class DataHandler * * @param string $table * @param int $id - * @return void */ public function addRemapStackRefIndex($table, $id) { @@ -6342,7 +6301,6 @@ class DataHandler * @param int $id Uid of the parent record * @param array $incomingFieldArray Reference to the incomingFieldArray of process_datamap * @param array $registerDBList Reference to the $registerDBList array that was created/updated by versionizing calls to DataHandler in process_datamap. - * @return void */ public function getVersionizedIncomingFieldArray($table, $id, &$incomingFieldArray, &$registerDBList) { @@ -6958,7 +6916,6 @@ class DataHandler * @param string $table Record table name * @param int $id Record uid * @param array $fieldArray Array of field=>value pairs to insert. FIELDS MUST MATCH the database FIELDS. No check is done. - * @return void */ public function updateDB($table, $id, $fieldArray) { @@ -7176,7 +7133,6 @@ class DataHandler * @param string $table Table name * @param int $id Record ID * @param int $logId Log entry ID, important for linking between log and history views - * @return void */ public function setHistory($table, $id, $logId) { @@ -7200,7 +7156,6 @@ class DataHandler * * @param string $table Table name * @param int $id Record UID - * @return void */ public function updateRefIndex($table, $id) { @@ -7521,7 +7476,6 @@ class DataHandler * * @param string $table Table name * @param array $incomingFieldArray Incoming array (passed by reference) - * @return void */ public function addDefaultPermittedLanguageIfNotSet($table, &$incomingFieldArray) { @@ -7726,8 +7680,6 @@ class DataHandler * Disables the delete clause for fetching records. * In general only undeleted records will be used. If the delete * clause is disabled, also deleted records are taken into account. - * - * @return void */ public function disableDeleteClause() { @@ -7754,7 +7706,6 @@ class DataHandler * Add delete restriction if not disabled * * @param QueryRestrictionContainerInterface $restrictions - * @return void */ protected function addDeleteRestriction(QueryRestrictionContainerInterface $restrictions) { @@ -7834,8 +7785,6 @@ class DataHandler /** * Executing dbAnalysisStore * This will save MM relations for new records but is executed after records are created because we need to know the ID of them - * - * @return void */ public function dbAnalysisStoreExec() { @@ -7849,8 +7798,6 @@ class DataHandler /** * Removing files registered for removal before exit - * - * @return void */ public function removeRegisteredFiles() { @@ -7944,7 +7891,6 @@ class DataHandler * * @param string $table Table name * @param int $uid Record UID - * @return void */ public function fixUniqueInPid($table, $uid) { @@ -8191,7 +8137,6 @@ class DataHandler * @param string $field Field name * @param string $filelist List of files to work on from field * @param string $func Function, eg. "deleteAll" which will delete all files listed. - * @return void */ public function extFileFunctions($table, $field, $filelist, $func) { @@ -8298,7 +8243,6 @@ class DataHandler * @param string $table Table name of record that was just updated. * @param int $uid UID of updated / inserted record * @param int $pid REAL PID of page of a deleted/moved record to get TSconfig in ClearCache. - * @return void * @internal This method is not meant to be called directly but only from the core itself or from hooks */ public function registerRecordIdForPageCacheClearing($table, $uid, $pid = null) @@ -8317,7 +8261,6 @@ class DataHandler /** * Do the actual clear cache - * @return void */ protected function processClearCacheQueue() { @@ -8525,7 +8468,6 @@ class DataHandler * * * @param string $cacheCmd The cache command, see above description - * @return void */ public function clear_cacheCmd($cacheCmd) { @@ -8679,7 +8621,6 @@ class DataHandler * Print log error messages from the operations of this script instance * * @param string $redirect Redirect URL (for creating link in message) - * @return void (Will exit on error) */ public function printLogErrorMessages($redirect) { @@ -8799,7 +8740,6 @@ class DataHandler * Adds new values to the remapStackChildIds array. * * @param array $idValues uid values - * @return void */ protected function addNewValuesToRemapStackChildIds(array $idValues) { @@ -8910,7 +8850,6 @@ class DataHandler * @param string $table Name of the table * @param int $id Uid of the record * @param string $identifier Name of the action to be tracked - * @return void */ protected function registerNestedElementCall($table, $id, $identifier) { @@ -8921,8 +8860,6 @@ class DataHandler /** * Resets the nested element calls. - * - * @return void */ protected function resetNestedElementCalls() { @@ -8949,7 +8886,6 @@ class DataHandler /** * Registers elements to be deleted in the registry. * - * @return void * @see process_datamap */ protected function registerElementsToBeDeleted() @@ -8961,7 +8897,6 @@ class DataHandler /** * Resets the elements to be deleted in the registry. * - * @return void * @see process_datamap */ protected function resetElementsToBeDeleted() @@ -9011,8 +8946,6 @@ class DataHandler /** * Controls active elements and sets NULL values if not active. * Datamap is modified accordant to submitted control values. - * - * @return void */ protected function controlActiveElements() { @@ -9031,7 +8964,6 @@ class DataHandler * * @param array $active hierarchical array with active elements * @param array $haystack hierarchical array with haystack to be modified - * @return void */ protected function setNullValues(array $active, array &$haystack) { diff --git a/typo3/sysext/core/Classes/DataHandling/DataHandlerCheckModifyAccessListHookInterface.php b/typo3/sysext/core/Classes/DataHandling/DataHandlerCheckModifyAccessListHookInterface.php index 22979ccfe672..24a3494947fb 100644 --- a/typo3/sysext/core/Classes/DataHandling/DataHandlerCheckModifyAccessListHookInterface.php +++ b/typo3/sysext/core/Classes/DataHandling/DataHandlerCheckModifyAccessListHookInterface.php @@ -25,7 +25,6 @@ interface DataHandlerCheckModifyAccessListHookInterface * @param bool &$accessAllowed Whether the user has access to modify a table * @param string $table The name of the table to be modified * @param \TYPO3\CMS\Core\DataHandling\DataHandler $parent The calling parent object - * @return void */ public function checkModifyAccessList(&$accessAllowed, $table, \TYPO3\CMS\Core\DataHandling\DataHandler $parent); } diff --git a/typo3/sysext/core/Classes/DataHandling/DataHandlerProcessUploadHookInterface.php b/typo3/sysext/core/Classes/DataHandling/DataHandlerProcessUploadHookInterface.php index c55d40186574..f01fe76b5dff 100644 --- a/typo3/sysext/core/Classes/DataHandling/DataHandlerProcessUploadHookInterface.php +++ b/typo3/sysext/core/Classes/DataHandling/DataHandlerProcessUploadHookInterface.php @@ -25,7 +25,6 @@ interface DataHandlerProcessUploadHookInterface * * @param string $filename The uploaded file * @param \TYPO3\CMS\Core\DataHandling\DataHandler $parentObject - * @return void */ public function processUpload_postProcessAction(&$filename, \TYPO3\CMS\Core\DataHandling\DataHandler $parentObject); } diff --git a/typo3/sysext/core/Classes/DataHandling/TableColumnSubType.php b/typo3/sysext/core/Classes/DataHandling/TableColumnSubType.php index 36781285e590..4703f79088aa 100644 --- a/typo3/sysext/core/Classes/DataHandling/TableColumnSubType.php +++ b/typo3/sysext/core/Classes/DataHandling/TableColumnSubType.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\DataHandling; /** * Enumeration object for tca internal type - * */ class TableColumnSubType extends \TYPO3\CMS\Core\Type\Enumeration { diff --git a/typo3/sysext/core/Classes/DataHandling/TableColumnType.php b/typo3/sysext/core/Classes/DataHandling/TableColumnType.php index 8a600b85fad1..92f5a27fea80 100644 --- a/typo3/sysext/core/Classes/DataHandling/TableColumnType.php +++ b/typo3/sysext/core/Classes/DataHandling/TableColumnType.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\DataHandling; /** * Enumeration object for tca type - * */ class TableColumnType extends \TYPO3\CMS\Core\Type\Enumeration { diff --git a/typo3/sysext/core/Classes/Database/DatabaseConnection.php b/typo3/sysext/core/Classes/Database/DatabaseConnection.php index 43c7f681771e..9cc9016d2470 100644 --- a/typo3/sysext/core/Classes/Database/DatabaseConnection.php +++ b/typo3/sysext/core/Classes/Database/DatabaseConnection.php @@ -182,8 +182,6 @@ class DatabaseConnection /** * Initialize the database connection - * - * @return void */ public function initialize() { @@ -1623,7 +1621,6 @@ class DatabaseConnection * The default value of this setting is utf8. * * @param string $connectionCharset The connection charset that will be passed on to mysqli_set_charset() when connecting the database. Default is utf8. - * @return void */ public function setConnectionCharset($connectionCharset = 'utf8') { @@ -1636,7 +1633,6 @@ class DatabaseConnection * * @throws \RuntimeException * @throws \UnexpectedValueException - * @return void */ public function connectDB() { @@ -1719,7 +1715,6 @@ class DatabaseConnection * If the character set does not match or if the session variables * can not be read a RuntimeException is thrown. * - * @return void * @throws \RuntimeException */ protected function checkConnectionCharset() @@ -1787,8 +1782,6 @@ class DatabaseConnection /** * Disconnect from database if connected - * - * @return void */ protected function disconnectIfConnected() { @@ -1840,7 +1833,6 @@ class DatabaseConnection * * @param string $func Function calling debug() * @param string $query Last query if not last built query - * @return void */ public function debug($func, $query = '') { diff --git a/typo3/sysext/core/Classes/Database/PdoHelper.php b/typo3/sysext/core/Classes/Database/PdoHelper.php index e9e6543adb08..5d9dc27516fc 100644 --- a/typo3/sysext/core/Classes/Database/PdoHelper.php +++ b/typo3/sysext/core/Classes/Database/PdoHelper.php @@ -30,7 +30,6 @@ class PdoHelper * @param \PDO $databaseHandle * @param string $pdoDriver * @param string $pathAndFilename - * @return void */ public static function importSql(\PDO $databaseHandle, $pdoDriver, $pathAndFilename) { diff --git a/typo3/sysext/core/Classes/Database/PostProcessQueryHookInterface.php b/typo3/sysext/core/Classes/Database/PostProcessQueryHookInterface.php index 41712e20e700..d7602130bb87 100644 --- a/typo3/sysext/core/Classes/Database/PostProcessQueryHookInterface.php +++ b/typo3/sysext/core/Classes/Database/PostProcessQueryHookInterface.php @@ -30,7 +30,6 @@ interface PostProcessQueryHookInterface * @param string $orderBy Order by statement * @param int $limit Database return limit * @param \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject - * @return void */ public function exec_SELECTquery_postProcessAction(&$select_fields, &$from_table, &$where_clause, &$groupBy, &$orderBy, &$limit, \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject); @@ -41,7 +40,6 @@ interface PostProcessQueryHookInterface * @param array $fieldsValues Field values as key => value pairs * @param string|array $noQuoteFields List/array of keys NOT to quote * @param \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject - * @return void */ public function exec_INSERTquery_postProcessAction(&$table, array &$fieldsValues, &$noQuoteFields, \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject); @@ -53,7 +51,6 @@ interface PostProcessQueryHookInterface * @param array $rows Table rows * @param string|array $noQuoteFields List/array of keys NOT to quote * @param \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject - * @return void */ public function exec_INSERTmultipleRows_postProcessAction(&$table, array &$fields, array &$rows, &$noQuoteFields, \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject); @@ -65,7 +62,6 @@ interface PostProcessQueryHookInterface * @param array $fieldsValues Field values as key => value pairs * @param string|array $noQuoteFields List/array of keys NOT to quote * @param \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject - * @return void */ public function exec_UPDATEquery_postProcessAction(&$table, &$where, array &$fieldsValues, &$noQuoteFields, \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject); @@ -75,7 +71,6 @@ interface PostProcessQueryHookInterface * @param string $table Database table name * @param string $where WHERE clause * @param \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject - * @return void */ public function exec_DELETEquery_postProcessAction(&$table, &$where, \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject); @@ -84,7 +79,6 @@ interface PostProcessQueryHookInterface * * @param string $table Database table name * @param \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject - * @return void */ public function exec_TRUNCATEquery_postProcessAction(&$table, \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject); } diff --git a/typo3/sysext/core/Classes/Database/PreProcessQueryHookInterface.php b/typo3/sysext/core/Classes/Database/PreProcessQueryHookInterface.php index aac83e578725..56ebe6ca8f7d 100644 --- a/typo3/sysext/core/Classes/Database/PreProcessQueryHookInterface.php +++ b/typo3/sysext/core/Classes/Database/PreProcessQueryHookInterface.php @@ -30,7 +30,6 @@ interface PreProcessQueryHookInterface * @param string $orderBy Order by statement * @param int $limit Database return limit * @param \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject - * @return void */ public function SELECTquery_preProcessAction(&$select_fields, &$from_table, &$where_clause, &$groupBy, &$orderBy, &$limit, \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject); @@ -41,7 +40,6 @@ interface PreProcessQueryHookInterface * @param array $fieldsValues Field values as key => value pairs * @param string|array $noQuoteFields List/array of keys NOT to quote * @param \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject - * @return void */ public function INSERTquery_preProcessAction(&$table, array &$fieldsValues, &$noQuoteFields, \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject); @@ -55,7 +53,6 @@ interface PreProcessQueryHookInterface * @param array $rows Table rows * @param string|array $noQuoteFields List/array of keys NOT to quote * @param \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject - * @return void */ public function INSERTmultipleRows_preProcessAction(&$table, array &$fields, array &$rows, &$noQuoteFields, \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject); @@ -67,7 +64,6 @@ interface PreProcessQueryHookInterface * @param array $fieldsValues Field values as key => value pairs * @param string|array $noQuoteFields List/array of keys NOT to quote * @param \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject - * @return void */ public function UPDATEquery_preProcessAction(&$table, &$where, array &$fieldsValues, &$noQuoteFields, \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject); @@ -77,7 +73,6 @@ interface PreProcessQueryHookInterface * @param string $table Database table name * @param string $where WHERE clause * @param \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject - * @return void */ public function DELETEquery_preProcessAction(&$table, &$where, \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject); @@ -86,7 +81,6 @@ interface PreProcessQueryHookInterface * * @param string $table Database table name * @param \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject - * @return void */ public function TRUNCATEquery_preProcessAction(&$table, \TYPO3\CMS\Core\Database\DatabaseConnection $parentObject); } diff --git a/typo3/sysext/core/Classes/Database/PreparedStatement.php b/typo3/sysext/core/Classes/Database/PreparedStatement.php index 27f750af79ca..01460afab00d 100644 --- a/typo3/sysext/core/Classes/Database/PreparedStatement.php +++ b/typo3/sysext/core/Classes/Database/PreparedStatement.php @@ -497,7 +497,6 @@ class PreparedStatement * Releases the cursor. Should always be call after having fetched rows from * a query execution. * - * @return void * @api */ public function free() @@ -549,7 +548,6 @@ class PreparedStatement * Sets the default fetch mode for this prepared query. * * @param int $mode One of the \TYPO3\CMS\Core\Database\PreparedStatement::FETCH_* constants - * @return void * @api */ public function setFetchMode($mode) @@ -602,7 +600,6 @@ class PreparedStatement * @param string $query * @param array $parameterValues * @param array $precompiledQueryParts - * @return void */ protected function convertNamedPlaceholdersToQuestionMarks(&$query, array &$parameterValues, array &$precompiledQueryParts) { diff --git a/typo3/sysext/core/Classes/Database/Query/BulkInsertQuery.php b/typo3/sysext/core/Classes/Database/Query/BulkInsertQuery.php index 00e3ff01cfa3..e02ba58691a6 100644 --- a/typo3/sysext/core/Classes/Database/Query/BulkInsertQuery.php +++ b/typo3/sysext/core/Classes/Database/Query/BulkInsertQuery.php @@ -108,8 +108,6 @@ class BulkInsertQuery * for a single column (named and indexed) or * multiple types are given for a single column * (named and indexed). - * - * @return void */ public function addValues(array $values, array $types = []) { diff --git a/typo3/sysext/core/Classes/Database/QueryGenerator.php b/typo3/sysext/core/Classes/Database/QueryGenerator.php index bf95cb00cf52..d4ad1ba9898b 100644 --- a/typo3/sysext/core/Classes/Database/QueryGenerator.php +++ b/typo3/sysext/core/Classes/Database/QueryGenerator.php @@ -278,7 +278,6 @@ class QueryGenerator * @param string $name The name * @param string $table The table name * @param string $fieldList The field list - * @return void */ public function init($name, $table, $fieldList = '') { @@ -407,7 +406,6 @@ class QueryGenerator * @param string $name The name * @param string $list The list * @param string $force - * @return void */ public function setAndCleanUpExternalLists($name, $list, $force = '') { @@ -425,7 +423,6 @@ class QueryGenerator * Process data * * @param string $qC Query config - * @return void */ public function procesData($qC = '') { @@ -1221,8 +1218,6 @@ class QueryGenerator /** * Init user definition - * - * @return void */ public function initUserDef() { @@ -1364,7 +1359,6 @@ class QueryGenerator * * @param array $qcArr * @param bool $first - * @return void */ public function getUserDefQuery($qcArr, $first) { @@ -1689,7 +1683,6 @@ class QueryGenerator * Sets the current name of the input form. * * @param string $formName The name of the form. - * @return void */ public function setFormName($formName) { diff --git a/typo3/sysext/core/Classes/Database/QueryView.php b/typo3/sysext/core/Classes/Database/QueryView.php index 746ac85abba0..cb40a329dea4 100644 --- a/typo3/sysext/core/Classes/Database/QueryView.php +++ b/typo3/sysext/core/Classes/Database/QueryView.php @@ -1253,7 +1253,6 @@ class QueryView * Sets the current name of the input form. * * @param string $formName The name of the form. - * @return void */ public function setFormName($formName) { diff --git a/typo3/sysext/core/Classes/Database/ReferenceIndex.php b/typo3/sysext/core/Classes/Database/ReferenceIndex.php index 92edeb3126d9..f56a3ba54cfb 100644 --- a/typo3/sysext/core/Classes/Database/ReferenceIndex.php +++ b/typo3/sysext/core/Classes/Database/ReferenceIndex.php @@ -464,7 +464,6 @@ class ReferenceIndex * @param string $flexPointer Pointer to location inside FlexForm structure where reference is located in [field] * @param int $deleted Whether record is deleted-flagged or not * @param array $items Data array with database relations (table/id) - * @return void */ public function createEntryData_dbRels($table, $uid, $fieldName, $flexPointer, $deleted, $items) { @@ -482,7 +481,6 @@ class ReferenceIndex * @param string $flexPointer Pointer to location inside FlexForm structure where reference is located in [field] * @param int $deleted Whether record is deleted-flagged or not * @param array $items Data array with file relations - * @return void */ public function createEntryData_fileRels($table, $uid, $fieldName, $flexPointer, $deleted, $items) { @@ -504,7 +502,6 @@ class ReferenceIndex * @param string $flexPointer Pointer to location inside FlexForm structure * @param int $deleted * @param array $keys Data array with soft reference keys - * @return void */ public function createEntryData_softreferences($table, $uid, $fieldName, $flexPointer, $deleted, $keys) { @@ -660,7 +657,6 @@ class ReferenceIndex * @param array $PA Additional configuration used in calling function * @param string $structurePath Path of value in DS structure * @param object $parentObject Object reference to caller (unused) - * @return void * @see DataHandler::checkValue_flex_procInData_travDS(),FlexFormTools::traverseFlexFormXMLData() */ public function getRelations_flexFormCallBack($dsArr, $dataValue, $PA, $structurePath, $parentObject) diff --git a/typo3/sysext/core/Classes/Database/RelationHandler.php b/typo3/sysext/core/Classes/Database/RelationHandler.php index 3323d7045de0..616e006c975b 100644 --- a/typo3/sysext/core/Classes/Database/RelationHandler.php +++ b/typo3/sysext/core/Classes/Database/RelationHandler.php @@ -257,7 +257,6 @@ class RelationHandler * @param int $MMuid Local UID for MM lookup * @param string $currentTable Current table name * @param array $conf TCA configuration for current field - * @return void */ public function start($itemlist, $tablelist, $MMtable = '', $MMuid = 0, $currentTable = '', $conf = []) { @@ -357,7 +356,6 @@ class RelationHandler * Sets whether the reference index shall be updated. * * @param bool $updateReferenceIndex Whether the reference index shall be updated - * @return void */ public function setUpdateReferenceIndex($updateReferenceIndex) { @@ -385,7 +383,6 @@ class RelationHandler * * @param string $itemlist Item list * @param array $configuration Parent field configuration - * @return void */ public function readList($itemlist, array $configuration) { @@ -467,7 +464,6 @@ class RelationHandler * This function is only relevant for data that is stored in comma separated lists! * * @param string $sortby The default_sortby field/command (e.g. 'price DESC') - * @return void */ public function sortList($sortby) { @@ -519,7 +515,6 @@ class RelationHandler * * @param string $tableName MM Tablename * @param int $uid Local UID - * @return void */ public function readMM($tableName, $uid) { @@ -606,7 +601,6 @@ class RelationHandler * @param string $MM_tableName MM table name * @param int $uid Local UID * @param bool $prependTableName If set, then table names will always be written. - * @return void */ public function writeMM($MM_tableName, $uid, $prependTableName = false) { @@ -850,7 +844,6 @@ class RelationHandler * @param int $uid Local, current UID * @param int $newUid Local, new UID * @param bool $prependTableName If set, then table names will always be written. - * @return void */ public function remapMM($MM_tableName, $uid, $newUid, $prependTableName = false) { @@ -904,7 +897,6 @@ class RelationHandler * * @param int $uid The uid of the parent record (this value is also on the foreign_table in the foreign_field) * @param array $conf TCA configuration for current field - * @return void */ public function readForeignField($uid, $conf) { @@ -1043,7 +1035,6 @@ class RelationHandler * @param int $parentUid The uid of the parent record * @param int $updateToUid If this is larger than zero it will be used as foreign UID instead of the given $parentUid (on Copy) * @param bool $skipSorting Do not update the sorting columns, this could happen for imported values - * @return void */ public function writeForeignField($conf, $parentUid, $updateToUid = 0, $skipSorting = false) { diff --git a/typo3/sysext/core/Classes/Database/Schema/Parser/Parser.php b/typo3/sysext/core/Classes/Database/Schema/Parser/Parser.php index 975c0fe4d8dd..a46095508dfa 100644 --- a/typo3/sysext/core/Classes/Database/Schema/Parser/Parser.php +++ b/typo3/sysext/core/Classes/Database/Schema/Parser/Parser.php @@ -81,7 +81,6 @@ class Parser * * @param int $token The token type. * - * @return void * * @throws StatementException If the tokens don't match. */ @@ -123,8 +122,6 @@ class Parser * * @param bool $deep Whether to clean peek and reset errors. * @param int $position Position to reset. - * - * @return void */ public function free($deep = false, $position = 0) { @@ -169,7 +166,6 @@ class Parser * @param string $expected Expected string. * @param array|null $token Got token. * - * @return void * * @throws \TYPO3\CMS\Core\Database\Schema\Exception\StatementException */ @@ -194,7 +190,6 @@ class Parser * @param string $message Optional message. * @param array|null $token Optional token. * - * @return void * * @throws \TYPO3\CMS\Core\Database\Schema\Exception\StatementException */ diff --git a/typo3/sysext/core/Classes/Database/TableConfigurationPostProcessingHookInterface.php b/typo3/sysext/core/Classes/Database/TableConfigurationPostProcessingHookInterface.php index 4eeb947051e8..777175c8f7ca 100644 --- a/typo3/sysext/core/Classes/Database/TableConfigurationPostProcessingHookInterface.php +++ b/typo3/sysext/core/Classes/Database/TableConfigurationPostProcessingHookInterface.php @@ -22,8 +22,6 @@ interface TableConfigurationPostProcessingHookInterface /** * Function which may process data created / registered by extTables * scripts (f.e. modifying TCA data of all extensions) - * - * @return void */ public function processData(); } diff --git a/typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php b/typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php index 3e788da96d71..84cda3930aee 100644 --- a/typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php +++ b/typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php @@ -50,7 +50,6 @@ abstract class AbstractExceptionHandler implements ExceptionHandlerInterface, \T * * @param \Throwable $exception The throwable object. * @param string $context The context where the exception was thrown, WEB or CLI - * @return void * @see \TYPO3\CMS\Core\Utility\GeneralUtility::sysLog(), \TYPO3\CMS\Core\Utility\GeneralUtility::devLog() */ protected function writeLogEntries(\Throwable $exception, $context) @@ -92,7 +91,6 @@ abstract class AbstractExceptionHandler implements ExceptionHandlerInterface, \T * Writes an exception in the sys_log table * * @param string $logMessage Default text that follows the message. - * @return void */ protected function writeLog($logMessage) { @@ -140,7 +138,6 @@ abstract class AbstractExceptionHandler implements ExceptionHandlerInterface, \T * TYPO3\CMS\Core\Error\Http\StatusException and headers are not sent, yet. * * @param \Throwable $exception The throwable object. - * @return void */ protected function sendStatusHeaders(\Throwable $exception) { diff --git a/typo3/sysext/core/Classes/Error/DebugExceptionHandler.php b/typo3/sysext/core/Classes/Error/DebugExceptionHandler.php index 150b81e7a73b..90a5f0870c60 100644 --- a/typo3/sysext/core/Classes/Error/DebugExceptionHandler.php +++ b/typo3/sysext/core/Classes/Error/DebugExceptionHandler.php @@ -35,7 +35,6 @@ class DebugExceptionHandler extends AbstractExceptionHandler * Formats and echoes the exception as XHTML. * * @param \Throwable $exception The throwable object. - * @return void */ public function echoExceptionWeb(\Throwable $exception) { @@ -113,7 +112,6 @@ class DebugExceptionHandler extends AbstractExceptionHandler * Formats and echoes the exception for the command line * * @param \Throwable $exception The throwable object. - * @return void */ public function echoExceptionCLI(\Throwable $exception) { diff --git a/typo3/sysext/core/Classes/Error/ErrorHandler.php b/typo3/sysext/core/Classes/Error/ErrorHandler.php index 7b70bc8727ab..e701a392bbce 100644 --- a/typo3/sysext/core/Classes/Error/ErrorHandler.php +++ b/typo3/sysext/core/Classes/Error/ErrorHandler.php @@ -56,7 +56,6 @@ class ErrorHandler implements ErrorHandlerInterface * Defines which error levels should result in an exception thrown. * * @param int $exceptionalErrors The integer representing the E_* error level to handle as exceptions - * @return void */ public function setExceptionalErrors($exceptionalErrors) { @@ -179,7 +178,6 @@ class ErrorHandler implements ErrorHandlerInterface * * @param string $logMessage Default text that follows the message (in english!). * @param int $severity The error level of the message (0 = OK, 1 = warning, 2 = error) - * @return void */ protected function writeLog($logMessage, $severity) { diff --git a/typo3/sysext/core/Classes/Error/ErrorHandlerInterface.php b/typo3/sysext/core/Classes/Error/ErrorHandlerInterface.php index 2afb8418be8a..ac15eb163b4d 100644 --- a/typo3/sysext/core/Classes/Error/ErrorHandlerInterface.php +++ b/typo3/sysext/core/Classes/Error/ErrorHandlerInterface.php @@ -32,7 +32,6 @@ interface ErrorHandlerInterface * Defines which error levels should result in an exception thrown. * * @param int $exceptionalErrors The integer representing the E_* error level to handle as exceptions - * @return void */ public function setExceptionalErrors($exceptionalErrors); diff --git a/typo3/sysext/core/Classes/Error/ExceptionHandlerInterface.php b/typo3/sysext/core/Classes/Error/ExceptionHandlerInterface.php index 5d671be3fcd6..18cd981eb26e 100644 --- a/typo3/sysext/core/Classes/Error/ExceptionHandlerInterface.php +++ b/typo3/sysext/core/Classes/Error/ExceptionHandlerInterface.php @@ -30,7 +30,6 @@ interface ExceptionHandlerInterface * Handles the given exception * * @param \Throwable $exception The throwable object. - * @return void */ public function handleException(\Throwable $exception); @@ -38,7 +37,6 @@ interface ExceptionHandlerInterface * Formats and echoes the exception as XHTML. * * @param \Throwable $exception The throwable object. - * @return void */ public function echoExceptionWeb(\Throwable $exception); @@ -46,7 +44,6 @@ interface ExceptionHandlerInterface * Formats and echoes the exception for the command line * * @param \Throwable $exception The throwable object. - * @return void */ public function echoExceptionCLI(\Throwable $exception); } diff --git a/typo3/sysext/core/Classes/Error/Http/StatusException.php b/typo3/sysext/core/Classes/Error/Http/StatusException.php index dd3f76342053..4ddde79b5b72 100644 --- a/typo3/sysext/core/Classes/Error/Http/StatusException.php +++ b/typo3/sysext/core/Classes/Error/Http/StatusException.php @@ -52,7 +52,6 @@ class StatusException extends \TYPO3\CMS\Core\Error\Exception * Setter for the title. * * @param string $title - * @return void */ public function setTitle($title) { diff --git a/typo3/sysext/core/Classes/Error/ProductionExceptionHandler.php b/typo3/sysext/core/Classes/Error/ProductionExceptionHandler.php index a6853fdfa036..023ca889430f 100644 --- a/typo3/sysext/core/Classes/Error/ProductionExceptionHandler.php +++ b/typo3/sysext/core/Classes/Error/ProductionExceptionHandler.php @@ -50,7 +50,6 @@ class ProductionExceptionHandler extends AbstractExceptionHandler * Echoes an exception for the web. * * @param \Throwable $exception The throwable object. - * @return void */ public function echoExceptionWeb(\Throwable $exception) { @@ -68,7 +67,6 @@ class ProductionExceptionHandler extends AbstractExceptionHandler * Echoes an exception for the command line. * * @param \Throwable $exception The throwable object. - * @return void */ public function echoExceptionCLI(\Throwable $exception) { diff --git a/typo3/sysext/core/Classes/Exception.php b/typo3/sysext/core/Classes/Exception.php index 3460b856623f..c94523e1e445 100644 --- a/typo3/sysext/core/Classes/Exception.php +++ b/typo3/sysext/core/Classes/Exception.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core; /** * An exception - * */ class Exception extends \Exception { diff --git a/typo3/sysext/core/Classes/ExtDirect/ExtDirectDebug.php b/typo3/sysext/core/Classes/ExtDirect/ExtDirectDebug.php index 865499b36244..5d96f22fb552 100644 --- a/typo3/sysext/core/Classes/ExtDirect/ExtDirectDebug.php +++ b/typo3/sysext/core/Classes/ExtDirect/ExtDirectDebug.php @@ -42,7 +42,6 @@ class ExtDirectDebug * Adds a new message of any data type to the internal debug message array. * * @param mixed $message - * @return void */ public function debug($message) { diff --git a/typo3/sysext/core/Classes/FormProtection/AbstractFormProtection.php b/typo3/sysext/core/Classes/FormProtection/AbstractFormProtection.php index 240f76a013e5..dc634da3e583 100644 --- a/typo3/sysext/core/Classes/FormProtection/AbstractFormProtection.php +++ b/typo3/sysext/core/Classes/FormProtection/AbstractFormProtection.php @@ -61,8 +61,6 @@ abstract class AbstractFormProtection * Deletes the session token and persists the (empty) token. * * This function is intended to be called when a user logs on or off. - * - * @return void */ public function clean() { @@ -129,8 +127,6 @@ abstract class AbstractFormProtection /** * Creates or displays an error message telling the user that the submitted * form token is invalid. - * - * @return void */ protected function createValidationErrorMessage() { @@ -151,7 +147,6 @@ abstract class AbstractFormProtection * of this class. * * @access private - * @return void */ abstract public function persistSessionToken(); } diff --git a/typo3/sysext/core/Classes/FormProtection/BackendFormProtection.php b/typo3/sysext/core/Classes/FormProtection/BackendFormProtection.php index 75b219b503eb..c7b52b6d2a5f 100644 --- a/typo3/sysext/core/Classes/FormProtection/BackendFormProtection.php +++ b/typo3/sysext/core/Classes/FormProtection/BackendFormProtection.php @@ -125,7 +125,6 @@ class BackendFormProtection extends AbstractFormProtection * class. * * @access private - * @return void */ public function persistSessionToken() { @@ -154,7 +153,6 @@ class BackendFormProtection extends AbstractFormProtection * available during re-login of the user. * * @access private - * @return void */ public function storeSessionTokenInRegistry() { diff --git a/typo3/sysext/core/Classes/FormProtection/FormProtectionFactory.php b/typo3/sysext/core/Classes/FormProtection/FormProtectionFactory.php index 2030e15e0905..6b28d6560fe8 100644 --- a/typo3/sysext/core/Classes/FormProtection/FormProtectionFactory.php +++ b/typo3/sysext/core/Classes/FormProtection/FormProtectionFactory.php @@ -204,7 +204,6 @@ class FormProtectionFactory * @access private * @param string $classNameOrType * @param AbstractFormProtection $instance - * @return void */ public static function set($classNameOrType, AbstractFormProtection $instance) { @@ -215,8 +214,6 @@ class FormProtectionFactory * Purges all existing instances. * * This function is particularly useful when cleaning up in unit testing. - * - * @return void */ public static function purgeInstances() { diff --git a/typo3/sysext/core/Classes/FormProtection/FrontendFormProtection.php b/typo3/sysext/core/Classes/FormProtection/FrontendFormProtection.php index e9513369fea6..a502e0ee9f98 100644 --- a/typo3/sysext/core/Classes/FormProtection/FrontendFormProtection.php +++ b/typo3/sysext/core/Classes/FormProtection/FrontendFormProtection.php @@ -113,7 +113,6 @@ class FrontendFormProtection extends AbstractFormProtection * class. * * @access private - * @return void */ public function persistSessionToken() { diff --git a/typo3/sysext/core/Classes/FormProtection/InstallToolFormProtection.php b/typo3/sysext/core/Classes/FormProtection/InstallToolFormProtection.php index d7cc3f392226..4f6485217039 100644 --- a/typo3/sysext/core/Classes/FormProtection/InstallToolFormProtection.php +++ b/typo3/sysext/core/Classes/FormProtection/InstallToolFormProtection.php @@ -60,8 +60,6 @@ class InstallToolFormProtection extends AbstractFormProtection { /** * Retrieves or generates the session token. - * - * @return void */ protected function retrieveSessionToken() { @@ -76,8 +74,6 @@ class InstallToolFormProtection extends AbstractFormProtection /** * Saves the tokens so that they can be used by a later incarnation of this * class. - * - * @return void */ public function persistSessionToken() { diff --git a/typo3/sysext/core/Classes/FrontendEditing/FrontendEditingController.php b/typo3/sysext/core/Classes/FrontendEditing/FrontendEditingController.php index d03429378fc7..c0993983814d 100644 --- a/typo3/sysext/core/Classes/FrontendEditing/FrontendEditingController.php +++ b/typo3/sysext/core/Classes/FrontendEditing/FrontendEditingController.php @@ -43,8 +43,6 @@ class FrontendEditingController /** * Initializes configuration options. - * - * @return void */ public function initConfigOptions() { @@ -197,7 +195,6 @@ class FrontendEditingController * Management of the on-page frontend editing forms and edit panels. * Basically taking in the data and commands and passes them on to the proper classes as they should be. * - * @return void * @throws \UnexpectedValueException if TSFE_EDIT[cmd] is not a valid command * @see \TYPO3\CMS\Frontend\Http\RequestHandler */ @@ -234,7 +231,6 @@ class FrontendEditingController * * @param string $table The table name for the record to hide. * @param int $uid The UID for the record to hide. - * @return void */ public function doHide($table, $uid) { @@ -253,7 +249,6 @@ class FrontendEditingController * * @param string $table The table name for the record to unhide. * @param int $uid The UID for the record to unhide. - * @return void */ public function doUnhide($table, $uid) { @@ -272,7 +267,6 @@ class FrontendEditingController * * @param string $table The table name for the record to move. * @param int $uid The UID for the record to hide. - * @return void */ public function doUp($table, $uid) { @@ -284,7 +278,6 @@ class FrontendEditingController * * @param string $table The table name for the record to move. * @param int $uid The UID for the record to move. - * @return void */ public function doDown($table, $uid) { @@ -296,7 +289,6 @@ class FrontendEditingController * * @param string $table The table name for the record to move. * @param int $uid The UID for the record to move. - * @return void */ public function doMoveAfter($table, $uid) { @@ -311,7 +303,6 @@ class FrontendEditingController * @param int $uid The UID for the record to move. * @param string $direction The direction to move, either 'up' or 'down'. * @param int $afterUID The UID of record to move after. This is specified for dragging only. - * @return void */ protected function move($table, $uid, $direction = '', $afterUID = 0) { @@ -430,7 +421,6 @@ class FrontendEditingController * * @param string $table The table name for the record to delete. * @param int $uid The UID for the record to delete. - * @return void */ public function doDelete($table, $uid) { @@ -447,7 +437,6 @@ class FrontendEditingController * * @param string $table The table name for the record to save. * @param int $uid The UID for the record to save. - * @return void */ public function doSave($table, $uid) { @@ -470,7 +459,6 @@ class FrontendEditingController * * @param string $table The table name for the record to save. * @param int $uid The UID for the record to save. - * @return void * @note This method is only a wrapper for doSave() but is needed so */ public function doSaveAndClose($table, $uid) @@ -484,7 +472,6 @@ class FrontendEditingController * * @param string $table The table name for the record to close. * @param int $uid The UID for the record to close. - * @return void */ public function doClose($table, $uid) { @@ -636,8 +623,6 @@ class FrontendEditingController /** * Initializes \TYPO3\CMS\Core\DataHandling\DataHandler since it is used on modification actions. - * - * @return void */ protected function initializeTceMain() { diff --git a/typo3/sysext/core/Classes/Html/RteHtmlParser.php b/typo3/sysext/core/Classes/Html/RteHtmlParser.php index ef9519ced565..90e3bff9439b 100644 --- a/typo3/sysext/core/Classes/Html/RteHtmlParser.php +++ b/typo3/sysext/core/Classes/Html/RteHtmlParser.php @@ -136,7 +136,6 @@ class RteHtmlParser extends HtmlParser * * @param string $elRef Element reference, eg "tt_content:bodytext * @param int $recPid PID of the record (page id) - * @return void */ public function init($elRef = '', $recPid = 0) { diff --git a/typo3/sysext/core/Classes/Http/AjaxRequestHandler.php b/typo3/sysext/core/Classes/Http/AjaxRequestHandler.php index ff14fcf5bfa6..5f65b71701da 100644 --- a/typo3/sysext/core/Classes/Http/AjaxRequestHandler.php +++ b/typo3/sysext/core/Classes/Http/AjaxRequestHandler.php @@ -133,7 +133,6 @@ class AjaxRequestHandler * Sets the content format for the ajax call * * @param string $format Can be one of 'plain' (default), 'xml', 'json', 'javascript', 'jsonbody' or 'jsonhead' - * @return void */ public function setContentFormat($format) { @@ -148,7 +147,6 @@ class AjaxRequestHandler * adds <script>-Tags around it. * * @param string $javascriptCallbackWrap The javascript callback wrap to be used - * @return void */ public function setJavascriptCallbackWrap($javascriptCallbackWrap) { @@ -159,7 +157,6 @@ class AjaxRequestHandler * Sets an error message and the error flag * * @param string $errorMsg The error message - * @return void */ public function setError($errorMsg = '') { diff --git a/typo3/sysext/core/Classes/Http/Stream.php b/typo3/sysext/core/Classes/Http/Stream.php index a7e478eeb3a8..7ffc159c9d83 100644 --- a/typo3/sysext/core/Classes/Http/Stream.php +++ b/typo3/sysext/core/Classes/Http/Stream.php @@ -85,8 +85,6 @@ class Stream implements StreamInterface /** * Closes the stream and any underlying resources. - * - * @return void */ public function close() { diff --git a/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php b/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php index e8dc51e67496..cafb88464565 100644 --- a/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php +++ b/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php @@ -323,8 +323,6 @@ class GraphicalFunctions /** * Init function. Must always call this when using the class. * This function will read the configuration information from $GLOBALS['TYPO3_CONF_VARS']['GFX'] can set some values in internal variables. - * - * @return void */ public function init() { @@ -394,7 +392,6 @@ class GraphicalFunctions * @param resource $im GDlib image pointer * @param array $conf TypoScript array with configuration for the GIFBUILDER object. * @param array $workArea The current working area coordinates. - * @return void * @see \TYPO3\CMS\Frontend\Imaging\GifBuilder::make() */ public function maskImageOntoImage(&$im, $conf, $workArea) @@ -481,7 +478,6 @@ class GraphicalFunctions * @param resource $im GDlib image pointer * @param array $conf TypoScript array with configuration for the GIFBUILDER object. * @param array $workArea The current working area coordinates. - * @return void * @see \TYPO3\CMS\Frontend\Imaging\GifBuilder::make(), maskImageOntoImage() */ public function copyImageOntoImage(&$im, $conf, $workArea) @@ -504,7 +500,6 @@ class GraphicalFunctions * @param resource $cpImg GDlib image pointer, source (top image) * @param array $conf TypoScript array with the properties for the IMAGE GIFBUILDER object. Only used for the "tile" property value. * @param array $workArea Work area - * @return void Works on the $im image pointer * @access private */ public function copyGifOntoGif(&$im, $cpImg, $conf, $workArea) @@ -584,7 +579,6 @@ class GraphicalFunctions * @param int $dstHeight Destination height * @param int $srcWidth Source width * @param int $srcHeight Source height - * @return void * @access private */ public function imagecopyresized(&$dstImg, $srcImg, $dstX, $dstY, $srcX, $srcY, $dstWidth, $dstHeight, $srcWidth, $srcHeight) @@ -614,7 +608,6 @@ class GraphicalFunctions * @param resource $im GDlib image pointer * @param array $conf TypoScript array with configuration for the GIFBUILDER object. * @param array $workArea The current working area coordinates. - * @return void * @see \TYPO3\CMS\Frontend\Imaging\GifBuilder::make() */ public function makeText(&$im, $conf, $workArea) @@ -845,7 +838,6 @@ class GraphicalFunctions * * @param array $cords Coordinates for a polygon image map as created by ->calcTextCordsForMap() * @param array $conf Configuration for "imgMap." property of a TEXT GIFBUILDER object. - * @return void * @access private * @see makeText(), calcTextCordsForMap() */ @@ -899,7 +891,6 @@ class GraphicalFunctions * @param int $wordSpacing The spacing of words in pixels * @param array $splitRenderingConf Array * @param int $sF Scale factor - * @return void * @access private */ public function SpacedImageTTFText(&$im, $fontSize, $angle, $x, $y, $Fcolor, $fontFile, $text, $spacing, $wordSpacing, $splitRenderingConf, $sF = 1) @@ -1028,7 +1019,6 @@ class GraphicalFunctions * @param string $string (See argument for PHP function imageTTFtext()). UTF-8 string, possibly with entities in. * @param array $splitRendering Split-rendering configuration * @param int $sF Scale factor - * @return void */ public function ImageTTFTextWrapper($im, $fontSize, $angle, $x, $y, $color, $fontFile, $string, $splitRendering, $sF = 1) { @@ -1254,7 +1244,6 @@ class GraphicalFunctions * @param array $splitRendering Split-rendering configuration * @param array $conf The configuration * @param int $sF Scale factor - * @return void */ protected function renderTTFText(&$im, $fontSize, $angle, $x, $y, $color, $fontFile, $string, $splitRendering, $conf, $sF = 1) { @@ -1359,7 +1348,6 @@ class GraphicalFunctions * @param array $conf TypoScript array with configuration for the GIFBUILDER object. * @param array $workArea The current working area coordinates. * @param array $txtConf TypoScript array with configuration for the associated TEXT GIFBUILDER object. - * @return void * @see \TYPO3\CMS\Frontend\Imaging\GifBuilder::make(), makeText() */ public function makeOutline(&$im, $conf, $workArea, $txtConf) @@ -1418,7 +1406,6 @@ class GraphicalFunctions * @param array $conf TypoScript array with configuration for the GIFBUILDER object. * @param array $workArea The current working area coordinates. * @param array $txtConf TypoScript array with configuration for the associated TEXT GIFBUILDER object. - * @return void * @see \TYPO3\CMS\Frontend\Imaging\GifBuilder::make(), makeShadow() */ public function makeEmboss(&$im, $conf, $workArea, $txtConf) @@ -1441,7 +1428,6 @@ class GraphicalFunctions * @param array $conf TypoScript array with configuration for the GIFBUILDER object. * @param array $workArea The current working area coordinates. * @param array $txtConf TypoScript array with configuration for the associated TEXT GIFBUILDER object. - * @return void * @see \TYPO3\CMS\Frontend\Imaging\GifBuilder::make(), makeText(), makeEmboss() */ public function makeShadow(&$im, $conf, $workArea, $txtConf) @@ -1542,7 +1528,6 @@ class GraphicalFunctions * @param resource $im GDlib image pointer * @param array $conf TypoScript array with configuration for the GIFBUILDER object. * @param array $workArea The current working area coordinates. - * @return void * @see \TYPO3\CMS\Frontend\Imaging\GifBuilder::make() */ public function makeBox(&$im, $conf, $workArea) @@ -1582,7 +1567,6 @@ class GraphicalFunctions * @param resource $im GDlib image pointer * @param array $conf TypoScript array with configuration for the GIFBUILDER object. * @param array $workArea The current working area coordinates. - * @return void * @see \TYPO3\CMS\Frontend\Imaging\GifBuilder::make() */ public function makeEllipse(&$im, array $conf, array $workArea) @@ -1603,7 +1587,6 @@ class GraphicalFunctions * * @param resource $im GDlib image pointer * @param array $conf TypoScript array with configuration for the GIFBUILDER object. - * @return void * @see \TYPO3\CMS\Frontend\Imaging\GifBuilder::make(), applyImageMagickToPHPGif() */ public function makeEffect(&$im, $conf) @@ -1697,7 +1680,6 @@ class GraphicalFunctions * * @param resource $im GDlib image pointer * @param array $conf TypoScript array with configuration for the GIFBUILDER object. - * @return void * @see \TYPO3\CMS\Frontend\Imaging\GifBuilder::make(), autoLevels(), outputLevels(), inputLevels() */ public function adjust(&$im, $conf) @@ -1733,7 +1715,6 @@ class GraphicalFunctions * * @param resource $im GDlib image pointer * @param array $conf TypoScript array with configuration for the GIFBUILDER object. - * @return void * @see \TYPO3\CMS\Frontend\Imaging\GifBuilder::make() */ public function crop(&$im, $conf) @@ -1772,7 +1753,6 @@ class GraphicalFunctions * * @param resource $im GDlib image pointer * @param array $conf TypoScript array with configuration for the GIFBUILDER object. - * @return void * @see \TYPO3\CMS\Frontend\Imaging\GifBuilder::make() */ public function scale(&$im, $conf) @@ -1805,7 +1785,6 @@ class GraphicalFunctions * Setting internal working area boundaries (->workArea) * * @param string $workArea Working area dimensions, comma separated - * @return void * @access private * @see \TYPO3\CMS\Frontend\Imaging\GifBuilder::make() */ @@ -1830,7 +1809,6 @@ class GraphicalFunctions * Apply auto-levels to input image pointer * * @param resource $im GDlib Image Pointer - * @return void */ public function autolevels(&$im) { @@ -1861,7 +1839,6 @@ class GraphicalFunctions * @param int $low The "low" value (close to 0) * @param int $high The "high" value (close to 255) * @param bool $swap If swap, then low and high are swapped. (Useful for negated masks...) - * @return void */ public function outputLevels(&$im, $low, $high, $swap = false) { @@ -1891,7 +1868,6 @@ class GraphicalFunctions * @param resource $im GDlib Image Pointer * @param int $low The "low" value (close to 0) * @param int $high The "high" value (close to 255) - * @return void */ public function inputLevels(&$im, $low, $high) { @@ -2701,7 +2677,6 @@ class GraphicalFunctions * * @param resource $im The image pointer (reference) * @param string $command The ImageMagick parameters. Like effects, scaling etc. - * @return void */ public function applyImageMagickToPHPGif(&$im, $command) { @@ -2791,7 +2766,6 @@ class GraphicalFunctions /** * Destroy internal image pointer, $this->im * - * @return void * @see \TYPO3\CMS\Frontend\Imaging\GifBuilder::gifBuild() */ public function destroy() @@ -2982,7 +2956,6 @@ class GraphicalFunctions * @param string $textline1 Text line 1 * @param string $textline2 Text line 2 * @param string $textline3 Text line 3 - * @return void * @throws \RuntimeException */ public function getTemporaryImageWithText($filename, $textline1, $textline2, $textline3) diff --git a/typo3/sysext/core/Classes/Imaging/IconRegistry.php b/typo3/sysext/core/Classes/Imaging/IconRegistry.php index 39f751088e58..42ba7e450e86 100644 --- a/typo3/sysext/core/Classes/Imaging/IconRegistry.php +++ b/typo3/sysext/core/Classes/Imaging/IconRegistry.php @@ -3115,8 +3115,6 @@ class IconRegistry implements SingletonInterface /** * Load icons from TCA for each table and add them as "tcarecords-XX" to $this->icons - * - * @return void */ protected function registerTCAIcons() { @@ -3152,8 +3150,6 @@ class IconRegistry implements SingletonInterface /** * Register module icons - * - * @return void */ protected function registerModuleIcons() { diff --git a/typo3/sysext/core/Classes/Integrity/DatabaseIntegrityCheck.php b/typo3/sysext/core/Classes/Integrity/DatabaseIntegrityCheck.php index 34eb270763e8..890fd7c641a7 100644 --- a/typo3/sysext/core/Classes/Integrity/DatabaseIntegrityCheck.php +++ b/typo3/sysext/core/Classes/Integrity/DatabaseIntegrityCheck.php @@ -99,7 +99,6 @@ class DatabaseIntegrityCheck * @param int $theID a pid (page-record id) from which to start making the tree * @param string $depthData HTML-code (image-tags) used when this function calls itself recursively. * @param bool $versions Internal variable, don't set from outside! - * @return void */ public function genTree($theID, $depthData = '', $versions = false) { @@ -164,7 +163,6 @@ class DatabaseIntegrityCheck * @param string $_ Unused parameter * @param string $table Table to get the records from * @param bool $versions Internal variable, don't set from outside! - * @return void */ public function genTree_records($theID, $_ = '', $table = '', $versions = false) { @@ -212,7 +210,6 @@ class DatabaseIntegrityCheck * Fills $this->lRecords with the records from all tc-tables that are not attached to a PID in the pid-list. * * @param string $pid_list list of pid's (page-record uid's). This list is probably made by genTree() - * @return void */ public function lostRecords($pid_list) { @@ -418,7 +415,6 @@ class DatabaseIntegrityCheck * This selects non-empty-records from the tables/fields in the fkey_array generated by getGroupFields() * * @param array $fkey_arrays Array with tables/fields generated by getGroupFields() - * @return void * @see getGroupFields() */ public function selectNonEmptyRecordsWithFkeys($fkey_arrays) diff --git a/typo3/sysext/core/Classes/Localization/LanguageStore.php b/typo3/sysext/core/Classes/Localization/LanguageStore.php index 478dfc27c402..97abc472d481 100644 --- a/typo3/sysext/core/Classes/Localization/LanguageStore.php +++ b/typo3/sysext/core/Classes/Localization/LanguageStore.php @@ -57,8 +57,6 @@ class LanguageStore implements \TYPO3\CMS\Core\SingletonInterface /** * Initializes the current class. - * - * @return void */ public function initialize() { diff --git a/typo3/sysext/core/Classes/Localization/Locales.php b/typo3/sysext/core/Classes/Localization/Locales.php index 0ce7187cbb04..04e58225f617 100644 --- a/typo3/sysext/core/Classes/Localization/Locales.php +++ b/typo3/sysext/core/Classes/Localization/Locales.php @@ -130,8 +130,6 @@ class Locales implements \TYPO3\CMS\Core\SingletonInterface /** * Initializes the languages. - * - * @return void */ public static function initialize() { diff --git a/typo3/sysext/core/Classes/Localization/LocalizationFactory.php b/typo3/sysext/core/Classes/Localization/LocalizationFactory.php index 07ca8afc34c7..46c365a1e8b3 100644 --- a/typo3/sysext/core/Classes/Localization/LocalizationFactory.php +++ b/typo3/sysext/core/Classes/Localization/LocalizationFactory.php @@ -49,8 +49,6 @@ class LocalizationFactory implements \TYPO3\CMS\Core\SingletonInterface /** * Initialize cache instance to be ready to use - * - * @return void */ protected function initializeCache() { @@ -163,7 +161,6 @@ class LocalizationFactory implements \TYPO3\CMS\Core\SingletonInterface * @param string $charset * @param int $errorMode * @param array $LOCAL_LANG - * @return void */ protected function localizationOverride($fileReference, $languageKey, $charset, $errorMode, array &$LOCAL_LANG) { diff --git a/typo3/sysext/core/Classes/Locking/FileLockStrategy.php b/typo3/sysext/core/Classes/Locking/FileLockStrategy.php index 2f6c4f5ca963..0f2360f2df75 100644 --- a/typo3/sysext/core/Classes/Locking/FileLockStrategy.php +++ b/typo3/sysext/core/Classes/Locking/FileLockStrategy.php @@ -167,8 +167,6 @@ class FileLockStrategy implements LockingStrategyInterface /** * Destroys the resource associated with the lock - * - * @return void */ public function destroy() { diff --git a/typo3/sysext/core/Classes/Locking/LockingStrategyInterface.php b/typo3/sysext/core/Classes/Locking/LockingStrategyInterface.php index a8bebd47c76a..464e96b2ab4c 100644 --- a/typo3/sysext/core/Classes/Locking/LockingStrategyInterface.php +++ b/typo3/sysext/core/Classes/Locking/LockingStrategyInterface.php @@ -73,8 +73,6 @@ interface LockingStrategyInterface /** * Destroys the resource associated with the lock - * - * @return void */ public function destroy(); diff --git a/typo3/sysext/core/Classes/Locking/SemaphoreLockStrategy.php b/typo3/sysext/core/Classes/Locking/SemaphoreLockStrategy.php index ef39d71d5cbb..db1c3344db87 100644 --- a/typo3/sysext/core/Classes/Locking/SemaphoreLockStrategy.php +++ b/typo3/sysext/core/Classes/Locking/SemaphoreLockStrategy.php @@ -151,8 +151,6 @@ class SemaphoreLockStrategy implements LockingStrategyInterface /** * Destroys the resource associated with the lock - * - * @return void */ public function destroy() { diff --git a/typo3/sysext/core/Classes/Locking/SimpleLockStrategy.php b/typo3/sysext/core/Classes/Locking/SimpleLockStrategy.php index 851705306196..2ebc43a12c7a 100644 --- a/typo3/sysext/core/Classes/Locking/SimpleLockStrategy.php +++ b/typo3/sysext/core/Classes/Locking/SimpleLockStrategy.php @@ -72,7 +72,6 @@ class SimpleLockStrategy implements LockingStrategyInterface /** * @param int $loops Number of times a locked resource is tried to be acquired. * @param int $step Milliseconds after lock acquire is retried. $loops * $step results in the maximum delay of a lock. - * @return void */ public function init($loops = 0, $step = 0) { @@ -188,8 +187,6 @@ class SimpleLockStrategy implements LockingStrategyInterface /** * Destroys the resource associated with the lock - * - * @return void */ public function destroy() { diff --git a/typo3/sysext/core/Classes/Log/LogLevel.php b/typo3/sysext/core/Classes/Log/LogLevel.php index e14bf5b17942..8f8a8ee33f9c 100644 --- a/typo3/sysext/core/Classes/Log/LogLevel.php +++ b/typo3/sysext/core/Classes/Log/LogLevel.php @@ -137,7 +137,6 @@ class LogLevel * Validates a log level. * * @param int $level log level to validate - * @return void * @throws \Psr\Log\InvalidArgumentException if the given log level is invalid */ public static function validateLevel($level) diff --git a/typo3/sysext/core/Classes/Log/LogManager.php b/typo3/sysext/core/Classes/Log/LogManager.php index 630383805125..7248661547fd 100644 --- a/typo3/sysext/core/Classes/Log/LogManager.php +++ b/typo3/sysext/core/Classes/Log/LogManager.php @@ -56,8 +56,6 @@ class LogManager implements \TYPO3\CMS\Core\SingletonInterface, LogManagerInterf /** * For use in unit test context only. Resets the internal logger registry. - * - * @return void */ public function reset() { @@ -100,7 +98,6 @@ class LogManager implements \TYPO3\CMS\Core\SingletonInterface, LogManagerInterf * For use in unit test context only. * * @param string $name - * @return void */ public function registerLogger($name) { @@ -121,7 +118,6 @@ class LogManager implements \TYPO3\CMS\Core\SingletonInterface, LogManagerInterf * Appends the writers to the given logger as configured. * * @param \TYPO3\CMS\Core\Log\Logger $logger Logger to configure - * @return void */ protected function setWritersForLogger(Logger $logger) { @@ -146,7 +142,6 @@ class LogManager implements \TYPO3\CMS\Core\SingletonInterface, LogManagerInterf * Appends the processors to the given logger as configured. * * @param \TYPO3\CMS\Core\Log\Logger $logger Logger to configure - * @return void */ protected function setProcessorsForLogger(Logger $logger) { diff --git a/typo3/sysext/core/Classes/Log/LogRecord.php b/typo3/sysext/core/Classes/Log/LogRecord.php index 66424392f711..2fded5756340 100644 --- a/typo3/sysext/core/Classes/Log/LogRecord.php +++ b/typo3/sysext/core/Classes/Log/LogRecord.php @@ -336,7 +336,6 @@ class LogRecord implements \ArrayAccess * * @param mixed $offset * @param mixed $value - * @return void */ public function offsetSet($offset, $value) { @@ -349,7 +348,6 @@ class LogRecord implements \ArrayAccess * Offset to unset, required by ArrayAccess interface * * @param mixed $offset - * @return void */ public function offsetUnset($offset) { diff --git a/typo3/sysext/core/Classes/Log/Logger.php b/typo3/sysext/core/Classes/Log/Logger.php index cadd81c878fe..9cee006e8aba 100644 --- a/typo3/sysext/core/Classes/Log/Logger.php +++ b/typo3/sysext/core/Classes/Log/Logger.php @@ -133,7 +133,6 @@ class Logger implements \Psr\Log\LoggerInterface * * @param int $minimumLevel * @param \TYPO3\CMS\Core\Log\Processor\ProcessorInterface $processor The processor to add. - * @return void */ public function addProcessor($minimumLevel, Processor\ProcessorInterface $processor) { @@ -208,7 +207,6 @@ class Logger implements \Psr\Log\LoggerInterface * Passes the \TYPO3\CMS\Core\Log\LogRecord to all registered writers. * * @param \TYPO3\CMS\Core\Log\LogRecord $record - * @return void */ protected function writeLog(LogRecord $record) { diff --git a/typo3/sysext/core/Classes/Log/Processor/AbstractMemoryProcessor.php b/typo3/sysext/core/Classes/Log/Processor/AbstractMemoryProcessor.php index 8bc6ae5233d6..00b05e2a6456 100644 --- a/typo3/sysext/core/Classes/Log/Processor/AbstractMemoryProcessor.php +++ b/typo3/sysext/core/Classes/Log/Processor/AbstractMemoryProcessor.php @@ -42,7 +42,6 @@ abstract class AbstractMemoryProcessor extends AbstractProcessor * Sets the allocated memory usage type * * @param bool $realMemoryUsage Which allocated memory type to use - * @return void */ public function setRealMemoryUsage($realMemoryUsage) { @@ -63,7 +62,6 @@ abstract class AbstractMemoryProcessor extends AbstractProcessor * Sets whether size should be formatted * * @param bool $formatSize - * @return void */ public function setFormatSize($formatSize) { diff --git a/typo3/sysext/core/Classes/Log/Writer/FileWriter.php b/typo3/sysext/core/Classes/Log/Writer/FileWriter.php index a84bc00b4f8a..271129cc593f 100644 --- a/typo3/sysext/core/Classes/Log/Writer/FileWriter.php +++ b/typo3/sysext/core/Classes/Log/Writer/FileWriter.php @@ -148,7 +148,6 @@ class FileWriter extends AbstractWriter /** * Opens the log file handle * - * @return void * @throws \RuntimeException if the log file can't be opened. */ protected function openLogFile() @@ -166,8 +165,6 @@ class FileWriter extends AbstractWriter /** * Closes the log file handle. - * - * @return void */ protected function closeLogFile() { @@ -180,8 +177,6 @@ class FileWriter extends AbstractWriter /** * Creates the log file with correct permissions * and parent directories, if needed - * - * @return void */ protected function createLogFile() { @@ -205,7 +200,6 @@ class FileWriter extends AbstractWriter * Creates .htaccess file inside a new directory to access protect it * * @param string $htaccessFile Path of .htaccess file - * @return void */ protected function createHtaccessFile($htaccessFile) { diff --git a/typo3/sysext/core/Classes/Log/Writer/SyslogWriter.php b/typo3/sysext/core/Classes/Log/Writer/SyslogWriter.php index 694675f1b2e3..f98e8e419ed8 100644 --- a/typo3/sysext/core/Classes/Log/Writer/SyslogWriter.php +++ b/typo3/sysext/core/Classes/Log/Writer/SyslogWriter.php @@ -86,7 +86,6 @@ class SyslogWriter extends AbstractWriter * Sets the facility to use when logging to syslog. * * @param int $facility Facility to use when logging. - * @return void */ public function setFacility($facility) { diff --git a/typo3/sysext/core/Classes/Mail/MailMessage.php b/typo3/sysext/core/Classes/Mail/MailMessage.php index b621f7c0e574..f4e85d8967a3 100644 --- a/typo3/sysext/core/Classes/Mail/MailMessage.php +++ b/typo3/sysext/core/Classes/Mail/MailMessage.php @@ -46,7 +46,6 @@ class MailMessage extends \Swift_Message protected $failedRecipients = []; /** - * @return void */ private function initializeMailer() { diff --git a/typo3/sysext/core/Classes/Mail/Mailer.php b/typo3/sysext/core/Classes/Mail/Mailer.php index 22bd02f0b151..5f743d0197c8 100644 --- a/typo3/sysext/core/Classes/Mail/Mailer.php +++ b/typo3/sysext/core/Classes/Mail/Mailer.php @@ -172,8 +172,6 @@ class Mailer extends \Swift_Mailer /** * Emits a signal after mailer initialization - * - * @return void */ protected function emitPostInitializeMailerSignal() { diff --git a/typo3/sysext/core/Classes/Messaging/AbstractMessage.php b/typo3/sysext/core/Classes/Messaging/AbstractMessage.php index 6beaeaf1e649..403fd1e62600 100644 --- a/typo3/sysext/core/Classes/Messaging/AbstractMessage.php +++ b/typo3/sysext/core/Classes/Messaging/AbstractMessage.php @@ -63,7 +63,6 @@ abstract class AbstractMessage * Sets the message's title * * @param string $title The message's title - * @return void */ public function setTitle(string $title) { @@ -84,7 +83,6 @@ abstract class AbstractMessage * Sets the message * * @param string $message The message - * @return void */ public function setMessage(string $message) { @@ -105,7 +103,6 @@ abstract class AbstractMessage * Sets the message' severity * * @param int $severity The severity, must be one of AbstractMessage::INFO or similar constants - * @return void */ public function setSeverity(int $severity = self::OK) { diff --git a/typo3/sysext/core/Classes/Messaging/AbstractStandaloneMessage.php b/typo3/sysext/core/Classes/Messaging/AbstractStandaloneMessage.php index 176d0b8c886c..b9cb153a47a8 100644 --- a/typo3/sysext/core/Classes/Messaging/AbstractStandaloneMessage.php +++ b/typo3/sysext/core/Classes/Messaging/AbstractStandaloneMessage.php @@ -67,7 +67,6 @@ abstract class AbstractStandaloneMessage extends AbstractMessage * The marker array passed, will be merged with already present markers. * * @param array $markers Array containing the markers and values (e.g. ###MARKERNAME### => value) - * @return void */ public function setMarkers(array $markers) { @@ -119,7 +118,6 @@ abstract class AbstractStandaloneMessage extends AbstractMessage * Sets the filename to the HTML template * * @param string $htmlTemplate The filename of the HTML template, relative to PATH_site - * @return void */ public function setHtmlTemplate($htmlTemplate) { @@ -145,8 +143,6 @@ abstract class AbstractStandaloneMessage extends AbstractMessage /** * Renders the message and echoes it. - * - * @return void */ public function output() { diff --git a/typo3/sysext/core/Classes/Messaging/FlashMessage.php b/typo3/sysext/core/Classes/Messaging/FlashMessage.php index 5b758885fcd5..1fd815251570 100644 --- a/typo3/sysext/core/Classes/Messaging/FlashMessage.php +++ b/typo3/sysext/core/Classes/Messaging/FlashMessage.php @@ -83,7 +83,6 @@ class FlashMessage extends AbstractMessage * Sets the message's storeInSession flag * * @param bool $storeInSession The persistence flag - * @return void */ public function setStoreInSession($storeInSession) { diff --git a/typo3/sysext/core/Classes/Messaging/FlashMessageQueue.php b/typo3/sysext/core/Classes/Messaging/FlashMessageQueue.php index 7500df42c5ed..6f9cbcf7faff 100644 --- a/typo3/sysext/core/Classes/Messaging/FlashMessageQueue.php +++ b/typo3/sysext/core/Classes/Messaging/FlashMessageQueue.php @@ -52,7 +52,6 @@ class FlashMessageQueue extends \SplQueue * * @param FlashMessage $message Instance of \TYPO3\CMS\Core\Messaging\FlashMessage, representing a message * @throws \TYPO3\CMS\Core\Exception - * @return void */ public function enqueue($message) { @@ -71,7 +70,6 @@ class FlashMessageQueue extends \SplQueue /** * @param FlashMessage $message - * @return void */ public function addMessage(FlashMessage $message) { @@ -80,7 +78,6 @@ class FlashMessageQueue extends \SplQueue /** * This method is empty, as it will not move any flash message (e.g. from the session) - * @return void */ public function dequeue() { @@ -92,7 +89,6 @@ class FlashMessageQueue extends \SplQueue * flash messages that will be stored in the session. * * @param FlashMessage $message - * @return void */ protected function addFlashMessageToSession(FlashMessage $message) { @@ -147,7 +143,6 @@ class FlashMessageQueue extends \SplQueue * Stores given flash messages in the session * * @param FlashMessage[] $flashMessages - * @return void */ protected function storeFlashMessagesInSession(array $flashMessages = null) { @@ -158,7 +153,6 @@ class FlashMessageQueue extends \SplQueue * Removes all flash messages from the session * * @param int $severity Optional severity, must be one of \TYPO3\CMS\Core\Messaging\AbstractMessage constants - * @return void */ protected function removeAllFlashMessagesFromSession($severity = null) { @@ -238,7 +232,6 @@ class FlashMessageQueue extends \SplQueue * Removes all items from the queue * * @param int $severity Optional severity, must be one of \TYPO3\CMS\Core\Messaging\AbstractMessage constants - * @return void */ public function clear($severity = null) { diff --git a/typo3/sysext/core/Classes/Package/FailsafePackageManager.php b/typo3/sysext/core/Classes/Package/FailsafePackageManager.php index 1c62336f3d73..b66bf08e6f3f 100644 --- a/typo3/sysext/core/Classes/Package/FailsafePackageManager.php +++ b/typo3/sysext/core/Classes/Package/FailsafePackageManager.php @@ -29,8 +29,6 @@ class FailsafePackageManager extends PackageManager /** * Loads the states of available packages from the PackageStates.php file. * The result is stored in $this->packageStatesConfiguration. - * - * @return void */ protected function loadPackageStates() { @@ -45,8 +43,6 @@ class FailsafePackageManager extends PackageManager /** * Sort and save states - * - * @return void */ protected function sortAndSavePackageStates() { diff --git a/typo3/sysext/core/Classes/Package/MetaData.php b/typo3/sysext/core/Classes/Package/MetaData.php index 005b4590c412..034333a01943 100644 --- a/typo3/sysext/core/Classes/Package/MetaData.php +++ b/typo3/sysext/core/Classes/Package/MetaData.php @@ -123,7 +123,6 @@ class MetaData /** * @param string $version The package version to set - * @return void */ public function setVersion($version) { @@ -140,7 +139,6 @@ class MetaData /** * @param string $description The package description to set - * @return void */ public function setDescription($description) { @@ -175,7 +173,6 @@ class MetaData * Add a constraint * * @param MetaData\PackageConstraint $constraint The constraint to add - * @return void */ public function addConstraint(MetaData\PackageConstraint $constraint) { diff --git a/typo3/sysext/core/Classes/Package/Package.php b/typo3/sysext/core/Classes/Package/Package.php index 03510abf76be..3450a57030e4 100644 --- a/typo3/sysext/core/Classes/Package/Package.php +++ b/typo3/sysext/core/Classes/Package/Package.php @@ -108,8 +108,6 @@ class Package implements PackageInterface /** * Loads package management related flags from the "extra:typo3/cms:Package" section * of extensions composer.json files into local properties - * - * @return void */ protected function loadFlagsFromComposerManifest() { @@ -165,7 +163,6 @@ class Package implements PackageInterface * Sets the protection flag of the package * * @param bool $protected TRUE if the package should be protected, otherwise FALSE - * @return void * @api */ public function setProtected($protected) diff --git a/typo3/sysext/core/Classes/Package/PackageInterface.php b/typo3/sysext/core/Classes/Package/PackageInterface.php index 256eedd1f41b..647d4094d0a2 100644 --- a/typo3/sysext/core/Classes/Package/PackageInterface.php +++ b/typo3/sysext/core/Classes/Package/PackageInterface.php @@ -82,7 +82,6 @@ interface PackageInterface * Sets the protection flag of the package * * @param bool $protected TRUE if the package should be protected, otherwise FALSE - * @return void * @api */ public function setProtected($protected); diff --git a/typo3/sysext/core/Classes/Package/PackageManager.php b/typo3/sysext/core/Classes/Package/PackageManager.php index 067d574d8a18..ef22e667a6df 100644 --- a/typo3/sysext/core/Classes/Package/PackageManager.php +++ b/typo3/sysext/core/Classes/Package/PackageManager.php @@ -127,8 +127,6 @@ class PackageManager implements \TYPO3\CMS\Core\SingletonInterface /** * Initializes the package manager - * - * @return void */ public function initialize() { @@ -222,7 +220,6 @@ class PackageManager implements \TYPO3\CMS\Core\SingletonInterface * The result is stored in $this->packageStatesConfiguration. * * @throws Exception\PackageStatesUnavailableException - * @return void */ protected function loadPackageStates() { @@ -255,8 +252,6 @@ class PackageManager implements \TYPO3\CMS\Core\SingletonInterface * Initializes activePackages property * * Saves PackageStates.php if list of required extensions has changed. - * - * @return void */ protected function initializePackageObjects() { @@ -293,8 +288,6 @@ class PackageManager implements \TYPO3\CMS\Core\SingletonInterface /** * Initializes a backwards compatibility $GLOBALS['TYPO3_LOADED_EXT'] array - * - * @return void */ protected function initializeCompatibilityLoadedExtArray() { @@ -305,8 +298,6 @@ class PackageManager implements \TYPO3\CMS\Core\SingletonInterface /** * Scans all directories in the packages directories for available packages. * For each package a Package object is created and stored in $this->packages. - * - * @return void */ public function scanAvailablePackages() { @@ -461,7 +452,6 @@ class PackageManager implements \TYPO3\CMS\Core\SingletonInterface * Unregisters a package from the list of available packages * * @param string $packageKey Package Key of the package to be unregistered - * @return void */ protected function unregisterPackageByPackageKey($packageKey) { @@ -813,7 +803,6 @@ class PackageManager implements \TYPO3\CMS\Core\SingletonInterface * Unregisters a package from the list of available packages * * @param PackageInterface $package The package to be unregistered - * @return void * @throws Exception\InvalidPackageStateException */ public function unregisterPackage(PackageInterface $package) diff --git a/typo3/sysext/core/Classes/Package/UnitTestPackageManager.php b/typo3/sysext/core/Classes/Package/UnitTestPackageManager.php index ac93de417030..43a97994cd2f 100644 --- a/typo3/sysext/core/Classes/Package/UnitTestPackageManager.php +++ b/typo3/sysext/core/Classes/Package/UnitTestPackageManager.php @@ -24,8 +24,6 @@ class UnitTestPackageManager extends PackageManager { /** * Initializes the package manager - * - * @return void */ public function initialize() { @@ -38,8 +36,6 @@ class UnitTestPackageManager extends PackageManager /** * Overwrite the original method to avoid resolving dependencies (which we do not need) * and saving the PackageStates.php file (which we do not want), when calling scanAvailablePackages() - * - * @return void */ protected function sortAndSavePackageStates() { diff --git a/typo3/sysext/core/Classes/Page/PageRenderer.php b/typo3/sysext/core/Classes/Page/PageRenderer.php index 0c31b8d2220a..54b86a072cd8 100644 --- a/typo3/sysext/core/Classes/Page/PageRenderer.php +++ b/typo3/sysext/core/Classes/Page/PageRenderer.php @@ -431,8 +431,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Reset all vars to initial values - * - * @return void */ protected function reset() { @@ -462,7 +460,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Sets the title * * @param string $title title of webpage - * @return void */ public function setTitle($title) { @@ -473,7 +470,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Enables/disables rendering of XHTML code * * @param bool $enable Enable XHTML - * @return void */ public function setRenderXhtml($enable) { @@ -484,7 +480,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Sets xml prolog and docType * * @param string $xmlPrologAndDocType Complete tags for xml prolog and docType - * @return void */ public function setXmlPrologAndDocType($xmlPrologAndDocType) { @@ -495,7 +490,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Sets meta charset * * @param string $charSet Used charset - * @return void */ public function setCharSet($charSet) { @@ -506,7 +500,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Sets language * * @param string $lang Used language - * @return void */ public function setLanguage($lang) { @@ -526,7 +519,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Set the meta charset tag * * @param string $metaCharsetTag - * @return void */ public function setMetaCharsetTag($metaCharsetTag) { @@ -537,7 +529,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Sets html tag * * @param string $htmlTag Html tag - * @return void */ public function setHtmlTag($htmlTag) { @@ -548,7 +539,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Sets HTML head tag * * @param string $headTag HTML head tag - * @return void */ public function setHeadTag($headTag) { @@ -559,7 +549,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Sets favicon * * @param string $favIcon - * @return void */ public function setFavIcon($favIcon) { @@ -570,7 +559,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Sets icon mime type * * @param string $iconMimeType - * @return void */ public function setIconMimeType($iconMimeType) { @@ -581,7 +569,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Sets HTML base URL * * @param string $baseUrl HTML base URL - * @return void */ public function setBaseUrl($baseUrl) { @@ -592,7 +579,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Sets template file * * @param string $file - * @return void */ public function setTemplateFile($file) { @@ -603,7 +589,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Sets Content for Body * * @param string $content - * @return void */ public function setBodyContent($content) { @@ -614,7 +599,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Sets path to requireJS library (relative to typo3 directory) * * @param string $path Path to requireJS library - * @return void */ public function setRequireJsPath($path) { @@ -625,7 +609,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Sets Path for ExtJs library (relative to typo3 directory) * * @param string $path - * @return void */ public function setExtJsPath($path) { @@ -640,8 +623,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /*****************************************************/ /** * Enables MoveJsFromHeaderToFooter - * - * @return void */ public function enableMoveJsFromHeaderToFooter() { @@ -650,8 +631,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Disables MoveJsFromHeaderToFooter - * - * @return void */ public function disableMoveJsFromHeaderToFooter() { @@ -660,8 +639,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Enables compression of javascript - * - * @return void */ public function enableCompressJavascript() { @@ -670,8 +647,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Disables compression of javascript - * - * @return void */ public function disableCompressJavascript() { @@ -680,8 +655,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Enables compression of css - * - * @return void */ public function enableCompressCss() { @@ -690,8 +663,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Disables compression of css - * - * @return void */ public function disableCompressCss() { @@ -700,8 +671,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Enables concatenation of js and css files - * - * @return void */ public function enableConcatenateFiles() { @@ -710,8 +679,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Disables concatenation of js and css files - * - * @return void */ public function disableConcatenateFiles() { @@ -720,8 +687,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Enables concatenation of js files - * - * @return void */ public function enableConcatenateJavascript() { @@ -730,8 +695,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Disables concatenation of js files - * - * @return void */ public function disableConcatenateJavascript() { @@ -740,8 +703,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Enables concatenation of css files - * - * @return void */ public function enableConcatenateCss() { @@ -750,8 +711,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Disables concatenation of css files - * - * @return void */ public function disableConcatenateCss() { @@ -760,8 +719,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Sets removal of all line breaks in template - * - * @return void */ public function enableRemoveLineBreaksFromTemplate() { @@ -770,8 +727,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Unsets removal of all line breaks in template - * - * @return void */ public function disableRemoveLineBreaksFromTemplate() { @@ -781,8 +736,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Enables Debug Mode * This is a shortcut to switch off all compress/concatenate features to enable easier debug - * - * @return void */ public function enableDebugMode() { @@ -1030,7 +983,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Adds meta data * * @param string $meta Meta data (complete metatag) - * @return void */ public function addMetaTag($meta) { @@ -1043,7 +995,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Adds inline HTML comment * * @param string $comment - * @return void */ public function addInlineComment($comment) { @@ -1056,7 +1007,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Adds header data * * @param string $data Free header data for HTML header - * @return void */ public function addHeaderData($data) { @@ -1069,7 +1019,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Adds footer data * * @param string $data Free header data for HTML header - * @return void */ public function addFooterData($data) { @@ -1091,7 +1040,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * @param string $splitChar The char used to split the allWrap value, default is "|" * @param bool $async Flag if property 'async="async"' should be added to JavaScript tags * @param string $integrity Subresource Integrity (SRI) - * @return void */ public function addJsLibrary($name, $file, $type = 'text/javascript', $compress = false, $forceOnTop = false, $allWrap = '', $excludeFromConcatenation = false, $splitChar = '|', $async = false, $integrity = '') { @@ -1127,7 +1075,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * @param string $splitChar The char used to split the allWrap value, default is "|" * @param bool $async Flag if property 'async="async"' should be added to JavaScript tags * @param string $integrity Subresource Integrity (SRI) - * @return void */ public function addJsFooterLibrary($name, $file, $type = 'text/javascript', $compress = false, $forceOnTop = false, $allWrap = '', $excludeFromConcatenation = false, $splitChar = '|', $async = false, $integrity = '') { @@ -1162,7 +1109,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * @param string $splitChar The char used to split the allWrap value, default is "|" * @param bool $async Flag if property 'async="async"' should be added to JavaScript tags * @param string $integrity Subresource Integrity (SRI) - * @return void */ public function addJsFile($file, $type = 'text/javascript', $compress = true, $forceOnTop = false, $allWrap = '', $excludeFromConcatenation = false, $splitChar = '|', $async = false, $integrity = '') { @@ -1197,7 +1143,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * @param string $splitChar The char used to split the allWrap value, default is "|" * @param bool $async Flag if property 'async="async"' should be added to JavaScript tags * @param string $integrity Subresource Integrity (SRI) - * @return void */ public function addJsFooterFile($file, $type = 'text/javascript', $compress = true, $forceOnTop = false, $allWrap = '', $excludeFromConcatenation = false, $splitChar = '|', $async = false, $integrity = '') { @@ -1227,7 +1172,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * @param string $block * @param bool $compress * @param bool $forceOnTop - * @return void */ public function addJsInlineCode($name, $block, $compress = true, $forceOnTop = false) { @@ -1248,7 +1192,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * @param string $block * @param bool $compress * @param bool $forceOnTop - * @return void */ public function addJsFooterInlineCode($name, $block, $compress = true, $forceOnTop = false) { @@ -1267,7 +1210,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * * @param string $block Javascript code * @param bool $forceOnTop Position of the javascript code (TRUE for putting it on top, default is FALSE = bottom) - * @return void */ public function addExtOnReadyCode($block, $forceOnTop = false) { @@ -1284,7 +1226,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Adds the ExtDirect code * * @param array $filterNamespaces Limit the output to defined namespaces. If empty, all namespaces are generated - * @return void */ public function addExtDirectCode(array $filterNamespaces = []) { @@ -1414,7 +1355,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * @param string $allWrap * @param bool $excludeFromConcatenation * @param string $splitChar The char used to split the allWrap value, default is "|" - * @return void */ public function addCssFile($file, $rel = 'stylesheet', $media = 'all', $title = '', $compress = true, $forceOnTop = false, $allWrap = '', $excludeFromConcatenation = false, $splitChar = '|') { @@ -1445,7 +1385,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * @param string $allWrap * @param bool $excludeFromConcatenation * @param string $splitChar The char used to split the allWrap value, default is "|" - * @return void */ public function addCssLibrary($file, $rel = 'stylesheet', $media = 'all', $title = '', $compress = true, $forceOnTop = false, $allWrap = '', $excludeFromConcatenation = false, $splitChar = '|') { @@ -1471,7 +1410,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * @param string $block * @param bool $compress * @param bool $forceOnTop - * @return void */ public function addCssInlineBlock($name, $block, $compress = false, $forceOnTop = false) { @@ -1490,7 +1428,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * @param null|string $version The jQuery version that should be included, either "latest" or any available version * @param null|string $source The location of the jQuery source, can be "local", "google", "msn", "jquery" or just an URL to your jQuery lib * @param string $namespace The namespace in which the jQuery object of the specific version should be stored. - * @return void * @throws \UnexpectedValueException */ public function loadJquery($version = null, $source = null, $namespace = self::JQUERY_NAMESPACE_DEFAULT) @@ -1520,8 +1457,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * this automatically adds the JavaScript path of all loaded extensions in the requireJS path option * so it resolves names like TYPO3/CMS/MyExtension/MyJsFile to EXT:MyExtension/Resources/Public/JavaScript/MyJsFile.js * when using requireJS - * - * @return void */ public function loadRequireJs() { @@ -1615,7 +1550,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * ), * * @param array $configuration The configuration that will be merged with existing one. - * @return void */ public function addRequireJsConfiguration(array $configuration) { @@ -1641,7 +1575,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * * @param string $mainModuleName Must be in the form of "TYPO3/CMS/PackageName/ModuleName" e.g. "TYPO3/CMS/Backend/FormEngine" * @param string $callBackFunction loaded right after the requireJS loading, must be wrapped in function() {} - * @return void */ public function loadRequireJsModule($mainModuleName, $callBackFunction = null) { @@ -1664,7 +1597,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * * @param bool $css Flag, if set the ext-css will be loaded * @param bool $theme Flag, if set the ext-theme "grey" will be loaded - * @return void */ public function loadExtJS($css = true, $theme = true) { @@ -1675,8 +1607,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Call this function to load debug version of ExtJS. Use this for development only - * - * @return void */ public function enableExtJsDebug() { @@ -1690,7 +1620,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * * @param string $key * @param string $value - * @return void */ public function addInlineLanguageLabel($key, $value) { @@ -1705,7 +1634,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * * @param array $array * @param bool $parseWithLanguageService - * @return void */ public function addInlineLanguageLabelArray(array $array, $parseWithLanguageService = false) { @@ -1729,7 +1657,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * @param string $selectionPrefix Prefix to select the correct labels (default: '') * @param string $stripFromSelectionName String to be removed from the label names in the output. (default: '') * @param int $errorMode Error mode (when file could not be found): 0 - syslog entry, 1 - do nothing, 2 - throw an exception - * @return void */ public function addInlineLanguageLabelFile($fileRef, $selectionPrefix = '', $stripFromSelectionName = '', $errorMode = 0) { @@ -1752,7 +1679,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * @param string $namespace * @param string $key * @param string $value - * @return void */ public function addInlineSetting($namespace, $key, $value) { @@ -1780,7 +1706,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * * @param string $namespace * @param array $array - * @return void */ public function addInlineSettingArray($namespace, array $array) { @@ -1804,7 +1729,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Adds content to body content * * @param string $content - * @return void */ public function addBodyContent($content) { @@ -1894,8 +1818,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * Remove ending slashes from static header block * if the page is being rendered as html (not xhtml) * and define property $this->endingSlash for further use - * - * @return void */ protected function prepareRendering() { @@ -2468,7 +2390,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * @param string $selectionPrefix * @param string $stripFromSelectionName * @param int $errorMode - * @return void * @throws \RuntimeException */ protected function includeLanguageFileForInline($fileRef, $selectionPrefix = '', $stripFromSelectionName = '', $errorMode = 0) @@ -2546,8 +2467,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Concatenate files into one file * registered handler - * - * @return void */ protected function doConcatenate() { @@ -2557,8 +2476,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Concatenate JavaScript files according to the configuration. - * - * @return void */ protected function doConcatenateJavaScript() { @@ -2583,8 +2500,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Concatenate CSS files according to configuration. - * - * @return void */ protected function doConcatenateCss() { @@ -2611,8 +2526,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Compresses inline code - * - * @return void */ protected function doCompress() { @@ -2622,8 +2535,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Compresses CSS according to configuration. - * - * @return void */ protected function doCompressCss() { @@ -2647,8 +2558,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * Compresses JavaScript according to configuration. - * - * @return void */ protected function doCompressJavaScript() { @@ -2773,8 +2682,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /*****************************************************/ /** * Execute PreRenderHook for possible manipulation - * - * @return void */ protected function executePreRenderHook() { @@ -2800,8 +2707,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface /** * PostTransform for possible manipulation of concatenated and compressed files - * - * @return void */ protected function executeRenderPostTransformHook() { @@ -2837,7 +2742,6 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface * @param $cssInline string * @param $jsFooterInline string * @param $jsFooterLibs string - * @return void */ protected function executePostRenderHook(&$jsLibs, &$jsFiles, &$jsFooterFiles, &$cssLibs, &$cssFiles, &$jsInline, &$cssInline, &$jsFooterInline, &$jsFooterLibs) { diff --git a/typo3/sysext/core/Classes/Registry.php b/typo3/sysext/core/Classes/Registry.php index 903205893a8a..8add9de3da4f 100644 --- a/typo3/sysext/core/Classes/Registry.php +++ b/typo3/sysext/core/Classes/Registry.php @@ -69,7 +69,6 @@ class Registry implements SingletonInterface * @param string $namespace Extension key of extension * @param string $key The key of the entry to set. * @param mixed $value The value to set. This can be any PHP data type; This class takes care of serialization - * @return void * @throws \InvalidArgumentException Throws an exception if the given namespace is not valid */ public function set($namespace, $key, $value) @@ -108,7 +107,6 @@ class Registry implements SingletonInterface * * @param string $namespace Extension key of extension * @param string $key The key of the entry to unset. - * @return void * @throws \InvalidArgumentException Throws an exception if the given namespace is not valid */ public function remove($namespace, $key) @@ -127,7 +125,6 @@ class Registry implements SingletonInterface * Unset all persistent entries of given namespace. * * @param string $namespace Extension key of extension - * @return void * @throws \InvalidArgumentException Throws an exception if given namespace is invalid */ public function removeAllByNamespace($namespace) @@ -157,7 +154,6 @@ class Registry implements SingletonInterface * Loads all entries of given namespace into the internal $entries cache. * * @param string $namespace Extension key of extension - * @return void * @throws \InvalidArgumentException Thrown if given namespace is invalid */ protected function loadEntriesByNamespace($namespace) @@ -182,7 +178,6 @@ class Registry implements SingletonInterface * It must be at least two characters long. The word 'core' is reserved for TYPO3 core usage. * * @param string $namespace Namespace - * @return void * @throws \InvalidArgumentException Thrown if given namespace is invalid */ protected function validateNamespace($namespace) diff --git a/typo3/sysext/core/Classes/Resource/AbstractFile.php b/typo3/sysext/core/Classes/Resource/AbstractFile.php index d90feec97e5d..f90321cf862a 100644 --- a/typo3/sysext/core/Classes/Resource/AbstractFile.php +++ b/typo3/sysext/core/Classes/Resource/AbstractFile.php @@ -445,8 +445,6 @@ abstract class AbstractFile implements FileInterface /** * Marks this file as deleted. This should only be used inside the * File Abstraction Layer, as it is a low-level API method. - * - * @return void */ public function setDeleted() { diff --git a/typo3/sysext/core/Classes/Resource/AbstractRepository.php b/typo3/sysext/core/Classes/Resource/AbstractRepository.php index 63c4d9542aca..ce2b2f882cc5 100644 --- a/typo3/sysext/core/Classes/Resource/AbstractRepository.php +++ b/typo3/sysext/core/Classes/Resource/AbstractRepository.php @@ -64,7 +64,6 @@ abstract class AbstractRepository implements RepositoryInterface, SingletonInter * Adds an object to this repository. * * @param object $object The object to add - * @return void * @api */ public function add($object) @@ -75,7 +74,6 @@ abstract class AbstractRepository implements RepositoryInterface, SingletonInter * Removes an object from this repository. * * @param object $object The object to remove - * @return void * @api */ public function remove($object) @@ -87,7 +85,6 @@ abstract class AbstractRepository implements RepositoryInterface, SingletonInter * * @param object $existingObject The existing object * @param object $newObject The new object - * @return void * @api */ public function replace($existingObject, $newObject) @@ -181,7 +178,6 @@ abstract class AbstractRepository implements RepositoryInterface, SingletonInter * Removes all objects of this repository as if remove() was called for * all of them. * - * @return void * @api */ public function removeAll() @@ -232,7 +228,6 @@ abstract class AbstractRepository implements RepositoryInterface, SingletonInter * @param array $defaultOrderings The property names to order by * * @throws \BadMethodCallException - * @return void * @api */ public function setDefaultOrderings(array $defaultOrderings) @@ -246,7 +241,6 @@ abstract class AbstractRepository implements RepositoryInterface, SingletonInter * @param \TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface $defaultQuerySettings The query settings to be used by default * * @throws \BadMethodCallException - * @return void * @api */ public function setDefaultQuerySettings(\TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface $defaultQuerySettings) @@ -285,7 +279,6 @@ abstract class AbstractRepository implements RepositoryInterface, SingletonInter * @param array $arguments The arguments * * @throws \BadMethodCallException - * @return void */ public function __call($method, $arguments) { diff --git a/typo3/sysext/core/Classes/Resource/Collection/CategoryBasedFileCollection.php b/typo3/sysext/core/Classes/Resource/Collection/CategoryBasedFileCollection.php index 0a9fa5ff2c3e..84df0b48fd82 100644 --- a/typo3/sysext/core/Classes/Resource/Collection/CategoryBasedFileCollection.php +++ b/typo3/sysext/core/Classes/Resource/Collection/CategoryBasedFileCollection.php @@ -46,8 +46,6 @@ class CategoryBasedFileCollection extends AbstractFileCollection /** * Populates the content-entries of the collection - * - * @return void */ public function loadContents() { diff --git a/typo3/sysext/core/Classes/Resource/Collection/FolderBasedFileCollection.php b/typo3/sysext/core/Classes/Resource/Collection/FolderBasedFileCollection.php index 66ec49a364e9..607ba2c8b78d 100644 --- a/typo3/sysext/core/Classes/Resource/Collection/FolderBasedFileCollection.php +++ b/typo3/sysext/core/Classes/Resource/Collection/FolderBasedFileCollection.php @@ -60,8 +60,6 @@ class FolderBasedFileCollection extends AbstractFileCollection * If the content entries of the storage had not been loaded on creation * ($fillItems = false) this function is to be used for loading the contents * afterwards. - * - * @return void */ public function loadContents() { diff --git a/typo3/sysext/core/Classes/Resource/Collection/StaticFileCollection.php b/typo3/sysext/core/Classes/Resource/Collection/StaticFileCollection.php index 1bd418676a6f..e2507c7298b9 100644 --- a/typo3/sysext/core/Classes/Resource/Collection/StaticFileCollection.php +++ b/typo3/sysext/core/Classes/Resource/Collection/StaticFileCollection.php @@ -46,8 +46,6 @@ class StaticFileCollection extends AbstractFileCollection * If the content entries of the storage had not been loaded on creation * ($fillItems = false) this function is to be used for loading the contents * afterwards. - * - * @return void */ public function loadContents() { diff --git a/typo3/sysext/core/Classes/Resource/Driver/AbstractDriver.php b/typo3/sysext/core/Classes/Resource/Driver/AbstractDriver.php index 42de84349a0f..ac8e466045ad 100644 --- a/typo3/sysext/core/Classes/Resource/Driver/AbstractDriver.php +++ b/typo3/sysext/core/Classes/Resource/Driver/AbstractDriver.php @@ -18,7 +18,6 @@ use TYPO3\CMS\Core\Utility\PathUtility; /** * An abstract implementation of a storage driver. - * */ abstract class AbstractDriver implements DriverInterface { @@ -88,7 +87,6 @@ abstract class AbstractDriver implements DriverInterface * Sets the storage uid the driver belongs to * * @param int $storageUid - * @return void */ public function setStorageUid($storageUid) { diff --git a/typo3/sysext/core/Classes/Resource/Driver/DriverInterface.php b/typo3/sysext/core/Classes/Resource/Driver/DriverInterface.php index 10797fdc6406..ca9f49b74530 100644 --- a/typo3/sysext/core/Classes/Resource/Driver/DriverInterface.php +++ b/typo3/sysext/core/Classes/Resource/Driver/DriverInterface.php @@ -22,7 +22,6 @@ interface DriverInterface { /** * Processes the configuration for this driver. - * @return void */ public function processConfiguration(); @@ -30,15 +29,12 @@ interface DriverInterface * Sets the storage uid the driver belongs to * * @param int $storageUid - * @return void */ public function setStorageUid($storageUid); /** * Initializes this object. This is called by the storage after the driver * has been attached. - * - * @return void */ public function initialize(); @@ -354,7 +350,6 @@ interface DriverInterface * buffer before. Will be taken care of by the Storage. * * @param string $identifier - * @return void */ public function dumpFileContents($identifier); diff --git a/typo3/sysext/core/Classes/Resource/Driver/DriverRegistry.php b/typo3/sysext/core/Classes/Resource/Driver/DriverRegistry.php index 5143b780314f..79f090096a83 100644 --- a/typo3/sysext/core/Classes/Resource/Driver/DriverRegistry.php +++ b/typo3/sysext/core/Classes/Resource/Driver/DriverRegistry.php @@ -85,8 +85,6 @@ class DriverRegistry implements \TYPO3\CMS\Core\SingletonInterface /** * Adds the TCA information so the registered drivers can be selected when creating a sys_file_storage * in the TYPO3 Backend. - * - * @return void */ public function addDriversToTCA() { diff --git a/typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php b/typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php index c969b91f1ad2..edf21de1f8f8 100644 --- a/typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php +++ b/typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php @@ -23,7 +23,6 @@ use TYPO3\CMS\Core\Utility\PathUtility; /** * Driver for the local file system - * */ class LocalDriver extends AbstractHierarchicalFilesystemDriver { @@ -90,8 +89,6 @@ class LocalDriver extends AbstractHierarchicalFilesystemDriver /** * Processes the configuration for this driver. - * - * @return void */ public function processConfiguration() { @@ -106,8 +103,6 @@ class LocalDriver extends AbstractHierarchicalFilesystemDriver /** * Initializes this object. This is called by the storage after the driver * has been attached. - * - * @return void */ public function initialize() { @@ -116,8 +111,6 @@ class LocalDriver extends AbstractHierarchicalFilesystemDriver /** * Determines the base URL for this driver, from the configuration or * the TypoScript frontend object - * - * @return void */ protected function determineBaseUrl() { @@ -1381,7 +1374,6 @@ class LocalDriver extends AbstractHierarchicalFilesystemDriver * buffer before. Will be taken care of by the Storage. * * @param string $identifier - * @return void */ public function dumpFileContents($identifier) { diff --git a/typo3/sysext/core/Classes/Resource/Exception.php b/typo3/sysext/core/Classes/Resource/Exception.php index 2745955d0845..79db6c81607c 100644 --- a/typo3/sysext/core/Classes/Resource/Exception.php +++ b/typo3/sysext/core/Classes/Resource/Exception.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource; /** * An exception when something is wrong with the file handling - * */ class Exception extends \TYPO3\CMS\Core\Exception { diff --git a/typo3/sysext/core/Classes/Resource/Exception/AbstractFileOperationException.php b/typo3/sysext/core/Classes/Resource/Exception/AbstractFileOperationException.php index bf7c4fb510bd..a3cda144f76c 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/AbstractFileOperationException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/AbstractFileOperationException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when something is wrong with the file handling - * */ abstract class AbstractFileOperationException extends \TYPO3\CMS\Core\Resource\Exception { diff --git a/typo3/sysext/core/Classes/Resource/Exception/ExistingTargetFileNameException.php b/typo3/sysext/core/Classes/Resource/Exception/ExistingTargetFileNameException.php index 52644bad31e0..ada7f5fa9bee 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/ExistingTargetFileNameException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/ExistingTargetFileNameException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when something is wrong with the file handling - * */ class ExistingTargetFileNameException extends \TYPO3\CMS\Core\Resource\Exception { diff --git a/typo3/sysext/core/Classes/Resource/Exception/ExistingTargetFolderException.php b/typo3/sysext/core/Classes/Resource/Exception/ExistingTargetFolderException.php index a57296b5e3c4..eaa06bb43f07 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/ExistingTargetFolderException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/ExistingTargetFolderException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when something is wrong with the file handling - * */ class ExistingTargetFolderException extends \TYPO3\CMS\Core\Resource\Exception { diff --git a/typo3/sysext/core/Classes/Resource/Exception/FileDoesNotExistException.php b/typo3/sysext/core/Classes/Resource/Exception/FileDoesNotExistException.php index d0f20dfb5581..7faae1322488 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/FileDoesNotExistException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/FileDoesNotExistException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception to throw if a file does not exist - * */ class FileDoesNotExistException extends ResourceDoesNotExistException { diff --git a/typo3/sysext/core/Classes/Resource/Exception/FileOperationErrorException.php b/typo3/sysext/core/Classes/Resource/Exception/FileOperationErrorException.php index 4885e4b6eb75..f84d9141cd0c 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/FileOperationErrorException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/FileOperationErrorException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when something is wrong with the file handling - * */ class FileOperationErrorException extends \TYPO3\CMS\Core\Resource\Exception\AbstractFileOperationException { diff --git a/typo3/sysext/core/Classes/Resource/Exception/FolderDoesNotExistException.php b/typo3/sysext/core/Classes/Resource/Exception/FolderDoesNotExistException.php index 94982b027b6c..60217cce93b0 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/FolderDoesNotExistException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/FolderDoesNotExistException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception to throw if a folder does not exist - * */ class FolderDoesNotExistException extends ResourceDoesNotExistException { diff --git a/typo3/sysext/core/Classes/Resource/Exception/IllegalFileExtensionException.php b/typo3/sysext/core/Classes/Resource/Exception/IllegalFileExtensionException.php index f23d466ce89f..faaf45c1525a 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/IllegalFileExtensionException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/IllegalFileExtensionException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when something is wrong with the file handling - * */ class IllegalFileExtensionException extends \TYPO3\CMS\Core\Resource\Exception { diff --git a/typo3/sysext/core/Classes/Resource/Exception/InsufficientFileAccessPermissionsException.php b/typo3/sysext/core/Classes/Resource/Exception/InsufficientFileAccessPermissionsException.php index db4770c8aa52..34a88ca3a55e 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/InsufficientFileAccessPermissionsException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/InsufficientFileAccessPermissionsException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when something is wrong with the file handling - * */ class InsufficientFileAccessPermissionsException extends \TYPO3\CMS\Core\Resource\Exception { diff --git a/typo3/sysext/core/Classes/Resource/Exception/InsufficientFileReadPermissionsException.php b/typo3/sysext/core/Classes/Resource/Exception/InsufficientFileReadPermissionsException.php index 4c9238a19821..3d375a6f1faa 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/InsufficientFileReadPermissionsException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/InsufficientFileReadPermissionsException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when something is wrong with the file handling - * */ class InsufficientFileReadPermissionsException extends \TYPO3\CMS\Core\Resource\Exception\InsufficientFileAccessPermissionsException { diff --git a/typo3/sysext/core/Classes/Resource/Exception/InsufficientFileWritePermissionsException.php b/typo3/sysext/core/Classes/Resource/Exception/InsufficientFileWritePermissionsException.php index 8d1a95c25290..e8eb2b89f2d6 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/InsufficientFileWritePermissionsException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/InsufficientFileWritePermissionsException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when something is wrong with the file handling - * */ class InsufficientFileWritePermissionsException extends \TYPO3\CMS\Core\Resource\Exception\InsufficientFileAccessPermissionsException { diff --git a/typo3/sysext/core/Classes/Resource/Exception/InsufficientFolderAccessPermissionsException.php b/typo3/sysext/core/Classes/Resource/Exception/InsufficientFolderAccessPermissionsException.php index 4842356ff31e..008cdedcf7e1 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/InsufficientFolderAccessPermissionsException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/InsufficientFolderAccessPermissionsException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when something is wrong with the file handling - * */ class InsufficientFolderAccessPermissionsException extends \TYPO3\CMS\Core\Resource\Exception { diff --git a/typo3/sysext/core/Classes/Resource/Exception/InsufficientFolderReadPermissionsException.php b/typo3/sysext/core/Classes/Resource/Exception/InsufficientFolderReadPermissionsException.php index 4fae13df906b..7f109ba0c28f 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/InsufficientFolderReadPermissionsException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/InsufficientFolderReadPermissionsException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when something is wrong with the file handling - * */ class InsufficientFolderReadPermissionsException extends \TYPO3\CMS\Core\Resource\Exception\InsufficientFolderAccessPermissionsException { diff --git a/typo3/sysext/core/Classes/Resource/Exception/InsufficientFolderWritePermissionsException.php b/typo3/sysext/core/Classes/Resource/Exception/InsufficientFolderWritePermissionsException.php index 5397d00afafa..3d7d8cdb2ffe 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/InsufficientFolderWritePermissionsException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/InsufficientFolderWritePermissionsException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when something is wrong with the file handling - * */ class InsufficientFolderWritePermissionsException extends \TYPO3\CMS\Core\Resource\Exception\InsufficientFolderAccessPermissionsException { diff --git a/typo3/sysext/core/Classes/Resource/Exception/InsufficientUserPermissionsException.php b/typo3/sysext/core/Classes/Resource/Exception/InsufficientUserPermissionsException.php index 9b9100411154..103a88b903d1 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/InsufficientUserPermissionsException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/InsufficientUserPermissionsException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when something is wrong with the file handling - * */ class InsufficientUserPermissionsException extends \TYPO3\CMS\Core\Resource\Exception { diff --git a/typo3/sysext/core/Classes/Resource/Exception/InvalidConfigurationException.php b/typo3/sysext/core/Classes/Resource/Exception/InvalidConfigurationException.php index a87c903dc8d5..3dceab8c8b20 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/InvalidConfigurationException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/InvalidConfigurationException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when something is wrong with the configuration - * */ class InvalidConfigurationException extends \TYPO3\CMS\Core\Resource\Exception { diff --git a/typo3/sysext/core/Classes/Resource/Exception/InvalidFileException.php b/typo3/sysext/core/Classes/Resource/Exception/InvalidFileException.php index 4e60755c30b4..7e24e0c4d36c 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/InvalidFileException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/InvalidFileException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when something is wrong with the File - * */ class InvalidFileException extends \TYPO3\CMS\Core\Resource\Exception { diff --git a/typo3/sysext/core/Classes/Resource/Exception/InvalidFileNameException.php b/typo3/sysext/core/Classes/Resource/Exception/InvalidFileNameException.php index 408b609fa9af..84924058e855 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/InvalidFileNameException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/InvalidFileNameException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when something is wrong with the File name - * */ class InvalidFileNameException extends \TYPO3\CMS\Core\Resource\Exception { diff --git a/typo3/sysext/core/Classes/Resource/Exception/InvalidFolderException.php b/typo3/sysext/core/Classes/Resource/Exception/InvalidFolderException.php index 1160b4f272fd..afe0d8fe46f1 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/InvalidFolderException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/InvalidFolderException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when something is wrong with the Folder - * */ class InvalidFolderException extends \TYPO3\CMS\Core\Resource\Exception { diff --git a/typo3/sysext/core/Classes/Resource/Exception/InvalidPathException.php b/typo3/sysext/core/Classes/Resource/Exception/InvalidPathException.php index 6c4146bcaeef..e1d11abc7dcf 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/InvalidPathException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/InvalidPathException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when something is wrong with the path - * */ class InvalidPathException extends \TYPO3\CMS\Core\Resource\Exception { diff --git a/typo3/sysext/core/Classes/Resource/Exception/InvalidTargetFolderException.php b/typo3/sysext/core/Classes/Resource/Exception/InvalidTargetFolderException.php index 5d7f4652bfaf..f7a31b6f2e0a 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/InvalidTargetFolderException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/InvalidTargetFolderException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when something is wrong with the file handling - * */ class InvalidTargetFolderException extends \TYPO3\CMS\Core\Resource\Exception { diff --git a/typo3/sysext/core/Classes/Resource/Exception/NotInMountPointException.php b/typo3/sysext/core/Classes/Resource/Exception/NotInMountPointException.php index 7c55b4cb6279..72febd1b3743 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/NotInMountPointException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/NotInMountPointException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when something is wrong with the Mount Point - * */ class NotInMountPointException extends \TYPO3\CMS\Core\Resource\Exception { diff --git a/typo3/sysext/core/Classes/Resource/Exception/UploadException.php b/typo3/sysext/core/Classes/Resource/Exception/UploadException.php index 741783101fef..d7f3777cfff9 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/UploadException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/UploadException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when the upload goes wrong - * */ class UploadException extends \TYPO3\CMS\Core\Resource\Exception\AbstractFileOperationException { diff --git a/typo3/sysext/core/Classes/Resource/Exception/UploadSizeException.php b/typo3/sysext/core/Classes/Resource/Exception/UploadSizeException.php index 968f9ea7800f..b6bae4ff5de3 100644 --- a/typo3/sysext/core/Classes/Resource/Exception/UploadSizeException.php +++ b/typo3/sysext/core/Classes/Resource/Exception/UploadSizeException.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource\Exception; /** * An exception when the size of the uploaded file has exceeded - * */ class UploadSizeException extends \TYPO3\CMS\Core\Resource\Exception\AbstractFileOperationException { diff --git a/typo3/sysext/core/Classes/Resource/File.php b/typo3/sysext/core/Classes/Resource/File.php index 1021c610067c..c6339bef79df 100644 --- a/typo3/sysext/core/Classes/Resource/File.php +++ b/typo3/sysext/core/Classes/Resource/File.php @@ -18,7 +18,6 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; /** * File representation in the file abstraction layer. - * */ class File extends AbstractFile { @@ -178,7 +177,6 @@ class File extends AbstractFile /** * Loads MetaData from Repository - * @return void */ protected function loadMetaData() { @@ -199,7 +197,6 @@ class File extends AbstractFile * NOTE: This method should not be called from outside the File Abstraction Layer (FAL)! * * @param array $properties - * @return void * @internal */ public function updateProperties(array $properties) @@ -242,7 +239,6 @@ class File extends AbstractFile * @internal Do not use outside the FileAbstraction Layer classes * * @param array $properties - * @return void */ public function _updateMetaDataProperties(array $properties) { diff --git a/typo3/sysext/core/Classes/Resource/Folder.php b/typo3/sysext/core/Classes/Resource/Folder.php index c36088f4799e..9ac85a5ccad4 100644 --- a/typo3/sysext/core/Classes/Resource/Folder.php +++ b/typo3/sysext/core/Classes/Resource/Folder.php @@ -134,7 +134,6 @@ class Folder implements FolderInterface * as the name is more seen as a label * * @param string $name The new name - * @return void */ public function setName($name) { @@ -418,7 +417,6 @@ class Folder implements FolderInterface * NOTE: This method should not be called from outside the File Abstraction Layer (FAL)! * * @param array $properties - * @return void * @internal */ public function updateProperties(array $properties) diff --git a/typo3/sysext/core/Classes/Resource/Hook/FileDumpEIDHookInterface.php b/typo3/sysext/core/Classes/Resource/Hook/FileDumpEIDHookInterface.php index 0d22b52184ce..7bd301e86bda 100644 --- a/typo3/sysext/core/Classes/Resource/Hook/FileDumpEIDHookInterface.php +++ b/typo3/sysext/core/Classes/Resource/Hook/FileDumpEIDHookInterface.php @@ -26,7 +26,6 @@ interface FileDumpEIDHookInterface * or 401 if authentication is required * * @param \TYPO3\CMS\Core\Resource\ResourceInterface $file - * @return void */ public function checkFileAccess(\TYPO3\CMS\Core\Resource\ResourceInterface $file); } diff --git a/typo3/sysext/core/Classes/Resource/InaccessibleFolder.php b/typo3/sysext/core/Classes/Resource/InaccessibleFolder.php index 55b670ab3e4a..895ccdd08feb 100644 --- a/typo3/sysext/core/Classes/Resource/InaccessibleFolder.php +++ b/typo3/sysext/core/Classes/Resource/InaccessibleFolder.php @@ -29,7 +29,6 @@ class InaccessibleFolder extends Folder * used to prevent duplicate code in all the methods * * @throws Exception\InsufficientFolderReadPermissionsException - * @return void */ protected function throwInaccessibleException() { @@ -45,7 +44,6 @@ class InaccessibleFolder extends Folder * as the name is more seen as a label * * @param string $name The new name - * @return void */ public function setName($name) { @@ -250,7 +248,6 @@ class InaccessibleFolder extends Folder * NOTE: This method should not be called from outside the File Abstraction Layer (FAL)! * * @param array $properties - * @return void * @internal */ public function updateProperties(array $properties) diff --git a/typo3/sysext/core/Classes/Resource/Index/ExtractorRegistry.php b/typo3/sysext/core/Classes/Resource/Index/ExtractorRegistry.php index f92b1d949d42..4bff3515d269 100644 --- a/typo3/sysext/core/Classes/Resource/Index/ExtractorRegistry.php +++ b/typo3/sysext/core/Classes/Resource/Index/ExtractorRegistry.php @@ -19,7 +19,6 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; /** * Registry for MetaData extraction Services - * */ class ExtractorRegistry implements SingletonInterface { diff --git a/typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php b/typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php index b2490b99dfac..eca664dd14d1 100644 --- a/typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php +++ b/typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php @@ -301,7 +301,6 @@ class FileIndexRepository implements SingletonInterface * Adds a file to the index * * @param File $file - * @return void */ public function add(File $file) { @@ -390,7 +389,6 @@ class FileIndexRepository implements SingletonInterface * Updates the index record in the database * * @param File $file - * @return void */ public function update(File $file) { @@ -491,7 +489,6 @@ class FileIndexRepository implements SingletonInterface * Updates the timestamp when the file indexer extracted metadata * * @param int $fileUid - * @return void */ public function updateIndexingTime($fileUid) { @@ -511,7 +508,6 @@ class FileIndexRepository implements SingletonInterface * Marks given file as missing in sys_file * * @param int $fileUid - * @return void */ public function markFileAsMissing($fileUid) { @@ -532,7 +528,6 @@ class FileIndexRepository implements SingletonInterface * Remove a sys_file record from the database * * @param int $fileUid - * @return void */ public function remove($fileUid) { @@ -551,7 +546,6 @@ class FileIndexRepository implements SingletonInterface * Update Reference Index (sys_refindex) for a file * * @param int $id Record UID - * @return void */ public function updateRefIndex($id) { diff --git a/typo3/sysext/core/Classes/Resource/Index/Indexer.php b/typo3/sysext/core/Classes/Resource/Index/Indexer.php index 17f25549b600..7b631f5cbae3 100644 --- a/typo3/sysext/core/Classes/Resource/Index/Indexer.php +++ b/typo3/sysext/core/Classes/Resource/Index/Indexer.php @@ -77,7 +77,6 @@ class Indexer * Update index entry * * @param File $fileObject - * @return void */ public function updateIndexEntry(File $fileObject) { @@ -88,7 +87,6 @@ class Indexer } /** - * @return void */ public function processChangesInStorages() { @@ -102,7 +100,6 @@ class Indexer /** * @param int $maximumFileCount - * @return void */ public function runMetaDataExtraction($maximumFileCount = -1) { @@ -196,7 +193,6 @@ class Indexer * Adds updated files to the processing queue * * @param array $fileIdentifierArray - * @return void */ protected function detectChangedFilesInStorage(array $fileIdentifierArray) { @@ -225,8 +221,6 @@ class Indexer /** * Processes the Files which have been detected as "changed or new" * in the storage - * - * @return void */ protected function processChangedAndNewFiles() { diff --git a/typo3/sysext/core/Classes/Resource/Index/MetaDataRepository.php b/typo3/sysext/core/Classes/Resource/Index/MetaDataRepository.php index db58940061af..f085b24838f2 100644 --- a/typo3/sysext/core/Classes/Resource/Index/MetaDataRepository.php +++ b/typo3/sysext/core/Classes/Resource/Index/MetaDataRepository.php @@ -157,7 +157,6 @@ class MetaDataRepository implements SingletonInterface * * @param int $fileUid the file uid to update * @param array $data Data to update - * @return void * @internal */ public function update($fileUid, array $data) @@ -193,7 +192,6 @@ class MetaDataRepository implements SingletonInterface * Remove all metadata records for a certain file from the database * * @param int $fileUid - * @return void */ public function removeByFileUid($fileUid) { diff --git a/typo3/sysext/core/Classes/Resource/ProcessedFile.php b/typo3/sysext/core/Classes/Resource/ProcessedFile.php index 1ba8b0f9c266..74d4260136d3 100644 --- a/typo3/sysext/core/Classes/Resource/ProcessedFile.php +++ b/typo3/sysext/core/Classes/Resource/ProcessedFile.php @@ -176,7 +176,6 @@ class ProcessedFile extends AbstractFile * Injects a local file, which is a processing result into the object. * * @param string $filePath - * @return void * @throws \RuntimeException */ public function updateWithLocalFile($filePath) @@ -389,8 +388,6 @@ class ProcessedFile extends AbstractFile /** * Defines that the original file should be used. - * - * @return void */ public function setUsesOriginalFile() { diff --git a/typo3/sysext/core/Classes/Resource/ProcessedFileRepository.php b/typo3/sysext/core/Classes/Resource/ProcessedFileRepository.php index ee9a6980086f..dd63afc66b06 100644 --- a/typo3/sysext/core/Classes/Resource/ProcessedFileRepository.php +++ b/typo3/sysext/core/Classes/Resource/ProcessedFileRepository.php @@ -124,7 +124,6 @@ class ProcessedFileRepository extends AbstractRepository * Adds a processedfile object in the database * * @param ProcessedFile $processedFile - * @return void */ public function add($processedFile) { @@ -151,7 +150,6 @@ class ProcessedFileRepository extends AbstractRepository * Updates an existing file object in the database * * @param ProcessedFile $processedFile - * @return void */ public function update($processedFile) { diff --git a/typo3/sysext/core/Classes/Resource/Processing/AbstractTask.php b/typo3/sysext/core/Classes/Resource/Processing/AbstractTask.php index e41a81e89c5e..f168ad52fce6 100644 --- a/typo3/sysext/core/Classes/Resource/Processing/AbstractTask.php +++ b/typo3/sysext/core/Classes/Resource/Processing/AbstractTask.php @@ -210,7 +210,6 @@ abstract class AbstractTask implements TaskInterface * the file processing service. * * @param bool $successful Set this to FALSE if executing the task failed - * @return void */ public function setExecuted($successful) { diff --git a/typo3/sysext/core/Classes/Resource/Processing/FileDeletionAspect.php b/typo3/sysext/core/Classes/Resource/Processing/FileDeletionAspect.php index 9b55fca1dec6..596189fe4d14 100644 --- a/typo3/sysext/core/Classes/Resource/Processing/FileDeletionAspect.php +++ b/typo3/sysext/core/Classes/Resource/Processing/FileDeletionAspect.php @@ -65,7 +65,6 @@ class FileDeletionAspect * Cleanup database record for a deleted file * * @param FileInterface $fileObject - * @return void */ public function removeFromRepository(FileInterface $fileObject) { @@ -122,7 +121,6 @@ class FileDeletionAspect * Remove all category references of the deleted file. * * @param File $fileObject - * @return void */ protected function cleanupCategoryReferences(File $fileObject) { @@ -144,7 +142,6 @@ class FileDeletionAspect * Remove all processed files that belong to the given File object * * @param FileInterface $fileObject - * @return void */ protected function cleanupProcessedFiles(FileInterface $fileObject) { diff --git a/typo3/sysext/core/Classes/Resource/Processing/ProcessorInterface.php b/typo3/sysext/core/Classes/Resource/Processing/ProcessorInterface.php index 27687e1805c3..545e53501246 100644 --- a/typo3/sysext/core/Classes/Resource/Processing/ProcessorInterface.php +++ b/typo3/sysext/core/Classes/Resource/Processing/ProcessorInterface.php @@ -31,7 +31,6 @@ interface ProcessorInterface * Processes the given task and sets the processing result in the task object. * * @param TaskInterface $task - * @return void */ public function processTask(TaskInterface $task); } diff --git a/typo3/sysext/core/Classes/Resource/Processing/TaskInterface.php b/typo3/sysext/core/Classes/Resource/Processing/TaskInterface.php index dd2a9845b4e1..05b9b18b29f4 100644 --- a/typo3/sysext/core/Classes/Resource/Processing/TaskInterface.php +++ b/typo3/sysext/core/Classes/Resource/Processing/TaskInterface.php @@ -113,7 +113,6 @@ interface TaskInterface * the file processing service. * * @param bool $successful Set this to FALSE if executing the task failed - * @return void */ public function setExecuted($successful); diff --git a/typo3/sysext/core/Classes/Resource/ResourceCompressor.php b/typo3/sysext/core/Classes/Resource/ResourceCompressor.php index bd6c795a6040..0bd2dfe5531d 100644 --- a/typo3/sysext/core/Classes/Resource/ResourceCompressor.php +++ b/typo3/sysext/core/Classes/Resource/ResourceCompressor.php @@ -91,7 +91,6 @@ class ResourceCompressor * Sets absolute path to working directory * * @param string $rootPath Absolute path - * @return void */ public function setRootPath($rootPath) { @@ -603,7 +602,6 @@ class ResourceCompressor * * @param string $filename Target filename * @param string $contents File contents - * @return void */ protected function writeFileAndCompressed($filename, $contents) { diff --git a/typo3/sysext/core/Classes/Resource/ResourceFactory.php b/typo3/sysext/core/Classes/Resource/ResourceFactory.php index c4d3b69cbe1f..e4162dbc1f55 100644 --- a/typo3/sysext/core/Classes/Resource/ResourceFactory.php +++ b/typo3/sysext/core/Classes/Resource/ResourceFactory.php @@ -240,8 +240,6 @@ class ResourceFactory implements ResourceFactoryInterface, \TYPO3\CMS\Core\Singl /** * Creates an array mapping all uids to the basePath of storages using the "local" driver. - * - * @return void */ protected function initializeLocalStorageCache() { diff --git a/typo3/sysext/core/Classes/Resource/ResourceInterface.php b/typo3/sysext/core/Classes/Resource/ResourceInterface.php index e32357abf7a6..d509bab9809c 100644 --- a/typo3/sysext/core/Classes/Resource/ResourceInterface.php +++ b/typo3/sysext/core/Classes/Resource/ResourceInterface.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource; /** * ResourceInterface - * */ interface ResourceInterface { diff --git a/typo3/sysext/core/Classes/Resource/ResourceStorage.php b/typo3/sysext/core/Classes/Resource/ResourceStorage.php index cb776432bc6a..296e9bc2133c 100644 --- a/typo3/sysext/core/Classes/Resource/ResourceStorage.php +++ b/typo3/sysext/core/Classes/Resource/ResourceStorage.php @@ -401,8 +401,6 @@ class ResourceStorage implements ResourceStorageInterface * Can only be modified by an admin. * * Typically, this is only done if the configuration is wrong. - * - * @return void */ public function markAsPermanentlyOffline() { @@ -425,8 +423,6 @@ class ResourceStorage implements ResourceStorageInterface * * Non-permanent: This typically happens for remote storages * that are "flaky" and not available all the time. - * - * @return void */ public function markAsTemporaryOffline() { @@ -447,7 +443,6 @@ class ResourceStorage implements ResourceStorageInterface * @param array $additionalData * * @throws Exception\FolderDoesNotExistException - * @return void */ public function addFileMount($folderIdentifier, $additionalData = []) { @@ -564,7 +559,6 @@ class ResourceStorage implements ResourceStorageInterface * Sets the user permissions of the storage. * * @param array $userPermissions - * @return void */ public function setUserPermissions(array $userPermissions) { @@ -758,7 +752,6 @@ class ResourceStorage implements ResourceStorageInterface * Assures read permission for given folder. * * @param Folder $folder If a folder is given, mountpoints are checked. If not only user folder read permissions are checked. - * @return void * @throws Exception\InsufficientFolderAccessPermissionsException */ protected function assureFolderReadPermission(Folder $folder = null) @@ -783,7 +776,6 @@ class ResourceStorage implements ResourceStorageInterface * * @param Folder $folder If a folder is given, mountpoints are checked. If not only user folder delete permissions are checked. * @param bool $checkDeleteRecursively - * @return void * @throws Exception\InsufficientFolderAccessPermissionsException * @throws Exception\InsufficientFolderWritePermissionsException * @throws Exception\InsufficientUserPermissionsException @@ -813,7 +805,6 @@ class ResourceStorage implements ResourceStorageInterface * Assures read permission for given file. * * @param FileInterface $file - * @return void * @throws Exception\InsufficientFileAccessPermissionsException * @throws Exception\IllegalFileExtensionException */ @@ -837,7 +828,6 @@ class ResourceStorage implements ResourceStorageInterface * Assures write permission for given file. * * @param FileInterface $file - * @return void * @throws Exception\IllegalFileExtensionException * @throws Exception\InsufficientFileWritePermissionsException * @throws Exception\InsufficientUserPermissionsException @@ -857,7 +847,6 @@ class ResourceStorage implements ResourceStorageInterface * Assure replace permission for given file. * * @param FileInterface $file - * @return void * @throws Exception\InsufficientFileWritePermissionsException * @throws Exception\InsufficientFolderWritePermissionsException */ @@ -877,7 +866,6 @@ class ResourceStorage implements ResourceStorageInterface * Assures delete permission for given file. * * @param FileInterface $file - * @return void * @throws Exception\IllegalFileExtensionException * @throws Exception\InsufficientFileWritePermissionsException * @throws Exception\InsufficientFolderWritePermissionsException @@ -909,7 +897,6 @@ class ResourceStorage implements ResourceStorageInterface * * @param Folder $targetFolder The target folder where the file should be written * @param string $targetFileName The file name which should be written into the storage - * @return void * * @throws Exception\InsufficientFolderWritePermissionsException * @throws Exception\IllegalFileExtensionException @@ -939,7 +926,6 @@ class ResourceStorage implements ResourceStorageInterface * @param Folder $targetFolder The target folder where the file should be uploaded * @param string $targetFileName the destination file name $_FILES['file1']['name'] * @param int $uploadedFileSize - * @return void * * @throws Exception\InsufficientFolderWritePermissionsException * @throws Exception\UploadException @@ -972,7 +958,6 @@ class ResourceStorage implements ResourceStorageInterface * @param FileInterface $file * @param Folder $targetFolder * @param string $targetFileName - * @return void */ protected function assureFileMovePermissions(FileInterface $file, Folder $targetFolder, $targetFileName) { @@ -1003,7 +988,6 @@ class ResourceStorage implements ResourceStorageInterface * @throws Exception\IllegalFileExtensionException * @throws Exception\InsufficientFileReadPermissionsException * @throws Exception\InsufficientUserPermissionsException - * @return void */ protected function assureFileRenamePermissions(FileInterface $file, $targetFileName) { @@ -1037,7 +1021,6 @@ class ResourceStorage implements ResourceStorageInterface * @throws Exception\IllegalFileExtensionException * @throws Exception\InsufficientFileReadPermissionsException * @throws Exception\InsufficientUserPermissionsException - * @return void */ protected function assureFileCopyPermissions(FileInterface $file, Folder $targetFolder, $targetFileName) { @@ -1065,7 +1048,6 @@ class ResourceStorage implements ResourceStorageInterface * * @param FolderInterface $folderToCopy * @param FolderInterface $targetParentFolder - * @return void * * @throws Exception * @throws Exception\InsufficientFolderWritePermissionsException @@ -1109,7 +1091,6 @@ class ResourceStorage implements ResourceStorageInterface * @throws Exception\InsufficientFileReadPermissionsException * @throws Exception\InsufficientUserPermissionsException * @throws \RuntimeException - * @return void */ protected function assureFolderMovePermissions(FolderInterface $folderToMove, FolderInterface $targetParentFolder) { @@ -1404,8 +1385,6 @@ class ResourceStorage implements ResourceStorageInterface /** * Unsets the file and folder name filters, thus making this storage return unfiltered filelists. - * - * @return void */ public function unsetFileAndFolderNameFilters() { @@ -1414,8 +1393,6 @@ class ResourceStorage implements ResourceStorageInterface /** * Resets the file and folder name filters to the default values defined in the TYPO3 configuration. - * - * @return void */ public function resetFileAndFolderNameFiltersToDefault() { @@ -1653,7 +1630,6 @@ class ResourceStorage implements ResourceStorageInterface * @param bool $asDownload If set Content-Disposition attachment is sent, inline otherwise * @param string $alternativeFilename the filename for the download (if $asDownload is set) * @param string $overrideMimeType If set this will be used as Content-Type header instead of the automatically detected mime type. - * @return void */ public function dumpFileContents(FileInterface $file, $asDownload = false, $alternativeFilename = null, $overrideMimeType = null) { @@ -2461,7 +2437,6 @@ class ResourceStorage implements ResourceStorageInterface * * @param FileInterface $file * @param Folder $targetFolder - * @return void */ protected function emitPostFileAddSignal(FileInterface $file, Folder $targetFolder) { @@ -2473,7 +2448,6 @@ class ResourceStorage implements ResourceStorageInterface * * @param FileInterface $file * @param Folder $targetFolder - * @return void */ protected function emitPreFileCopySignal(FileInterface $file, Folder $targetFolder) { @@ -2485,7 +2459,6 @@ class ResourceStorage implements ResourceStorageInterface * * @param FileInterface $file * @param Folder $targetFolder - * @return void */ protected function emitPostFileCopySignal(FileInterface $file, Folder $targetFolder) { @@ -2497,7 +2470,6 @@ class ResourceStorage implements ResourceStorageInterface * * @param FileInterface $file * @param Folder $targetFolder - * @return void */ protected function emitPreFileMoveSignal(FileInterface $file, Folder $targetFolder) { @@ -2510,7 +2482,6 @@ class ResourceStorage implements ResourceStorageInterface * @param FileInterface $file * @param Folder $targetFolder * @param FolderInterface $originalFolder - * @return void */ protected function emitPostFileMoveSignal(FileInterface $file, Folder $targetFolder, FolderInterface $originalFolder) { @@ -2522,7 +2493,6 @@ class ResourceStorage implements ResourceStorageInterface * * @param FileInterface $file * @param $targetFolder - * @return void */ protected function emitPreFileRenameSignal(FileInterface $file, $targetFolder) { @@ -2534,7 +2504,6 @@ class ResourceStorage implements ResourceStorageInterface * * @param FileInterface $file * @param string $sanitizedTargetFileName - * @return void */ protected function emitPostFileRenameSignal(FileInterface $file, $sanitizedTargetFileName) { @@ -2546,7 +2515,6 @@ class ResourceStorage implements ResourceStorageInterface * * @param FileInterface $file * @param $localFilePath - * @return void */ protected function emitPreFileReplaceSignal(FileInterface $file, $localFilePath) { @@ -2558,7 +2526,6 @@ class ResourceStorage implements ResourceStorageInterface * * @param FileInterface $file * @param string $localFilePath - * @return void */ protected function emitPostFileReplaceSignal(FileInterface $file, $localFilePath) { @@ -2580,7 +2547,6 @@ class ResourceStorage implements ResourceStorageInterface * Emits the file pre-deletion signal. * * @param FileInterface $file - * @return void */ protected function emitPreFileDeleteSignal(FileInterface $file) { @@ -2591,7 +2557,6 @@ class ResourceStorage implements ResourceStorageInterface * Emits the file post-deletion signal * * @param FileInterface $file - * @return void */ protected function emitPostFileDeleteSignal(FileInterface $file) { @@ -2603,7 +2568,6 @@ class ResourceStorage implements ResourceStorageInterface * * @param FileInterface $file * @param mixed $content - * @return void */ protected function emitPostFileSetContentsSignal(FileInterface $file, $content) { @@ -2615,7 +2579,6 @@ class ResourceStorage implements ResourceStorageInterface * * @param Folder $targetFolder * @param string $name - * @return void */ protected function emitPreFolderAddSignal(Folder $targetFolder, $name) { @@ -2626,7 +2589,6 @@ class ResourceStorage implements ResourceStorageInterface * Emits the folder post-add signal. * * @param Folder $folder - * @return void */ protected function emitPostFolderAddSignal(Folder $folder) { @@ -2639,7 +2601,6 @@ class ResourceStorage implements ResourceStorageInterface * @param Folder $folder * @param Folder $targetFolder * @param $newName - * @return void */ protected function emitPreFolderCopySignal(Folder $folder, Folder $targetFolder, $newName) { @@ -2652,7 +2613,6 @@ class ResourceStorage implements ResourceStorageInterface * @param Folder $folder * @param Folder $targetFolder * @param $newName - * @return void */ protected function emitPostFolderCopySignal(Folder $folder, Folder $targetFolder, $newName) { @@ -2665,7 +2625,6 @@ class ResourceStorage implements ResourceStorageInterface * @param Folder $folder * @param Folder $targetFolder * @param $newName - * @return void */ protected function emitPreFolderMoveSignal(Folder $folder, Folder $targetFolder, $newName) { @@ -2679,7 +2638,6 @@ class ResourceStorage implements ResourceStorageInterface * @param Folder $targetFolder * @param string $newName * @param Folder $originalFolder - * @return void */ protected function emitPostFolderMoveSignal(Folder $folder, Folder $targetFolder, $newName, Folder $originalFolder) { @@ -2691,7 +2649,6 @@ class ResourceStorage implements ResourceStorageInterface * * @param Folder $folder * @param string $newName - * @return void */ protected function emitPreFolderRenameSignal(Folder $folder, $newName) { @@ -2703,7 +2660,6 @@ class ResourceStorage implements ResourceStorageInterface * * @param Folder $folder * @param string $newName - * @return void */ protected function emitPostFolderRenameSignal(Folder $folder, $newName) { @@ -2714,7 +2670,6 @@ class ResourceStorage implements ResourceStorageInterface * Emits the folder pre-deletion signal. * * @param Folder $folder - * @return void */ protected function emitPreFolderDeleteSignal(Folder $folder) { @@ -2725,7 +2680,6 @@ class ResourceStorage implements ResourceStorageInterface * Emits folder post-deletion signal.. * * @param Folder $folder - * @return void */ protected function emitPostFolderDeleteSignal(Folder $folder) { @@ -3016,7 +2970,6 @@ class ResourceStorage implements ResourceStorageInterface /** * @param bool $isDefault - * @return void */ public function setDefault($isDefault) { diff --git a/typo3/sysext/core/Classes/Resource/ResourceStorageInterface.php b/typo3/sysext/core/Classes/Resource/ResourceStorageInterface.php index 2a4fe02dd9f9..83b60715d8fb 100644 --- a/typo3/sysext/core/Classes/Resource/ResourceStorageInterface.php +++ b/typo3/sysext/core/Classes/Resource/ResourceStorageInterface.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Resource; /** * The interface for a resource storage containing all constants - * */ interface ResourceStorageInterface { diff --git a/typo3/sysext/core/Classes/Resource/Security/FileMetadataPermissionsAspect.php b/typo3/sysext/core/Classes/Resource/Security/FileMetadataPermissionsAspect.php index 99d463fb58e0..fec029d05b15 100644 --- a/typo3/sysext/core/Classes/Resource/Security/FileMetadataPermissionsAspect.php +++ b/typo3/sysext/core/Classes/Resource/Security/FileMetadataPermissionsAspect.php @@ -61,7 +61,6 @@ class FileMetadataPermissionsAspect implements DataHandlerCheckModifyAccessListH * @param string $table The name of the table to be modified * @param DataHandler $parent The calling parent object * @throws \UnexpectedValueException - * @return void */ public function checkModifyAccessList(&$accessAllowed, $table, DataHandler $parent) { diff --git a/typo3/sysext/core/Classes/Resource/Security/StoragePermissionsAspect.php b/typo3/sysext/core/Classes/Resource/Security/StoragePermissionsAspect.php index 5f4d50a85ebb..d67db114a393 100644 --- a/typo3/sysext/core/Classes/Resource/Security/StoragePermissionsAspect.php +++ b/typo3/sysext/core/Classes/Resource/Security/StoragePermissionsAspect.php @@ -57,7 +57,6 @@ class StoragePermissionsAspect * * @param ResourceFactory $resourceFactory * @param ResourceStorage $storage - * @return void */ public function addUserPermissionsToStorage(ResourceFactory $resourceFactory, ResourceStorage $storage) { @@ -76,7 +75,6 @@ class StoragePermissionsAspect * Adds file mounts from the user's file mount records * * @param ResourceStorage $storage - * @return void */ protected function addFileMountsToStorage(ResourceStorage $storage) { diff --git a/typo3/sysext/core/Classes/Resource/Service/MagicImageService.php b/typo3/sysext/core/Classes/Resource/Service/MagicImageService.php index 2d1e1b5ff089..5b6695035d38 100644 --- a/typo3/sysext/core/Classes/Resource/Service/MagicImageService.php +++ b/typo3/sysext/core/Classes/Resource/Service/MagicImageService.php @@ -69,7 +69,6 @@ class MagicImageService * Set maximum dimensions of magic images based on RTE configuration * * @param array $rteConfiguration: RTE configuration probably coming from PageTSConfig - * @return void */ public function setMagicImageMaximumDimensions(array $rteConfiguration) { diff --git a/typo3/sysext/core/Classes/Resource/Service/UserFileInlineLabelService.php b/typo3/sysext/core/Classes/Resource/Service/UserFileInlineLabelService.php index 695a227c2250..e3d89f748c90 100644 --- a/typo3/sysext/core/Classes/Resource/Service/UserFileInlineLabelService.php +++ b/typo3/sysext/core/Classes/Resource/Service/UserFileInlineLabelService.php @@ -29,7 +29,6 @@ class UserFileInlineLabelService * Get the user function label for the file_reference table * * @param array $params - * @return void */ public function getInlineLabel(array &$params) { diff --git a/typo3/sysext/core/Classes/Resource/StorageRepository.php b/typo3/sysext/core/Classes/Resource/StorageRepository.php index 62fe8ef3628e..44d5f952ef12 100644 --- a/typo3/sysext/core/Classes/Resource/StorageRepository.php +++ b/typo3/sysext/core/Classes/Resource/StorageRepository.php @@ -80,8 +80,6 @@ class StorageRepository extends AbstractRepository /** * Initializes the Storage - * - * @return void */ protected function initializeLocalCache() { diff --git a/typo3/sysext/core/Classes/Resource/TextExtraction/PlainTextExtractor.php b/typo3/sysext/core/Classes/Resource/TextExtraction/PlainTextExtractor.php index 8aa48fbfe828..b0d87e68cfc0 100644 --- a/typo3/sysext/core/Classes/Resource/TextExtraction/PlainTextExtractor.php +++ b/typo3/sysext/core/Classes/Resource/TextExtraction/PlainTextExtractor.php @@ -19,7 +19,6 @@ use TYPO3\CMS\Core\Utility\PathUtility; /** * A simple text extractor to extract text from plain text files. - * */ class PlainTextExtractor implements TextExtractorInterface { diff --git a/typo3/sysext/core/Classes/Resource/TextExtraction/TextExtractorInterface.php b/typo3/sysext/core/Classes/Resource/TextExtraction/TextExtractorInterface.php index 97e9c2287b25..92d7f4dd3237 100644 --- a/typo3/sysext/core/Classes/Resource/TextExtraction/TextExtractorInterface.php +++ b/typo3/sysext/core/Classes/Resource/TextExtraction/TextExtractorInterface.php @@ -18,7 +18,6 @@ use TYPO3\CMS\Core\Resource\FileInterface; /** * An interface for text extractors - * */ interface TextExtractorInterface { diff --git a/typo3/sysext/core/Classes/Resource/TextExtraction/TextExtractorRegistry.php b/typo3/sysext/core/Classes/Resource/TextExtraction/TextExtractorRegistry.php index 950a1010f74b..8b8ebace3bc6 100644 --- a/typo3/sysext/core/Classes/Resource/TextExtraction/TextExtractorRegistry.php +++ b/typo3/sysext/core/Classes/Resource/TextExtraction/TextExtractorRegistry.php @@ -20,7 +20,6 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; /** * Class TextExtractorRegistry - * */ class TextExtractorRegistry implements SingletonInterface { diff --git a/typo3/sysext/core/Classes/Service/AbstractService.php b/typo3/sysext/core/Classes/Service/AbstractService.php index e5da9f3ce3c7..a58b4740cba4 100644 --- a/typo3/sysext/core/Classes/Service/AbstractService.php +++ b/typo3/sysext/core/Classes/Service/AbstractService.php @@ -148,7 +148,6 @@ abstract class AbstractService * @param string $msg Debug message * @param int $severity Severity: 0 is info, 1 is notice, 2 is warning, 3 is fatal error, -1 is "OK" message * @param array|bool $dataVar dditional data you want to pass to the logger. - * @return void */ public function devLog($msg, $severity = 0, $dataVar = false) { @@ -162,7 +161,6 @@ abstract class AbstractService * * @param int $errNum Error number (see T3_ERR_SV_* constants) * @param string $errMsg Error message - * @return void */ public function errorPush($errNum = T3_ERR_SV_GENERAL, $errMsg = 'Unspecified error occurred') { @@ -174,8 +172,6 @@ abstract class AbstractService /** * Removes the last error from the error stack. - * - * @return void */ public function errorPull() { @@ -241,8 +237,6 @@ abstract class AbstractService /** * Reset the error stack. - * - * @return void */ public function resetErrors() { @@ -276,8 +270,6 @@ abstract class AbstractService /** * Deactivate the service. Use this if the service fails at runtime and will not be available. - * - * @return void */ public function deactivateService() { @@ -376,7 +368,6 @@ abstract class AbstractService * Register file which should be deleted afterwards. * * @param string File name with absolute path. - * @return void */ public function registerTempFile($absFile) { @@ -389,8 +380,6 @@ abstract class AbstractService /** * Delete registered temporary files. - * - * @return void */ public function unlinkTempFiles() { @@ -410,7 +399,6 @@ abstract class AbstractService * * @param mixed $content Input content (going into ->inputContent) * @param string $type The type of the input content (or file). Might be the same as the service subtypes. - * @return void */ public function setInput($content, $type = '') { @@ -424,7 +412,6 @@ abstract class AbstractService * * @param string $absFile File name * @param string $type The type of the input content (or file). Might be the same as the service subtypes. - * @return void */ public function setInputFile($absFile, $type = '') { @@ -473,7 +460,6 @@ abstract class AbstractService * Set the output file name. * * @param string $absFile File name - * @return void */ public function setOutputFile($absFile) { @@ -535,8 +521,6 @@ abstract class AbstractService /** * Resets the service. * Will be called by init(). Should be used before every use if a service instance is used multiple times. - * - * @return void */ public function reset() { @@ -552,8 +536,6 @@ abstract class AbstractService /** * Clean up the service. * Child classes should explicitly call parent::__destruct() in their destructors for this to work - * - * @return void */ public function __destruct() { diff --git a/typo3/sysext/core/Classes/Service/OpcodeCacheService.php b/typo3/sysext/core/Classes/Service/OpcodeCacheService.php index 71ea16539287..64612f27511a 100644 --- a/typo3/sysext/core/Classes/Service/OpcodeCacheService.php +++ b/typo3/sysext/core/Classes/Service/OpcodeCacheService.php @@ -65,8 +65,6 @@ class OpcodeCacheService * Clears a file from an opcache, if one exists. * * @param string|NULL $fileAbsPath The file as absolute path to be cleared or NULL to clear completely. - * - * @return void */ public function clearAllActive($fileAbsPath = null) { diff --git a/typo3/sysext/core/Classes/Session/Backend/RedisSessionBackend.php b/typo3/sysext/core/Classes/Session/Backend/RedisSessionBackend.php index 0745f44fb009..87ded7b904cd 100644 --- a/typo3/sysext/core/Classes/Session/Backend/RedisSessionBackend.php +++ b/typo3/sysext/core/Classes/Session/Backend/RedisSessionBackend.php @@ -235,7 +235,6 @@ class RedisSessionBackend implements SessionBackendInterface /** * Initializes the redis backend * - * @return void * @throws \RuntimeException if access to redis with password is denied or if database selection fails */ protected function initializeConnection() diff --git a/typo3/sysext/core/Classes/TimeTracker/NullTimeTracker.php b/typo3/sysext/core/Classes/TimeTracker/NullTimeTracker.php index 6579de52d7dd..0ba34b91c1f8 100644 --- a/typo3/sysext/core/Classes/TimeTracker/NullTimeTracker.php +++ b/typo3/sysext/core/Classes/TimeTracker/NullTimeTracker.php @@ -28,7 +28,6 @@ class NullTimeTracker * * does nothing * - * @return void * @deprecated since TYPO3 v8, will be removed in v9, use the regular time tracking */ public function start() @@ -43,7 +42,6 @@ class NullTimeTracker * * @param string $tslabel Label string for the entry, eg. TypoScript property name * @param string $value Additional value(?) - * @return void */ public function push($tslabel, $value = '') { @@ -55,7 +53,6 @@ class NullTimeTracker * does nothing * * @param string $content The content string generated within the push/pull part. - * @return void */ public function pull($content = '') { @@ -68,7 +65,6 @@ class NullTimeTracker * * @param array $data Query array * @param string $msg Message/Label to attach - * @return void */ public function setTSselectQuery(array $data, $msg = '') { @@ -81,7 +77,6 @@ class NullTimeTracker * * @param string $content The message string * @param int $num Message type: 0: information, 1: message, 2: warning, 3: error - * @return void */ public function setTSlogMessage($content, $num = 0) { @@ -102,8 +97,6 @@ class NullTimeTracker * Increases the stack pointer * * does nothing - * - * @return void */ public function incStackPointer() { @@ -113,8 +106,6 @@ class NullTimeTracker * Decreases the stack pointer * * does nothing - * - * @return void */ public function decStackPointer() { diff --git a/typo3/sysext/core/Classes/TimeTracker/TimeTracker.php b/typo3/sysext/core/Classes/TimeTracker/TimeTracker.php index 38a08c6ba438..4b56019336f4 100644 --- a/typo3/sysext/core/Classes/TimeTracker/TimeTracker.php +++ b/typo3/sysext/core/Classes/TimeTracker/TimeTracker.php @@ -142,8 +142,6 @@ class TimeTracker implements SingletonInterface /** * Sets the starting time - * - * @return void */ public function start() { @@ -158,7 +156,6 @@ class TimeTracker implements SingletonInterface * * @param string $tslabel Label string for the entry, eg. TypoScript property name * @param string $value Additional value(?) - * @return void * @see \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGetSingle(), pull() */ public function push($tslabel, $value = '') @@ -185,7 +182,6 @@ class TimeTracker implements SingletonInterface * Pulls an element from the TypoScript tracking array * * @param string $content The content string generated within the push/pull part. - * @return void * @see \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGetSingle(), push() */ public function pull($content = '') @@ -206,7 +202,6 @@ class TimeTracker implements SingletonInterface * * @param string $content The message string * @param int $num Message type: 0: information, 1: message, 2: warning, 3: error - * @return void * @see \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::CONTENT() */ public function setTSlogMessage($content, $num = 0) @@ -230,7 +225,6 @@ class TimeTracker implements SingletonInterface * * @param array $data Query array * @param string $msg Message/Label to attach - * @return void */ public function setTSselectQuery(array $data, $msg = '') { @@ -248,7 +242,6 @@ class TimeTracker implements SingletonInterface /** * Increases the stack pointer * - * @return void * @see decStackPointer(), \TYPO3\CMS\Frontend\Page\PageGenerator::renderContent(), \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGetSingle() */ public function incStackPointer() @@ -263,7 +256,6 @@ class TimeTracker implements SingletonInterface /** * Decreases the stack pointer * - * @return void * @see incStackPointer(), \TYPO3\CMS\Frontend\Page\PageGenerator::renderContent(), \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGetSingle() */ public function decStackPointer() @@ -536,7 +528,6 @@ class TimeTracker implements SingletonInterface * @param array $arr Array (passed by reference) and modified * @param int $pointer Pointer value * @param string $uniqueId Unique ID string - * @return void * @access private * @see printTSlog() */ diff --git a/typo3/sysext/core/Classes/Tree/TableConfiguration/AbstractTableConfigurationTreeDataProvider.php b/typo3/sysext/core/Classes/Tree/TableConfiguration/AbstractTableConfigurationTreeDataProvider.php index 76961a25d27d..8a7e57db1619 100644 --- a/typo3/sysext/core/Classes/Tree/TableConfiguration/AbstractTableConfigurationTreeDataProvider.php +++ b/typo3/sysext/core/Classes/Tree/TableConfiguration/AbstractTableConfigurationTreeDataProvider.php @@ -71,7 +71,6 @@ abstract class AbstractTableConfigurationTreeDataProvider extends \TYPO3\CMS\Bac * Sets the id of the tree * * @param string $treeId - * @return void */ public function setTreeId($treeId) { @@ -92,7 +91,6 @@ abstract class AbstractTableConfigurationTreeDataProvider extends \TYPO3\CMS\Bac * Sets the expandAll * * @param bool $expandAll - * @return void */ public function setExpandAll($expandAll) { @@ -113,7 +111,6 @@ abstract class AbstractTableConfigurationTreeDataProvider extends \TYPO3\CMS\Bac * Sets the levelMaximum * * @param int $levelMaximum - * @return void */ public function setLevelMaximum($levelMaximum) { @@ -145,7 +142,6 @@ abstract class AbstractTableConfigurationTreeDataProvider extends \TYPO3\CMS\Bac * Sets the list for expanded nodes * * @param string $expandedList - * @return void */ public function setExpandedList($expandedList) { @@ -164,8 +160,6 @@ abstract class AbstractTableConfigurationTreeDataProvider extends \TYPO3\CMS\Bac /** * Read the list for expanded nodes from user settings - * - * @return void */ public function initializeTreeData() { @@ -176,7 +170,6 @@ abstract class AbstractTableConfigurationTreeDataProvider extends \TYPO3\CMS\Bac * Sets the list for selected nodes * * @param string $selectedList - * @return void */ public function setSelectedList($selectedList) { @@ -197,7 +190,6 @@ abstract class AbstractTableConfigurationTreeDataProvider extends \TYPO3\CMS\Bac * Sets the list for non selectable tree levels * * @param string $nonSelectableLevelList - * @return void */ public function setNonSelectableLevelList($nonSelectableLevelList) { @@ -218,7 +210,6 @@ abstract class AbstractTableConfigurationTreeDataProvider extends \TYPO3\CMS\Bac * Setter for the itemWhiteList * * @param array $itemWhiteList - * @return void */ public function setItemWhiteList(array $itemWhiteList) { @@ -239,7 +230,6 @@ abstract class AbstractTableConfigurationTreeDataProvider extends \TYPO3\CMS\Bac * Setter for $itemUnselectableList * * @param array $itemUnselectableList - * @return void */ public function setItemUnselectableList(array $itemUnselectableList) { diff --git a/typo3/sysext/core/Classes/Tree/TableConfiguration/DatabaseTreeDataProvider.php b/typo3/sysext/core/Classes/Tree/TableConfiguration/DatabaseTreeDataProvider.php index 5d5029b0d07d..b5615225c498 100644 --- a/typo3/sysext/core/Classes/Tree/TableConfiguration/DatabaseTreeDataProvider.php +++ b/typo3/sysext/core/Classes/Tree/TableConfiguration/DatabaseTreeDataProvider.php @@ -100,7 +100,6 @@ class DatabaseTreeDataProvider extends AbstractTableConfigurationTreeDataProvide * Sets the label field * * @param string $labelField - * @return void */ public function setLabelField($labelField) { @@ -121,7 +120,6 @@ class DatabaseTreeDataProvider extends AbstractTableConfigurationTreeDataProvide * Sets the table name * * @param string $tableName - * @return void */ public function setTableName($tableName) { @@ -142,7 +140,6 @@ class DatabaseTreeDataProvider extends AbstractTableConfigurationTreeDataProvide * Sets the lookup field * * @param string $lookupField - * @return void */ public function setLookupField($lookupField) { @@ -163,7 +160,6 @@ class DatabaseTreeDataProvider extends AbstractTableConfigurationTreeDataProvide * Sets the lookup mode * * @param int $lookupMode - * @return void */ public function setLookupMode($lookupMode) { @@ -204,7 +200,6 @@ class DatabaseTreeDataProvider extends AbstractTableConfigurationTreeDataProvide * Sets the root uid * * @param int $rootUid - * @return void */ public function setRootUid($rootUid) { @@ -225,7 +220,6 @@ class DatabaseTreeDataProvider extends AbstractTableConfigurationTreeDataProvide * Sets the tableWhere clause * * @param string $tableWhere - * @return void */ public function setTableWhere($tableWhere) { @@ -285,8 +279,6 @@ class DatabaseTreeDataProvider extends AbstractTableConfigurationTreeDataProvide /** * Init the tree data - * - * @return void */ public function initializeTreeData() { @@ -303,8 +295,6 @@ class DatabaseTreeDataProvider extends AbstractTableConfigurationTreeDataProvide /** * Loads the tree data (all possible children) - * - * @return void */ protected function loadTreeData() { @@ -515,8 +505,6 @@ class DatabaseTreeDataProvider extends AbstractTableConfigurationTreeDataProvide /** * Emits the post processing tree data signal. - * - * @return void */ protected function emitPostProcessTreeDataSignal() { diff --git a/typo3/sysext/core/Classes/Tree/TableConfiguration/DatabaseTreeNode.php b/typo3/sysext/core/Classes/Tree/TableConfiguration/DatabaseTreeNode.php index 6f227123b807..c356a0e2597f 100644 --- a/typo3/sysext/core/Classes/Tree/TableConfiguration/DatabaseTreeNode.php +++ b/typo3/sysext/core/Classes/Tree/TableConfiguration/DatabaseTreeNode.php @@ -48,7 +48,6 @@ class DatabaseTreeNode extends \TYPO3\CMS\Backend\Tree\TreeRepresentationNode * Sets the expand state * * @param $expanded - * @return void */ public function setExpanded($expanded) { @@ -69,7 +68,6 @@ class DatabaseTreeNode extends \TYPO3\CMS\Backend\Tree\TreeRepresentationNode * Sets the selectable property * * @param bool $selectable - * @return void */ public function setSelectable($selectable) { @@ -90,7 +88,6 @@ class DatabaseTreeNode extends \TYPO3\CMS\Backend\Tree\TreeRepresentationNode * Sets the select state * * @param bool $selected - * @return void */ public function setSelected($selected) { @@ -121,7 +118,6 @@ class DatabaseTreeNode extends \TYPO3\CMS\Backend\Tree\TreeRepresentationNode * Sets the hasChildren property * * @param bool $value - * @return void */ public function setHasChildren($value) { @@ -161,7 +157,6 @@ class DatabaseTreeNode extends \TYPO3\CMS\Backend\Tree\TreeRepresentationNode * Sets the sort value * * @param mixed $sortValue - * @return void */ public function setSortValue($sortValue) { diff --git a/typo3/sysext/core/Classes/TypoScript/ConfigurationForm.php b/typo3/sysext/core/Classes/TypoScript/ConfigurationForm.php index 40244d69e022..4ef239fef9bd 100644 --- a/typo3/sysext/core/Classes/TypoScript/ConfigurationForm.php +++ b/typo3/sysext/core/Classes/TypoScript/ConfigurationForm.php @@ -102,7 +102,6 @@ class ConfigurationForm extends ExtendedTemplateService /** * @param string $cat - * @return void */ public function ext_makeHelpInformationForCategory($cat) { @@ -192,7 +191,6 @@ class ConfigurationForm extends ExtendedTemplateService /** * @param string $key * @param string $var - * @return void */ public function ext_putValueInConf($key, $var) { @@ -201,7 +199,6 @@ class ConfigurationForm extends ExtendedTemplateService /** * @param string $key - * @return void */ public function ext_removeValueInConf($key) { diff --git a/typo3/sysext/core/Classes/TypoScript/ExtendedTemplateService.php b/typo3/sysext/core/Classes/TypoScript/ExtendedTemplateService.php index af334bc6c209..5bbb9779e7d0 100644 --- a/typo3/sysext/core/Classes/TypoScript/ExtendedTemplateService.php +++ b/typo3/sysext/core/Classes/TypoScript/ExtendedTemplateService.php @@ -1004,7 +1004,6 @@ class ExtendedTemplateService extends TemplateService /** * @param array $editConstArray - * @return void */ public function ext_categorizeEditableConstants($editConstArray) { @@ -1084,7 +1083,6 @@ class ExtendedTemplateService extends TemplateService /** * @param string $category - * @return void */ public function ext_getTSCE_config($category) { @@ -1371,7 +1369,6 @@ class ExtendedTemplateService extends TemplateService ***************************/ /** * @param string $constants - * @return void */ public function ext_regObjectPositions($constants) { @@ -1386,7 +1383,6 @@ class ExtendedTemplateService extends TemplateService /** * @param string $pre - * @return void */ public function ext_regObjects($pre) { @@ -1430,7 +1426,6 @@ class ExtendedTemplateService extends TemplateService /** * @param string $key * @param string $var - * @return void */ public function ext_putValueInConf($key, $var) { @@ -1452,7 +1447,6 @@ class ExtendedTemplateService extends TemplateService /** * @param string $key - * @return void */ public function ext_removeValueInConf($key) { @@ -1501,7 +1495,6 @@ class ExtendedTemplateService extends TemplateService * @param array $http_post_files (not used anymore) * @param array $theConstants * @param array $tplRow Not used - * @return void */ public function ext_procesInput($http_post_vars, $http_post_files, $theConstants, $tplRow) { diff --git a/typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php b/typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php index b18360bf1189..930811fd50d3 100644 --- a/typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php +++ b/typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php @@ -224,8 +224,6 @@ class TypoScriptParser * * @param string $string The TypoScript text * @param object|string $matchObj If is object, then this is used to match conditions found in the TypoScript code. If matchObj not specified, then no conditions will work! (Except [GLOBAL]) - * - * @return void */ public function parse($string, $matchObj = '') { @@ -662,7 +660,6 @@ class TypoScriptParser * @param array $setup The local setup array from the function calling this function. * @param array|string $value The value/property pair array to set. If only one of them is set, then the other is not touched (unless $wipeOut is set, which it is when copies are made which must include both value and property) * @param bool $wipeOut If set, then both value and property is wiped out when a copy is made of another value. - * @return void */ public function setVal($string, array &$setup, $value, $wipeOut = false) { @@ -768,7 +765,6 @@ class TypoScriptParser * * @param string $err The error message string * @param int $num The error severity (in the scale of TimeTracker::setTSlogMessage: Approx: 2=warning, 1=info, 0=nothing, 3=fatal.) - * @return void */ public function error($err, $num = 2) { @@ -1230,7 +1226,6 @@ class TypoScriptParser * @param string $code Key from the internal array $this->highLightStyles * @param int $pointer Pointer to the line in $this->raw which this is about * @param int $strlen The number of chars LEFT on this line before the end is reached. - * @return void * @access private * @see parse() */ diff --git a/typo3/sysext/core/Classes/TypoScript/TemplateService.php b/typo3/sysext/core/Classes/TypoScript/TemplateService.php index a5e59cc9dfa2..0c955e1d0fd8 100644 --- a/typo3/sysext/core/Classes/TypoScript/TemplateService.php +++ b/typo3/sysext/core/Classes/TypoScript/TemplateService.php @@ -246,7 +246,6 @@ class TemplateService /** * Used by Backend only (Typoscript Template Analyzer) - * */ public $clearList_const = []; @@ -360,7 +359,6 @@ class TemplateService * Initialize * MUST be called directly after creating a new template-object * - * @return void * @see \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::initTemplate() */ public function init() @@ -463,7 +461,6 @@ class TemplateService * Sets $this->setup to the parsed TypoScript template array * * @param array $theRootLine The rootline of the current page (going ALL the way to tree root) - * @return void * @see \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::getConfigArray() */ public function start($theRootLine) @@ -590,7 +587,6 @@ class TemplateService * * @param array $theRootLine The rootline of the current page (going ALL the way to tree root) * @param int $start_template_uid Set specific template record UID to select; this is only for debugging/development/analysis use in backend modules like "Web > Template". For parsing TypoScript templates in the frontend it should be 0 (zero) - * @return void * @see start() */ public function runThroughTemplates($theRootLine, $start_template_uid = 0) @@ -696,7 +692,6 @@ class TemplateService * @param string $templateID The id of the current template. Same syntax as $idList ids, eg. "sys_123 * @param string $templateParent Parent template id (during recursive call); Same syntax as $idList ids, eg. "sys_123 * @param string $includePath Specifies the path from which the template was included (used with static_includes) - * @return void * @see runThroughTemplates() */ public function processTemplate($row, $idList, $pid, $templateID = '', $templateParent = '', $includePath = '') @@ -819,7 +814,6 @@ class TemplateService * rootline as before! * * @param array $fullRootLine Array containing the FULL rootline (up to the TYPO3 root) - * @return void * @throws \RuntimeException If the given $fullRootLine does not contain all pages that are in the current template rootline */ public function updateRootlineData($fullRootLine) @@ -851,7 +845,6 @@ class TemplateService * @param string $templateID The id of the current template. Same syntax as $idList ids, eg. "sys_123 * @param int $pid The PID of the input template record * @param array $row A full TypoScript template record - * @return void * @see processTemplate() */ public function includeStaticTypoScriptSources($idList, $templateID, $pid, $row) @@ -946,7 +939,6 @@ class TemplateService * @param string $templateID The id of the current template. Same syntax as $idList ids, eg. "sys_123 * @param int $pid The PID of the input template record * @param array $row A full TypoScript template record - * @return void * @access private * @see includeStaticTypoScriptSources() */ @@ -1000,7 +992,6 @@ class TemplateService * This will use either frontend or backend overlay functionality depending on environment. * * @param array $row Row to overlay (passed by reference) - * @return void */ public function versionOL(&$row) { @@ -1026,7 +1017,6 @@ class TemplateService * Generates the configuration array by replacing constants and parsing the whole thing. * Depends on $this->config and $this->constants to be set prior to this! (done by processTemplate/runThroughTemplates) * - * @return void * @see \TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser, start() */ public function generateConfig() @@ -1145,7 +1135,6 @@ class TemplateService * for include instructions and does the inclusion of external TypoScript files * if needed. * - * @return void * @see \TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser, generateConfig() */ public function processIncludes() @@ -1251,7 +1240,6 @@ class TemplateService * * @param array $setupArray TypoScript array * @param string $prefix Prefix to the object path. Used for recursive calls to this function. - * @return void * @see generateConfig() */ public function flattenSetup($setupArray, $prefix) @@ -1680,7 +1668,6 @@ class TemplateService * @param int $id Root id from which to start map creation. * @param array $MP_array MP_array passed from root page. * @param int $level Recursion brake. Incremented for each recursive call. 20 is the limit. - * @return void * @see getFromMPvar() */ public function initMPmap_create($id, $MP_array = [], $level = 0) @@ -1765,7 +1752,6 @@ class TemplateService * The class property isDefaultTypoScriptAdded ensures * that the adding only happens once. * - * @return void * @see isDefaultTypoScriptAdded */ protected function addDefaultTypoScript() @@ -1834,7 +1820,6 @@ class TemplateService * @param string $identifier 32 bit hash string (eg. a md5 hash of a serialized array identifying the data being stored) * @param mixed $data The data to store * @param string $tag Is just a textual identification in order to inform about the content - * @return void */ protected function setCacheEntry($identifier, $data, $tag) { diff --git a/typo3/sysext/core/Classes/Utility/ArrayUtility.php b/typo3/sysext/core/Classes/Utility/ArrayUtility.php index ae504a45cf2f..b0b07d8e8331 100644 --- a/typo3/sysext/core/Classes/Utility/ArrayUtility.php +++ b/typo3/sysext/core/Classes/Utility/ArrayUtility.php @@ -24,7 +24,6 @@ class ArrayUtility * * @param array $arrayToTest * @param array $allowedArrayKeys - * @return void * @throws \InvalidArgumentException if an element in $arrayToTest is not in $allowedArrayKeys * @internal */ @@ -607,7 +606,6 @@ class ArrayUtility * @param bool $addKeys If set to FALSE, keys that are NOT found in $original will not be set. Thus only existing value can/will be overruled from overrule array. * @param bool $includeEmptyValues If set, values from $overrule will overrule if they are empty or zero. * @param bool $enableUnsetFeature If set, special values "__UNSET" can be used in the overrule array in order to unset array keys in the original array. - * @return void */ public static function mergeRecursiveWithOverrule(array &$original, array $overrule, $addKeys = true, $includeEmptyValues = true, $enableUnsetFeature = true) { diff --git a/typo3/sysext/core/Classes/Utility/CommandUtility.php b/typo3/sysext/core/Classes/Utility/CommandUtility.php index 6a4e23b5f279..533e8e8004d7 100644 --- a/typo3/sysext/core/Classes/Utility/CommandUtility.php +++ b/typo3/sysext/core/Classes/Utility/CommandUtility.php @@ -245,7 +245,6 @@ class CommandUtility * Extend the preset paths. This way an extension can install an executable and provide the path to \TYPO3\CMS\Core\Utility\CommandUtility * * @param string $paths Comma separated list of extra paths where a command should be searched. Relative paths (without leading "/") are prepend with site root path (PATH_site). - * @return void */ public static function addPaths($paths) { @@ -298,7 +297,6 @@ class CommandUtility * Initializes and extends the preset paths with own * * @param string $paths Comma separated list of extra paths where a command should be searched. Relative paths (without leading "/") are prepend with site root path (PATH_site). - * @return void */ protected static function initPaths($paths = '') { diff --git a/typo3/sysext/core/Classes/Utility/DebugUtility.php b/typo3/sysext/core/Classes/Utility/DebugUtility.php index ae95a3d54d5b..42fbd12c9a4e 100644 --- a/typo3/sysext/core/Classes/Utility/DebugUtility.php +++ b/typo3/sysext/core/Classes/Utility/DebugUtility.php @@ -201,7 +201,6 @@ class DebugUtility * Prints an array * * @param mixed $array_in Array to print visually (in a table). - * @return void * @see viewArray() */ public static function printArray($array_in) diff --git a/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php b/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php index 547c26f05e6f..a950270e0357 100644 --- a/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php +++ b/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php @@ -214,8 +214,6 @@ class ExtensionManagementUtility /** * Clears the extension key map. - * - * @return void */ public static function clearExtensionKeyMap() { @@ -262,7 +260,6 @@ class ExtensionManagementUtility * * @param string $table The table name of a table already present in $GLOBALS['TCA'] with a columns section * @param array $columnArray The array with the additional columns (typical some fields an extension wants to add) - * @return void */ public static function addTCAcolumns($table, $columnArray) { @@ -284,7 +281,6 @@ class ExtensionManagementUtility * @param string $newFieldsString Field list to add. * @param string $typeList List of specific types to add the field list to. (If empty, all type entries are affected) * @param string $position Insert fields before (default) or after one, or replace a field - * @return void */ public static function addToAllTCAtypes($table, $newFieldsString, $typeList = '', $position = '') { @@ -404,7 +400,6 @@ class ExtensionManagementUtility * @param string $field Name of the field that has the palette to be extended * @param string $addFields List of fields to be added to the palette * @param string $insertionPosition Insert fields before (default) or after one - * @return void */ public static function addFieldsToAllPalettesOfField($table, $field, $addFields, $insertionPosition = '') { @@ -457,7 +452,6 @@ class ExtensionManagementUtility * @param string $palette Name of the palette to be extended * @param string $addFields List of fields to be added to the palette * @param string $insertionPosition Insert fields before (default) or after one - * @return void */ public static function addFieldsToPalette($table, $palette, $addFields, $insertionPosition = '') { @@ -498,7 +492,6 @@ class ExtensionManagementUtility * @param array $item New item to add * @param string $relativeToField Add item relative to existing field * @param string $relativePosition Valid keywords: 'before', 'after' - * @return void */ public static function addTcaSelectItem($table, $field, array $item, $relativeToField = '', $relativePosition = '') { @@ -630,7 +623,6 @@ class ExtensionManagementUtility * * @param string $addFields List of fields to be added to the user settings * @param string $insertionPosition Insert fields before (default) or after one - * @return void */ public static function addFieldsToUserSettings($addFields, $insertionPosition = '') { @@ -818,7 +810,6 @@ class ExtensionManagementUtility * FOR USE IN ext_tables.php FILES * * @param string $table Table name - * @return void */ public static function allowTableOnStandardPages($table) { @@ -910,7 +901,6 @@ class ExtensionManagementUtility * @param string $position Can be used to set the position of the $sub module within the list of existing submodules for the main module. $position has this syntax: [cmd]:[submodule-key]. cmd can be "after", "before" or "top" (or blank which is default). If "after"/"before" then submodule will be inserted after/before the existing submodule with [submodule-key] if found. If not found, the bottom of list. If "top" the module is inserted in the top of the submodule list. * @param string $path The absolute path to the module. Was used prior to TYPO3 v8, use $moduleConfiguration[routeTarget] now * @param array $moduleConfiguration additional configuration, previously put in "conf.php" of the module directory - * @return void */ public static function addModule($main, $sub = '', $position = '', $path = null, $moduleConfiguration = []) { @@ -980,7 +970,6 @@ class ExtensionManagementUtility * @param string $callbackClass * @param string $moduleName Optional: must be <mainmodule> or <mainmodule>_<submodule> * @param string $accessLevel Optional: can be 'admin' or 'user,group' - * @return void * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 */ public static function registerExtDirectComponent($endpointName, $callbackClass, $moduleName = null, $accessLevel = null) @@ -1021,7 +1010,6 @@ class ExtensionManagementUtility * @param string $title Title of module * @param string $MM_key Menu array key - default is "function * @param string $WS Workspace conditions. Blank means all workspaces, any other string can be a comma list of "online", "offline" and "custom - * @return void * @see \TYPO3\CMS\Backend\Module\BaseScriptClass::mergeExternalItems() */ public static function insertModuleFunction($modname, $className, $classPath = null, $title, $MM_key = 'function', $WS = '') @@ -1042,7 +1030,6 @@ class ExtensionManagementUtility * @param string $group The group ('FE', 'BE', 'SYS' ...) * @param string $key The key of this setting within the group * @param string $content The text to add (include leading "\n" in case of multi-line entries) - * @return void */ public static function appendToTypoConfVars($group, $key, $content) { @@ -1056,7 +1043,6 @@ class ExtensionManagementUtility * FOR USE IN ext_tables.php/ext_localconf.php FILES * * @param string $content Page TSconfig content - * @return void */ public static function addPageTSConfig($content) { @@ -1071,7 +1057,6 @@ class ExtensionManagementUtility * FOR USE IN ext_tables.php/ext_localconf.php FILES * * @param string $content User TSconfig content - * @return void */ public static function addUserTSConfig($content) { @@ -1087,7 +1072,6 @@ class ExtensionManagementUtility * * @param string $tca_descr_key Description key. Typically a database table (like "pages") but for applications can be other strings, but prefixed with "_MOD_") * @param string $file_ref File reference to locallang file, eg. "EXT:lang/Resources/Private/Language/locallang_csh_pages.xlf" (or ".xml") - * @return void */ public static function addLLrefForTCAdescr($tca_descr_key, $file_ref) { @@ -1109,7 +1093,6 @@ class ExtensionManagementUtility * @param string $componentId * @param string $extensionKey * @throws \RuntimeException - * @return void */ public static function addNavigationComponent($module, $componentId, $extensionKey = null) { @@ -1129,7 +1112,6 @@ class ExtensionManagementUtility * * @param string $module * @param string $componentId - * @return void */ public static function addCoreNavigationComponent($module, $componentId) { @@ -1149,7 +1131,6 @@ class ExtensionManagementUtility * @param string $serviceType Service type, must not be prefixed "tx_" or "Tx_" * @param string $serviceKey Service key, must be prefixed "tx_", "Tx_" or "user_" * @param array $info Service description array - * @return void */ public static function addService($extKey, $serviceType, $serviceKey, $info) { @@ -1293,7 +1274,6 @@ class ExtensionManagementUtility * * @param string $serviceType Service type * @param string $serviceKey Service key - * @return void */ public static function deactivateService($serviceType, $serviceKey) { @@ -1317,7 +1297,6 @@ class ExtensionManagementUtility * @param string $type Type (eg. "list_type") - basically a field from "tt_content" table * @param string $extensionKey The extension key * @throws \RuntimeException - * @return void */ public static function addPlugin($itemArray, $type = 'list_type', $extensionKey = null) { @@ -1353,7 +1332,6 @@ class ExtensionManagementUtility * @param string $piKeyToMatch Plugin key as used in the list_type field. Use the asterisk * to match all list_type values. * @param string $value Either a reference to a flex-form XML file (eg. "FILE:EXT:newloginbox/flexform_ds.xml") or the XML directly. * @param string $CTypeToMatch Value of tt_content.CType (Content Type) to match. The default is "list" which corresponds to the "Insert Plugin" content element. Use the asterisk * to match all CType values. - * @return void * @see addPlugin() */ public static function addPiFlexFormValue($piKeyToMatch, $value, $CTypeToMatch = 'list') @@ -1371,7 +1349,6 @@ class ExtensionManagementUtility * @param string $table Table name to allow for "insert record * @param string $content_table Table name TO WHICH the $table name is applied. See $content_field as well. * @param string $content_field Field name in the database $content_table in which $table is allowed to be added as a reference ("Insert Record") - * @return void */ public static function addToInsertRecords($table, $content_table = 'tt_content', $content_field = 'records') { @@ -1405,8 +1382,6 @@ class ExtensionManagementUtility * @param string $suffix Is used as a suffix of the class name (e.g. "_pi1") * @param string $type See description above * @param int $cached If $cached is set as USER content object (cObject) is created - otherwise a USER_INT object is created. - * - * @return void */ public static function addPItoST43($key, $_, $suffix = '', $type = 'list_type', $cached = 0) { @@ -1460,7 +1435,6 @@ tt_content.' . $key . $suffix . ' { * @param string $extKey Is of course the extension key * @param string $path Is the path where the template files (fixed names) include_static.txt (integer list of uids from the table "static_templates"), constants.txt, setup.txt, and include_static_file.txt is found (relative to extPath, eg. 'static/'). The file include_static_file.txt, allows you to include other static templates defined in files, from your static template, and thus corresponds to the field 'include_static_file' in the sys_template table. The syntax for this is a comma separated list of static templates to include, like: EXT:css_styled_content/static/,EXT:da_newsletter_subscription/static/,EXT:cc_random_image/pi2/static/ * @param string $title Is the title in the selector box. - * @return void * @see addTypoScript() */ public static function addStaticFile($extKey, $path, $title) @@ -1479,7 +1453,6 @@ tt_content.' . $key . $suffix . ' { * @param string $extKey The extension key * @param string $filePath The path where the TSconfig file is located * @param string $title The title in the selector box - * @return void */ public static function registerPageTSConfigFile($extKey, $filePath, $title) { @@ -1504,7 +1477,6 @@ tt_content.' . $key . $suffix . ' { * FOR USE IN ext_localconf.php FILES * * @param string $content TypoScript Setup string - * @return void */ public static function addTypoScriptSetup($content) { @@ -1519,7 +1491,6 @@ tt_content.' . $key . $suffix . ' { * FOR USE IN ext_localconf.php FILES * * @param string $content TypoScript Constants string - * @return void */ public static function addTypoScriptConstants($content) { @@ -1543,8 +1514,6 @@ tt_content.' . $key . $suffix . ' { * @param string $type Is either "setup" or "constants" and obviously determines which kind of TypoScript code we are adding. * @param string $content Is the TS content, will be prefixed with a [GLOBAL] line and a comment-header. * @param int|string $afterStaticUid Is either an integer pointing to a uid of a static_template or a string pointing to the "key" of a static_file template ([reduced extension_key]/[local path]). The points is that the TypoScript you add is included only IF that static template is included (and in that case, right after). So effectively the TypoScript you set can specifically overrule settings from those static templates. - * - * @return void */ public static function addTypoScript($key, $type, $content, $afterStaticUid = 0) { @@ -1613,7 +1582,6 @@ tt_content.' . $key . $suffix . ' { * extensions should not use it! * * @param bool $allowCaching Whether or not to load / create concatenated cache file - * @return void * @access private */ public static function loadExtLocalconf($allowCaching = true) @@ -1635,8 +1603,6 @@ tt_content.' . $key . $suffix . ' { /** * Execute ext_localconf.php files from extensions - * - * @return void */ protected static function loadSingleExtLocalconfFiles() { @@ -1657,8 +1623,6 @@ tt_content.' . $key . $suffix . ' { /** * Create cache entry for concatenated ext_localconf.php files - * - * @return void */ protected static function createExtLocalconfCacheEntry() { @@ -1717,7 +1681,6 @@ tt_content.' . $key . $suffix . ' { * extensions should not use it! * * @param bool $allowCaching Whether or not to load / create concatenated cache file - * @return void * @access private */ public static function loadBaseTca($allowCaching = true) @@ -1745,7 +1708,6 @@ tt_content.' . $key . $suffix . ' { * The filename must be the table name in $GLOBALS['TCA'], and the content of * the file should return an array with content of a specific table. * - * @return void * @see Extension core, extensionmanager and others for examples. */ protected static function buildBaseTcaFromSingleFiles() @@ -1833,8 +1795,6 @@ tt_content.' . $key . $suffix . ' { /** * Cache base $GLOBALS['TCA'] to cache file to require the whole thing in one * file for next access instead of cycling through all extensions again. - * - * @return void */ protected static function createBaseTcaCacheFile() { @@ -1862,7 +1822,6 @@ tt_content.' . $key . $suffix . ' { * extensions should not use it! * * @param bool $allowCaching Whether to load / create concatenated cache file - * @return void * @access private */ public static function loadExtTables($allowCaching = true) @@ -1885,8 +1844,6 @@ tt_content.' . $key . $suffix . ' { /** * Load ext_tables.php as single files - * - * @return void */ protected static function loadSingleExtTablesFiles() { @@ -1909,8 +1866,6 @@ tt_content.' . $key . $suffix . ' { /** * Create concatenated ext_tables.php cache file - * - * @return void */ protected static function createExtTablesCacheEntry() { @@ -1972,8 +1927,6 @@ tt_content.' . $key . $suffix . ' { * This method is usually only used by extension that fiddle * with the loaded extensions. An example is the extension * manager and the install tool. - * - * @return void */ public static function removeCacheFiles() { @@ -1997,7 +1950,6 @@ tt_content.' . $key . $suffix . ' { * localconf.php to LocalConfiguration.php was already run * * @param string $extensionKey Extension key to load - * @return void * @throws \RuntimeException */ public static function loadExtension($extensionKey) @@ -2015,7 +1967,6 @@ tt_content.' . $key . $suffix . ' { * localconf.php to LocalConfiguration.php was already run * * @param string $extensionKey Extension key to remove - * @return void * @throws \RuntimeException */ public static function unloadExtension($extensionKey) diff --git a/typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php b/typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php index 6691b0ea88ba..000969a324c6 100644 --- a/typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php +++ b/typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php @@ -142,7 +142,6 @@ class ExtendedFileUtility extends BasicFileUtility * Set existingFilesConflictMode * * @param \TYPO3\CMS\Core\Resource\DuplicationBehavior|string $existingFilesConflictMode Instance or constant of \TYPO3\CMS\Core\Resource\DuplicationBehavior - * @return void * @throws Exception */ public function setExistingFilesConflictMode($existingFilesConflictMode) @@ -165,7 +164,6 @@ class ExtendedFileUtility extends BasicFileUtility * Initialization of the class * * @param array $fileCmds Array with the commands to execute. See "TYPO3 Core API" document - * @return void */ public function start($fileCmds) { @@ -180,7 +178,6 @@ class ExtendedFileUtility extends BasicFileUtility * If no argument is given, permissions of the currently logged in backend user are taken into account. * * @param array $permissions File Permissions. - * @return void */ public function setActionPermissions(array $permissions = []) { @@ -289,7 +286,6 @@ class ExtendedFileUtility extends BasicFileUtility /** * Adds all log error messages from the operations of this script instance to the FlashMessageQueue * - * @return void * @deprecated since TYPO3 CMS 8, will be removed in TYPO3 CMS 9 */ public function pushErrorMessagesToFlashMessageQueue() @@ -323,7 +319,6 @@ class ExtendedFileUtility extends BasicFileUtility * @param int $details_nr This number is unique for every combination of $type and $action. This is the error-message number, which can later be used to translate error messages. * @param string $details This is the default, raw error message in english * @param array $data Array with special information that may go into $details by "%s" marks / sprintf() when the log is shown - * @return void */ public function writeLog($action, $error, $details_nr, $details, $data) { @@ -343,7 +338,6 @@ class ExtendedFileUtility extends BasicFileUtility * @param string $localizationKey * @param array $replaceMarkers * @param int $severity - * @return void * @throws \InvalidArgumentException */ protected function addMessageToFlashMessageQueue($localizationKey, array $replaceMarkers = [], $severity = FlashMessage::ERROR) @@ -1203,7 +1197,6 @@ class ExtendedFileUtility extends BasicFileUtility * Add flash message to message queue * * @param FlashMessage $flashMessage - * @return void */ protected function addFlashMessage(FlashMessage $flashMessage) { diff --git a/typo3/sysext/core/Classes/Utility/File/ExtendedFileUtilityProcessDataHookInterface.php b/typo3/sysext/core/Classes/Utility/File/ExtendedFileUtilityProcessDataHookInterface.php index 54d9216b0e01..ff89ef2dde40 100644 --- a/typo3/sysext/core/Classes/Utility/File/ExtendedFileUtilityProcessDataHookInterface.php +++ b/typo3/sysext/core/Classes/Utility/File/ExtendedFileUtilityProcessDataHookInterface.php @@ -26,7 +26,6 @@ interface ExtendedFileUtilityProcessDataHookInterface * @param array $cmdArr The parameter sent to the action handler * @param array $result The results of all calls to the action handler * @param \TYPO3\CMS\Core\Utility\File\ExtendedFileUtility $parentObject Parent object - * @return void */ public function processData_postProcessAction($action, array $cmdArr, array $result, ExtendedFileUtility $parentObject); } diff --git a/typo3/sysext/core/Classes/Utility/GeneralUtility.php b/typo3/sysext/core/Classes/Utility/GeneralUtility.php index d3828c1a65b6..437300e5fbad 100644 --- a/typo3/sysext/core/Classes/Utility/GeneralUtility.php +++ b/typo3/sysext/core/Classes/Utility/GeneralUtility.php @@ -216,7 +216,6 @@ class GeneralUtility * * @param mixed $inputGet * @param string $key - * @return void */ public static function _GETset($inputGet, $key = '') { @@ -2274,7 +2273,6 @@ class GeneralUtility * * @param string $directory Target directory to create. Must a have trailing slash * @param string $deepDirectory Directory to create. This second parameter - * @return void * @throws \InvalidArgumentException If $directory or $deepDirectory are not strings * @throws \RuntimeException If directory could not be created */ @@ -3960,7 +3958,6 @@ class GeneralUtility * @see makeInstance * @param string $className * @param \TYPO3\CMS\Core\SingletonInterface $instance - * @return void * @internal */ public static function setSingletonInstance($className, SingletonInterface $instance) @@ -3982,7 +3979,6 @@ class GeneralUtility * @throws \InvalidArgumentException * @param string $className * @param \TYPO3\CMS\Core\SingletonInterface $instance - * @return void * @internal */ public static function removeSingletonInstance($className, SingletonInterface $instance) @@ -4009,7 +4005,6 @@ class GeneralUtility * * @internal * @param array $newSingletonInstances $className => $object - * @return void */ public static function resetSingletonInstances(array $newSingletonInstances) { @@ -4049,7 +4044,6 @@ class GeneralUtility * @throws \InvalidArgumentException if class extends \TYPO3\CMS\Core\SingletonInterface * @param string $className * @param object $instance - * @return void */ public static function addInstance($className, $instance) { @@ -4070,7 +4064,6 @@ class GeneralUtility * @throws \InvalidArgumentException if $className is empty or if $instance is no instance of $className * @param string $className a class name * @param object $instance an object - * @return void */ protected static function checkInstanceClassName($className, $instance) { @@ -4091,7 +4084,6 @@ class GeneralUtility * Warning: This is a helper method for unit tests. Do not call this directly in production code! * * @see makeInstance - * @return void */ public static function purgeInstances() { @@ -4104,7 +4096,6 @@ class GeneralUtility * * Used in unit tests only. * - * @return void * @internal */ public static function flushInternalRuntimeCaches() @@ -4172,7 +4163,6 @@ class GeneralUtility * Useful to require classes from inside other classes (not global scope). A limited set of global variables are available (see function) * * @param string $requireFile: Path of the file to be included - * @return void * @deprecated since TYPO3 CMS 8, this method will be removed in TYPO3 CMS 9 */ public static function requireOnce($requireFile) @@ -4189,7 +4179,6 @@ class GeneralUtility * A limited set of global variables are available (see function) * * @param string $requireFile: Path of the file to be included - * @return void * @deprecated since TYPO3 CMS 8, this method will be removed in TYPO3 CMS 9 */ public static function requireFile($requireFile) @@ -4253,7 +4242,6 @@ class GeneralUtility /** * Initialize the system log. * - * @return void * @see sysLog() */ public static function initSysLog() @@ -4297,7 +4285,6 @@ class GeneralUtility * @param string $msg Message (in English). * @param string $extKey Extension key (from which extension you are calling the log) or "Core * @param int $severity \TYPO3\CMS\Core\Utility\GeneralUtility::SYSLOG_SEVERITY_* constant - * @return void */ public static function sysLog($msg, $extKey, $severity = 0) { @@ -4370,7 +4357,6 @@ class GeneralUtility * @param string $extKey Extension key (from which extension you are calling the log) * @param int $severity Severity: 0 is info, 1 is notice, 2 is warning, 3 is fatal error, -1 is "OK" message * @param mixed $dataVar Additional data you want to pass to the logger. - * @return void */ public static function devLog($msg, $extKey, $severity = 0, $dataVar = false) { @@ -4387,7 +4373,6 @@ class GeneralUtility * Writes a message to the deprecation log. * * @param string $msg Message (in English). - * @return void */ public static function deprecationLog($msg) { @@ -4474,8 +4459,6 @@ class GeneralUtility /** * Logs a call to a deprecated function. * The log message will be taken from the annotation. - * - * @return void */ public static function logDeprecatedFunction() { @@ -4602,7 +4585,6 @@ class GeneralUtility /** * Ends and flushes all output buffers * - * @return void * @deprecated since TYPO3 CMS 8, will be removed in TYPO3 CMS 9. */ public static function flushOutputBuffers() diff --git a/typo3/sysext/core/Classes/Utility/HttpUtility.php b/typo3/sysext/core/Classes/Utility/HttpUtility.php index 16d4f08d7168..4adf8553af55 100644 --- a/typo3/sysext/core/Classes/Utility/HttpUtility.php +++ b/typo3/sysext/core/Classes/Utility/HttpUtility.php @@ -84,7 +84,6 @@ class HttpUtility * Set a specific response code like 404. * * @param string $httpStatus One of the HTTP_STATUS_* class class constants, default to self::HTTP_STATUS_303 - * @return void */ public static function setResponseCode($httpStatus = self::HTTP_STATUS_303) { @@ -95,7 +94,6 @@ class HttpUtility * Set a specific response code and exit script execution. * * @param string $httpStatus One of the HTTP_STATUS_* class class constants, default to self::HTTP_STATUS_303 - * @return void */ public static function setResponseCodeAndExit($httpStatus = self::HTTP_STATUS_303) { diff --git a/typo3/sysext/core/Classes/Utility/PathUtility.php b/typo3/sysext/core/Classes/Utility/PathUtility.php index ec102dd52ce2..3c0aa4bd753f 100644 --- a/typo3/sysext/core/Classes/Utility/PathUtility.php +++ b/typo3/sysext/core/Classes/Utility/PathUtility.php @@ -158,7 +158,6 @@ class PathUtility * @param string $path * * @return string - * */ public static function basename($path) { @@ -180,7 +179,6 @@ class PathUtility * @param string $path * * @return string - * */ public static function dirname($path) { @@ -203,7 +201,6 @@ class PathUtility * @param int $options * * @return string|array - * */ public static function pathinfo($path, $options = null) { diff --git a/typo3/sysext/core/Classes/Utility/RootlineUtility.php b/typo3/sysext/core/Classes/Utility/RootlineUtility.php index 3ef611c06215..1c27eaabe995 100644 --- a/typo3/sysext/core/Classes/Utility/RootlineUtility.php +++ b/typo3/sysext/core/Classes/Utility/RootlineUtility.php @@ -139,7 +139,6 @@ class RootlineUtility * Initialize a state to work with * * @throws \RuntimeException - * @return void */ protected function initializeObject() { @@ -166,8 +165,6 @@ class RootlineUtility * Purges all rootline caches. * * Note: This function is intended to be used in unit tests only. - * - * @return void */ public static function purgeCaches() { @@ -388,7 +385,6 @@ class RootlineUtility * Actual function to generate the rootline and cache it * * @throws \RuntimeException - * @return void */ protected function generateRootlineCache() { @@ -471,8 +467,6 @@ class RootlineUtility * Parse the MountPoint Parameters * Splits the MP-Param via "," for several nested mountpoints * and afterwords registers the mountpoint configurations - * - * @return void */ protected function parseMountPointParameter() { diff --git a/typo3/sysext/core/Tests/Acceptance/Backend/BackendUser/ListUserCest.php b/typo3/sysext/core/Tests/Acceptance/Backend/BackendUser/ListUserCest.php index e077be703f75..3c2b07e8cfa7 100644 --- a/typo3/sysext/core/Tests/Acceptance/Backend/BackendUser/ListUserCest.php +++ b/typo3/sysext/core/Tests/Acceptance/Backend/BackendUser/ListUserCest.php @@ -23,7 +23,6 @@ class ListUserCest { /** * @param Admin $I - * @return void */ public function _before(Admin $I) { @@ -42,7 +41,6 @@ class ListUserCest /** * @param Admin $I - * @return void */ public function showsHeadingAndListsBackendUsers(Admin $I) { @@ -57,7 +55,6 @@ class ListUserCest /** * @param Admin $I - * @return void */ public function filterUsersByUsername(Admin $I) { @@ -85,7 +82,6 @@ class ListUserCest /** * @param Admin $I - * @return void */ public function filterUsersByAdmin(Admin $I) { @@ -113,7 +109,6 @@ class ListUserCest /** * @param Admin $I - * @return void */ public function filterUsersByStatus(Admin $I) { @@ -141,7 +136,6 @@ class ListUserCest /** * @param Admin $I - * @return void */ public function filterUsersByLogin(Admin $I) { @@ -169,7 +163,6 @@ class ListUserCest /** * @param Admin $I - * @return void */ public function filterUsersByUserGroup(Admin $I) { @@ -191,7 +184,6 @@ class ListUserCest /** * @param Admin $I * @param int $countOfUsers - * @return void */ protected function checkCountOfUsers(Admin $I, $countOfUsers) { diff --git a/typo3/sysext/core/Tests/Acceptance/Backend/Install/InstallModuleCest.php b/typo3/sysext/core/Tests/Acceptance/Backend/Install/InstallModuleCest.php index 91ad379ab798..f100b9b2fa07 100644 --- a/typo3/sysext/core/Tests/Acceptance/Backend/Install/InstallModuleCest.php +++ b/typo3/sysext/core/Tests/Acceptance/Backend/Install/InstallModuleCest.php @@ -28,7 +28,6 @@ class InstallModuleCest /** * @param Admin $I - * @return void */ public function _before(Admin $I) { @@ -49,7 +48,6 @@ class InstallModuleCest /** * @param Admin $I - * @return void */ public function unlockAndLockInstallTool(Admin $I) { @@ -77,7 +75,6 @@ class InstallModuleCest /** * @param Admin $I - * @return void */ public function loginToInstallTool(Admin $I) { diff --git a/typo3/sysext/core/Tests/Acceptance/Backend/Language/LanguageCest.php b/typo3/sysext/core/Tests/Acceptance/Backend/Language/LanguageCest.php index 7adf1e502b0e..bbf4bfc8e0ba 100644 --- a/typo3/sysext/core/Tests/Acceptance/Backend/Language/LanguageCest.php +++ b/typo3/sysext/core/Tests/Acceptance/Backend/Language/LanguageCest.php @@ -23,7 +23,6 @@ class LanguageCest { /** * @param Admin $I - * @return void */ public function _before(Admin $I) { @@ -45,7 +44,6 @@ class LanguageCest /** * @param Admin $I - * @return void */ public function showsHeadingAndListsInstalledLanguages(Admin $I) { @@ -57,7 +55,6 @@ class LanguageCest /** * @param Admin $I - * @return void */ public function filterInstalledLanguages(Admin $I) { @@ -77,7 +74,6 @@ class LanguageCest /** * @param Admin $I - * @return void */ public function activateAndDeactivateALanguage(Admin $I) { @@ -98,7 +94,6 @@ class LanguageCest /** * @param Admin $I - * @return void */ public function downloadALanguage(Admin $I) { @@ -123,7 +118,6 @@ class LanguageCest /** * @param Admin $I - * @return void */ public function showsHeadingAndListsTranslationOverview(Admin $I) { @@ -135,7 +129,6 @@ class LanguageCest /** * @param Admin $I - * @return void */ public function filterTranslationOverview(Admin $I) { diff --git a/typo3/sysext/core/Tests/Acceptance/Backend/Login/BackendLoginCest.php b/typo3/sysext/core/Tests/Acceptance/Backend/Login/BackendLoginCest.php index 85ee20f7acdc..edec1dfe5ec5 100644 --- a/typo3/sysext/core/Tests/Acceptance/Backend/Login/BackendLoginCest.php +++ b/typo3/sysext/core/Tests/Acceptance/Backend/Login/BackendLoginCest.php @@ -126,7 +126,6 @@ class BackendLoginCest * @param \AcceptanceTester $I * @param string $username * @param string $password - * @return void */ protected function login(\AcceptanceTester $I, string $username, string $password) { @@ -147,7 +146,6 @@ class BackendLoginCest * Logout user by clicking logout button in toolbar * * @param \AcceptanceTester $I - * @return void */ protected function logout(\AcceptanceTester $I) { diff --git a/typo3/sysext/core/Tests/Acceptance/Backend/Template/TemplateCest.php b/typo3/sysext/core/Tests/Acceptance/Backend/Template/TemplateCest.php index b7b5d4a9a763..699df85f7b17 100644 --- a/typo3/sysext/core/Tests/Acceptance/Backend/Template/TemplateCest.php +++ b/typo3/sysext/core/Tests/Acceptance/Backend/Template/TemplateCest.php @@ -23,7 +23,6 @@ class TemplateCest { /** * @param Admin $I - * @return void */ public function _before(Admin $I) { @@ -44,7 +43,6 @@ class TemplateCest /** * @param Admin $I - * @return void */ public function pagesWithNoTemplateShouldShowButtonsToCreateTemplates(Admin $I) { @@ -78,7 +76,6 @@ class TemplateCest /** * @param Admin $I - * @return void */ public function addANewSiteTemplate(Admin $I) { diff --git a/typo3/sysext/core/Tests/Functional/Category/Collection/CategoryCollectionTest.php b/typo3/sysext/core/Tests/Functional/Category/Collection/CategoryCollectionTest.php index d6dde24b77bb..766e50e5d913 100644 --- a/typo3/sysext/core/Tests/Functional/Category/Collection/CategoryCollectionTest.php +++ b/typo3/sysext/core/Tests/Functional/Category/Collection/CategoryCollectionTest.php @@ -56,8 +56,6 @@ class CategoryCollectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun /** * Sets up this test suite. - * - * @return void */ protected function setUp() { @@ -90,7 +88,6 @@ class CategoryCollectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun /** * @test * @covers \TYPO3\CMS\Core\Category\Collection\CategoryCollection::fromArray - * @return void */ public function checkIfFromArrayMethodSetCorrectProperties() { @@ -105,7 +102,6 @@ class CategoryCollectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun /** * @test * @covers \TYPO3\CMS\Core\Category\Collection\CategoryCollection::create - * @return void */ public function canCreateDummyCollection() { @@ -116,7 +112,6 @@ class CategoryCollectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun /** * @test * @covers \TYPO3\CMS\Core\Category\Collection\CategoryCollection::create - * @return void */ public function canCreateDummyCollectionAndFillItems() { @@ -127,7 +122,6 @@ class CategoryCollectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun /** * @test * @covers \TYPO3\CMS\Core\Category\Collection\CategoryCollection::getCollectedRecords - * @return void */ public function getCollectedRecordsReturnsEmptyRecordSet() { @@ -141,7 +135,6 @@ class CategoryCollectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun /** * @test * @covers \TYPO3\CMS\Core\Category\Collection\CategoryCollection::getStorageTableName - * @return void */ public function isStorageTableNameEqualsToSysCategory() { @@ -151,7 +144,6 @@ class CategoryCollectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun /** * @test * @covers \TYPO3\CMS\Core\Category\Collection\CategoryCollection::getStorageItemsField - * @return void */ public function isStorageItemsFieldEqualsToItems() { @@ -160,7 +152,6 @@ class CategoryCollectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun /** * @test - * @return void */ public function canLoadADummyCollectionFromDatabase() { @@ -194,7 +185,6 @@ class CategoryCollectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun /** * @test - * @return void */ public function canLoadADummyCollectionFromDatabaseAndAddRecord() { @@ -213,7 +203,6 @@ class CategoryCollectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun /** * @test - * @return void */ public function canLoadADummyCollectionWithoutContentFromDatabase() { @@ -225,7 +214,6 @@ class CategoryCollectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun /** * @test - * @return void */ public function canLoadADummyCollectionFromDatabaseAfterRemoveOneRelation() { @@ -246,8 +234,6 @@ class CategoryCollectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun /********************/ /** * Create dummy table for testing purpose - * - * @return void */ private function populateDummyTable() { @@ -263,8 +249,6 @@ class CategoryCollectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun /** * Make relation between tables - * - * @return void */ private function makeRelationBetweenCategoryAndDummyTable() { @@ -283,8 +267,6 @@ class CategoryCollectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun /** * Create dummy table for testing purpose - * - * @return void */ private function createDummyTable() { @@ -309,8 +291,6 @@ class CategoryCollectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun /** * Drop dummy table - * - * @return void */ private function dropDummyTable() { @@ -329,8 +309,6 @@ class CategoryCollectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun /** * Add is_dummy_record record and create dummy record - * - * @return void */ private function prepareTables() { diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/AbstractDataHandlerActionTestCase.php b/typo3/sysext/core/Tests/Functional/DataHandling/AbstractDataHandlerActionTestCase.php index 6a4e9ccdce59..728cc78107ef 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/AbstractDataHandlerActionTestCase.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/AbstractDataHandlerActionTestCase.php @@ -120,8 +120,6 @@ abstract class AbstractDataHandlerActionTestCase extends \TYPO3\TestingFramework /** * Asserts correct number of warning and error log entries. - * - * @return void */ protected function assertErrorLogEntries() { diff --git a/typo3/sysext/core/Tests/Functional/Database/DatabaseConnectionTest.php b/typo3/sysext/core/Tests/Functional/Database/DatabaseConnectionTest.php index fe4f64e77af0..ffa5f212efbc 100644 --- a/typo3/sysext/core/Tests/Functional/Database/DatabaseConnectionTest.php +++ b/typo3/sysext/core/Tests/Functional/Database/DatabaseConnectionTest.php @@ -43,8 +43,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun /** * Set the test up - * - * @return void */ protected function setUp() { @@ -62,8 +60,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun /** * Tear the test down - * - * @return void */ protected function tearDown() { @@ -75,7 +71,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function selectDbReturnsTrue() { @@ -86,7 +81,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function selectDbReturnsFalse() { @@ -102,7 +96,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function sqlAffectedRowsReturnsCorrectAmountOfRows() { @@ -114,7 +107,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function sqlInsertIdReturnsCorrectId() { @@ -126,7 +118,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function noSqlError() { @@ -138,7 +129,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function sqlErrorWhenInsertIntoInexistentField() { @@ -150,7 +140,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function noSqlErrorCode() { @@ -162,7 +151,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function sqlErrorNoWhenInsertIntoInexistentField() { @@ -199,7 +187,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function connectDbConnectsToDatabaseWithoutErrors() { @@ -211,7 +198,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function disconnectIfConnectedDisconnects() { @@ -273,7 +259,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @param string $expectedResult * * @group mysql - * @return void */ public function fullQuoteStrReturnsQuotedString($values, $expectedResult) { @@ -400,7 +385,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @param string $expectedResult * * @group mysql - * @return void */ public function fullQuoteArrayQuotesArray($values, $expectedResult) { @@ -449,7 +433,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @param string $expectedResult Quoted string we expect * * @group mysql - * @return void */ public function quoteStrQuotesDoubleQuotesCorrectly($string, $expectedResult) { @@ -461,7 +444,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function adminQueryReturnsTrueForInsertQuery() { @@ -474,7 +456,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function adminQueryReturnsTrueForUpdateQuery() { @@ -491,7 +472,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function adminQueryReturnsTrueForDeleteQuery() { @@ -506,7 +486,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function adminQueryReturnsResultForSelectQuery() { @@ -523,7 +502,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function adminGetCharsetsReturnsArrayWithCharsets() { @@ -541,7 +519,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function adminGetKeysReturnIndexKeysOfTable() { @@ -553,7 +530,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function adminGetFieldsReturnFieldInformationsForTable() { @@ -566,7 +542,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function adminGetTablesReturnAllTablesFromDatabase() { @@ -579,7 +554,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function adminGetDbsReturnsAllDatabases() { @@ -623,7 +597,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @param string $expectedResult * * @group mysql - * @return void */ public function sqlNumRowsReturnsCorrectAmountOfRows($sql, $expectedResult) { @@ -642,7 +615,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function sqlNumRowsReturnsFalse() { @@ -653,8 +625,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun /** * Prepares the test table for the fetch* Tests - * - * @return void */ protected function prepareTableForFetchTests() { @@ -684,7 +654,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function sqlFetchAssocReturnsAssocArray() { @@ -744,7 +713,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function sqlFetchRowReturnsNumericArray() { @@ -767,7 +735,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function sqlFreeResultReturnsFalseOnFailure() { @@ -782,7 +749,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Functional\Fun * @test * * @group mysql - * @return void */ public function sqlFreeResultReturnsTrueOnSuccess() { diff --git a/typo3/sysext/core/Tests/Functional/Database/PreparedStatementTest.php b/typo3/sysext/core/Tests/Functional/Database/PreparedStatementTest.php index cdb5e1610cb7..c47f57c79a00 100644 --- a/typo3/sysext/core/Tests/Functional/Database/PreparedStatementTest.php +++ b/typo3/sysext/core/Tests/Functional/Database/PreparedStatementTest.php @@ -43,8 +43,6 @@ class PreparedStatementTest extends \TYPO3\TestingFramework\Core\Functional\Func /** * Set the test up - * - * @return void */ protected function setUp() { @@ -62,8 +60,6 @@ class PreparedStatementTest extends \TYPO3\TestingFramework\Core\Functional\Func /** * Tear the test down - * - * @return void */ protected function tearDown() { @@ -75,7 +71,6 @@ class PreparedStatementTest extends \TYPO3\TestingFramework\Core\Functional\Func * @test * * @group mysql - * @return void */ public function prepareSelectQueryCreateValidQuery() { diff --git a/typo3/sysext/core/Tests/Functional/Database/Schema/SchemaMigratorTest.php b/typo3/sysext/core/Tests/Functional/Database/Schema/SchemaMigratorTest.php index dad3f54473cd..3ced4cd5280e 100644 --- a/typo3/sysext/core/Tests/Functional/Database/Schema/SchemaMigratorTest.php +++ b/typo3/sysext/core/Tests/Functional/Database/Schema/SchemaMigratorTest.php @@ -57,8 +57,6 @@ class SchemaMigratorTest extends \TYPO3\TestingFramework\Core\Functional\Functio /** * Sets up this test suite. - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Controller/ContentController.php b/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Controller/ContentController.php index c9993258c2ed..3c8aca34e5d5 100644 --- a/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Controller/ContentController.php +++ b/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Controller/ContentController.php @@ -31,7 +31,6 @@ class ContentController extends AbstractController protected $defaultViewObjectName = \TYPO3\CMS\Extbase\Mvc\View\JsonView::class; /** - * @return void */ public function listAction() { @@ -42,7 +41,6 @@ class ContentController extends AbstractController /** * @param \OliverHader\IrreTutorial\Domain\Model\Content $content - * @return void */ public function showAction(\OliverHader\IrreTutorial\Domain\Model\Content $content) { @@ -53,7 +51,6 @@ class ContentController extends AbstractController /** * @param \OliverHader\IrreTutorial\Domain\Model\Content $newContent * @ignorevalidation $newContent - * @return void */ public function newAction(\OliverHader\IrreTutorial\Domain\Model\Content $newContent = null) { @@ -62,7 +59,6 @@ class ContentController extends AbstractController /** * @param \OliverHader\IrreTutorial\Domain\Model\Content $newContent - * @return void */ public function createAction(\OliverHader\IrreTutorial\Domain\Model\Content $newContent) { @@ -73,7 +69,6 @@ class ContentController extends AbstractController /** * @param \OliverHader\IrreTutorial\Domain\Model\Content $content * @ignorevalidation $content - * @return void */ public function editAction(\OliverHader\IrreTutorial\Domain\Model\Content $content) { @@ -82,7 +77,6 @@ class ContentController extends AbstractController /** * @param \OliverHader\IrreTutorial\Domain\Model\Content $content - * @return void */ public function updateAction(\OliverHader\IrreTutorial\Domain\Model\Content $content) { @@ -92,7 +86,6 @@ class ContentController extends AbstractController /** * @param \OliverHader\IrreTutorial\Domain\Model\Content $content - * @return void */ public function deleteAction(\OliverHader\IrreTutorial\Domain\Model\Content $content) { diff --git a/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Controller/QueueController.php b/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Controller/QueueController.php index 59223d865d59..a28b2ed92073 100644 --- a/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Controller/QueueController.php +++ b/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Controller/QueueController.php @@ -31,7 +31,6 @@ class QueueController extends AbstractController protected $defaultViewObjectName = \TYPO3\CMS\Extbase\Mvc\View\JsonView::class; /** - * @return void */ public function indexAction() { @@ -47,7 +46,6 @@ class QueueController extends AbstractController } /** - * @return void */ public function processAction() { diff --git a/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Domain/Model/Content.php b/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Domain/Model/Content.php index 8f6c78dbe7a1..324fa834cb68 100644 --- a/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Domain/Model/Content.php +++ b/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Domain/Model/Content.php @@ -47,7 +47,6 @@ class Content extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $header - * @return void */ public function setHeader($header) { @@ -64,7 +63,6 @@ class Content extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\OliverHader\IrreTutorial\Domain\Model\Hotel> $hotels - * @return void */ public function setHotels(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $hotels) { diff --git a/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Domain/Model/Hotel.php b/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Domain/Model/Hotel.php index e9cb8a04f8ff..e58227a50b7b 100644 --- a/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Domain/Model/Hotel.php +++ b/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Domain/Model/Hotel.php @@ -48,7 +48,6 @@ class Hotel extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $title - * @return void */ public function setTitle($title) { @@ -65,7 +64,6 @@ class Hotel extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\OliverHader\IrreTutorial\Domain\Model\Offer> $offers - * @return void */ public function setOffers(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $offers) { diff --git a/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Domain/Model/Offer.php b/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Domain/Model/Offer.php index fe2586ab64ce..470d33e78723 100644 --- a/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Domain/Model/Offer.php +++ b/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Domain/Model/Offer.php @@ -48,7 +48,6 @@ class Offer extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $title - * @return void */ public function setTitle($title) { @@ -65,7 +64,6 @@ class Offer extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\OliverHader\IrreTutorial\Domain\Model\Offer> $prices - * @return void */ public function setPrices(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $prices) { diff --git a/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Domain/Model/Price.php b/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Domain/Model/Price.php index 23dccd24b985..39644f3434f3 100644 --- a/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Domain/Model/Price.php +++ b/typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Classes/Domain/Model/Price.php @@ -39,7 +39,6 @@ class Price extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $title - * @return void */ public function setTitle($title) { @@ -56,7 +55,6 @@ class Price extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param float $price - * @return void */ public function setPrice($price) { diff --git a/typo3/sysext/core/Tests/Unit/Authentication/AbstractUserAuthenticationTest.php b/typo3/sysext/core/Tests/Unit/Authentication/AbstractUserAuthenticationTest.php index 3752e113ffda..93e8523cb692 100644 --- a/typo3/sysext/core/Tests/Unit/Authentication/AbstractUserAuthenticationTest.php +++ b/typo3/sysext/core/Tests/Unit/Authentication/AbstractUserAuthenticationTest.php @@ -25,7 +25,6 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; /** * Testcase for class \TYPO3\CMS\Core\Authentication\AbstractUserAuthentication - * */ class AbstractUserAuthenticationTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { diff --git a/typo3/sysext/core/Tests/Unit/Cache/Backend/ApcBackendTest.php b/typo3/sysext/core/Tests/Unit/Cache/Backend/ApcBackendTest.php index f419a12017cf..6ca51a33de63 100644 --- a/typo3/sysext/core/Tests/Unit/Cache/Backend/ApcBackendTest.php +++ b/typo3/sysext/core/Tests/Unit/Cache/Backend/ApcBackendTest.php @@ -28,8 +28,6 @@ class ApcBackendTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { /** * Sets up this testcase - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Cache/Backend/ApcuBackendTest.php b/typo3/sysext/core/Tests/Unit/Cache/Backend/ApcuBackendTest.php index 396660c4b55e..bf9b55b2a5bd 100644 --- a/typo3/sysext/core/Tests/Unit/Cache/Backend/ApcuBackendTest.php +++ b/typo3/sysext/core/Tests/Unit/Cache/Backend/ApcuBackendTest.php @@ -30,8 +30,6 @@ class ApcuBackendTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { /** * Set up - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Cache/Backend/FileBackendTest.php b/typo3/sysext/core/Tests/Unit/Cache/Backend/FileBackendTest.php index d0226e9a7842..0282b76cc6db 100644 --- a/typo3/sysext/core/Tests/Unit/Cache/Backend/FileBackendTest.php +++ b/typo3/sysext/core/Tests/Unit/Cache/Backend/FileBackendTest.php @@ -28,8 +28,6 @@ class FileBackendTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { /** * Sets up this testcase - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Cache/Backend/MemcachedBackendTest.php b/typo3/sysext/core/Tests/Unit/Cache/Backend/MemcachedBackendTest.php index df3ed4e314b1..2fa908a724c8 100644 --- a/typo3/sysext/core/Tests/Unit/Cache/Backend/MemcachedBackendTest.php +++ b/typo3/sysext/core/Tests/Unit/Cache/Backend/MemcachedBackendTest.php @@ -25,8 +25,6 @@ class MemcachedBackendTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCas { /** * Sets up this testcase - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Cache/Backend/MockBackend.php b/typo3/sysext/core/Tests/Unit/Cache/Backend/MockBackend.php index 73dafcdeec25..9b19fbb3241e 100644 --- a/typo3/sysext/core/Tests/Unit/Cache/Backend/MockBackend.php +++ b/typo3/sysext/core/Tests/Unit/Cache/Backend/MockBackend.php @@ -31,7 +31,6 @@ class MockBackend extends \TYPO3\CMS\Core\Cache\Backend\NullBackend * Sets some option * * @param mixed $value - * @return void */ public function setSomeOption($value) { diff --git a/typo3/sysext/core/Tests/Unit/Cache/Backend/RedisBackendTest.php b/typo3/sysext/core/Tests/Unit/Cache/Backend/RedisBackendTest.php index 22b5139e06ca..1ec56154b040 100644 --- a/typo3/sysext/core/Tests/Unit/Cache/Backend/RedisBackendTest.php +++ b/typo3/sysext/core/Tests/Unit/Cache/Backend/RedisBackendTest.php @@ -63,7 +63,6 @@ class RedisBackendTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Sets up the redis backend used for testing - * */ protected function setUpBackend(array $backendOptions = []) { diff --git a/typo3/sysext/core/Tests/Unit/Cache/Backend/WincacheBackendTest.php b/typo3/sysext/core/Tests/Unit/Cache/Backend/WincacheBackendTest.php index 9de35a0b2c29..fea5fa491a29 100644 --- a/typo3/sysext/core/Tests/Unit/Cache/Backend/WincacheBackendTest.php +++ b/typo3/sysext/core/Tests/Unit/Cache/Backend/WincacheBackendTest.php @@ -23,8 +23,6 @@ class WincacheBackendTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { /** * Sets up this testcase - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Category/Collection/CategoryCollectionTest.php b/typo3/sysext/core/Tests/Unit/Category/Collection/CategoryCollectionTest.php index 3cd0686703b2..133834ee0f07 100644 --- a/typo3/sysext/core/Tests/Unit/Category/Collection/CategoryCollectionTest.php +++ b/typo3/sysext/core/Tests/Unit/Category/Collection/CategoryCollectionTest.php @@ -23,7 +23,6 @@ class CategoryCollectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC /** * @test * @covers \TYPO3\CMS\Core\Category\Collection\CategoryCollection::__construct - * @return void */ public function missingTableNameArgumentForObjectCategoryCollection() { diff --git a/typo3/sysext/core/Tests/Unit/Configuration/TypoScript/ConditionMatching/Fixtures/GeneralUtilityFixture.php b/typo3/sysext/core/Tests/Unit/Configuration/TypoScript/ConditionMatching/Fixtures/GeneralUtilityFixture.php index 392b94846b5c..fec5ccc15713 100644 --- a/typo3/sysext/core/Tests/Unit/Configuration/TypoScript/ConditionMatching/Fixtures/GeneralUtilityFixture.php +++ b/typo3/sysext/core/Tests/Unit/Configuration/TypoScript/ConditionMatching/Fixtures/GeneralUtilityFixture.php @@ -21,7 +21,6 @@ class GeneralUtilityFixture extends \TYPO3\CMS\Core\Utility\GeneralUtility { /** * @param \TYPO3\CMS\Core\Core\ApplicationContext $applicationContext - * @return void */ public static function setApplicationContext($applicationContext) { diff --git a/typo3/sysext/core/Tests/Unit/Core/SystemEnvironmentBuilderTest.php b/typo3/sysext/core/Tests/Unit/Core/SystemEnvironmentBuilderTest.php index f19759e80df2..8e3277af3689 100644 --- a/typo3/sysext/core/Tests/Unit/Core/SystemEnvironmentBuilderTest.php +++ b/typo3/sysext/core/Tests/Unit/Core/SystemEnvironmentBuilderTest.php @@ -26,8 +26,6 @@ class SystemEnvironmentBuilderTest extends \TYPO3\TestingFramework\Core\Unit\Uni /** * Set up testcase - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Database/ConnectionTest.php b/typo3/sysext/core/Tests/Unit/Database/ConnectionTest.php index bc7e77350bca..abe8df26445d 100644 --- a/typo3/sysext/core/Tests/Unit/Database/ConnectionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/ConnectionTest.php @@ -26,7 +26,6 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; /** * Test case - * */ class ConnectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { @@ -47,8 +46,6 @@ class ConnectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Create a new database connection mock object for every test. - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Database/DatabaseConnectionTest.php b/typo3/sysext/core/Tests/Unit/Database/DatabaseConnectionTest.php index 14bb52d5ac7c..69fccbc28406 100644 --- a/typo3/sysext/core/Tests/Unit/Database/DatabaseConnectionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/DatabaseConnectionTest.php @@ -20,7 +20,6 @@ use TYPO3\TestingFramework\Core\AccessibleObjectInterface; /** * Test case - * */ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { @@ -45,8 +44,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC /** * Set the test up - * - * @return void */ protected function setUp() { @@ -316,7 +313,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC * @dataProvider stripOrderByForOrderByKeywordDataProvider * @param string $orderByClause The clause to test * @param string $expectedResult The expected result - * @return void */ public function stripOrderByForOrderByKeyword($orderByClause, $expectedResult) { @@ -386,7 +382,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC * @dataProvider stripGroupByForGroupByKeywordDataProvider * @param string $groupByClause The clause to test * @param string $expectedResult The expected result - * @return void */ public function stripGroupByForGroupByKeyword($groupByClause, $expectedResult) { @@ -466,7 +461,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC * @dataProvider cleanIntArrayDataProvider * @param array $exampleData The array to sanitize * @param array $expectedResult The expected result - * @return void */ public function cleanIntArray($exampleData, $expectedResult) { @@ -476,8 +470,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC /** * @test - * - * @return void */ public function cleanIntListReturnsCleanedString() { @@ -601,8 +593,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC /** * @test - * - * @return void */ public function insertQueryCreateValidQuery() { @@ -621,8 +611,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC /** * @test - * - * @return void */ public function insertQueryCreateValidQueryFromMultipleValues() { @@ -644,8 +632,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC /** * @test - * - * @return void */ public function insertMultipleRowsCreateValidQuery() { @@ -669,8 +655,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC /** * @test - * - * @return void */ public function updateQueryCreateValidQuery() { @@ -689,8 +673,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC /** * @test - * - * @return void */ public function deleteQueryCreateValidQuery() { @@ -701,8 +683,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC /** * @test - * - * @return void */ public function selectQueryCreateValidQuery() { @@ -713,8 +693,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC /** * @test - * - * @return void */ public function selectQueryCreateValidQueryWithEmptyWhereClause() { @@ -725,8 +703,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC /** * @test - * - * @return void */ public function selectQueryCreateValidQueryWithGroupByClause() { @@ -737,8 +713,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC /** * @test - * - * @return void */ public function selectQueryCreateValidQueryWithOrderByClause() { @@ -749,8 +723,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC /** * @test - * - * @return void */ public function selectQueryCreateValidQueryWithLimitClause() { @@ -761,8 +733,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC /** * @test - * - * @return void */ public function selectSubQueryCreateValidQuery() { @@ -773,8 +743,6 @@ class DatabaseConnectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC /** * @test - * - * @return void */ public function truncateQueryCreateValidQuery() { diff --git a/typo3/sysext/core/Tests/Unit/Database/Mocks/MockPlatform.php b/typo3/sysext/core/Tests/Unit/Database/Mocks/MockPlatform.php index 477491a47551..b4ec2dec922c 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Mocks/MockPlatform.php +++ b/typo3/sysext/core/Tests/Unit/Database/Mocks/MockPlatform.php @@ -159,8 +159,6 @@ class MockPlatform extends AbstractPlatform /** * Lazy load Doctrine Type Mappings. - * - * @return void */ protected function initializeDoctrineTypeMappings() { diff --git a/typo3/sysext/core/Tests/Unit/Database/PreparedStatementTest.php b/typo3/sysext/core/Tests/Unit/Database/PreparedStatementTest.php index 834695911aa6..8f79ef4cfd53 100644 --- a/typo3/sysext/core/Tests/Unit/Database/PreparedStatementTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/PreparedStatementTest.php @@ -30,8 +30,6 @@ class PreparedStatementTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * Create a new database mock object for every test * and backup the original global database object. - * - * @return void */ protected function setUp() { @@ -77,7 +75,6 @@ class PreparedStatementTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function setUpAndReturnDatabaseStubReturnsMockObjectOfDatabaseConnection() { @@ -86,7 +83,6 @@ class PreparedStatementTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function createPreparedStatementReturnsInstanceOfPreparedStatementClass() { @@ -143,7 +139,6 @@ class PreparedStatementTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa * @param string $query Query with unreplaced markers * @param array $parameters Array of parameters to be replaced in the query * @param string $expectedResult Query with all markers replaced - * @return void */ public function parametersAreReplacedByQuestionMarkInQueryByCallingExecute($query, $parameters, $expectedResult) { @@ -163,7 +158,6 @@ class PreparedStatementTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa * @param string $query Query with unreplaced markers * @param array $parameters Array of parameters to be replaced in the query * @param string $expectedResult Query with all markers replaced - * @return void */ public function parametersAreReplacedInQueryWhenBoundWithBindValues($query, $parameters, $expectedResult) { @@ -241,7 +235,6 @@ class PreparedStatementTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa * @param mixed $parameter Parameter to be replaced in the query * @param int $type Type of the parameter value * @param int $exceptionCode Expected exception code - * @return void */ public function invalidParameterTypesPassedToBindValueThrowsException($parameter, $type, $exceptionCode) { @@ -296,7 +289,6 @@ class PreparedStatementTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa * @dataProvider passingInvalidMarkersThrowsExceptionDataProvider * @param string $query Query with unreplaced markers * @param array $parameters Array of parameters to be replaced in the query - * @return void */ public function passingInvalidMarkersThrowsException($query, $parameters) { diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/BulkInsertTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/BulkInsertTest.php index af4652e1aaa1..11fb4e0a87af 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/BulkInsertTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/BulkInsertTest.php @@ -38,8 +38,6 @@ class BulkInsertTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Create a new database connection mock object for every test. - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Expression/ExpressionBuilderTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Expression/ExpressionBuilderTest.php index 4926d90b5db0..11961722b62c 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Expression/ExpressionBuilderTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Expression/ExpressionBuilderTest.php @@ -42,8 +42,6 @@ class ExpressionBuilderTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * Create a new database connection mock object for every test. - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/QueryBuilderTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/QueryBuilderTest.php index e0bc76b4fa98..4e0ed0f86fc4 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/QueryBuilderTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/QueryBuilderTest.php @@ -47,8 +47,6 @@ class QueryBuilderTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Create a new database connection mock object for every test. - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/BackendWorkspaceRestrictionTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/BackendWorkspaceRestrictionTest.php index bdcf311f8268..e5ebc7a2dea8 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/BackendWorkspaceRestrictionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/BackendWorkspaceRestrictionTest.php @@ -20,7 +20,6 @@ use TYPO3\CMS\Core\Database\Query\Restriction\BackendWorkspaceRestriction; class BackendWorkspaceRestrictionTest extends AbstractRestrictionTestCase { /** - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DefaultRestrictionContainerTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DefaultRestrictionContainerTest.php index cad43a7a7dec..f9b3a9ceb91a 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DefaultRestrictionContainerTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DefaultRestrictionContainerTest.php @@ -20,7 +20,6 @@ use TYPO3\CMS\Core\Database\Query\Restriction\DefaultRestrictionContainer; class DefaultRestrictionContainerTest extends AbstractRestrictionTestCase { /** - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DeletedRestrictionTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DeletedRestrictionTest.php index f7ed4a4a5daa..aaad5c832617 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DeletedRestrictionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DeletedRestrictionTest.php @@ -20,7 +20,6 @@ use TYPO3\CMS\Core\Database\Query\Restriction\DeletedRestriction; class DeletedRestrictionTest extends AbstractRestrictionTestCase { /** - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/EndTimeRestrictionTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/EndTimeRestrictionTest.php index 24e65ebadf31..1e43667127ab 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/EndTimeRestrictionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/EndTimeRestrictionTest.php @@ -20,7 +20,6 @@ use TYPO3\CMS\Core\Database\Query\Restriction\EndTimeRestriction; class EndTimeRestrictionTest extends AbstractRestrictionTestCase { /** - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendGroupRestrictionTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendGroupRestrictionTest.php index 410d7b9ae889..e460f970c0cc 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendGroupRestrictionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendGroupRestrictionTest.php @@ -20,7 +20,6 @@ use TYPO3\CMS\Core\Database\Query\Restriction\FrontendGroupRestriction; class FrontendGroupRestrictionTest extends AbstractRestrictionTestCase { /** - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendRestrictionContainerTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendRestrictionContainerTest.php index 09ae82aecf45..82d8842e07ac 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendRestrictionContainerTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendRestrictionContainerTest.php @@ -21,7 +21,6 @@ use TYPO3\CMS\Frontend\Page\PageRepository; class FrontendRestrictionContainerTest extends AbstractRestrictionTestCase { /** - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendWorkspaceRestrictionTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendWorkspaceRestrictionTest.php index 5d54d866dcda..8b31d7d1ed3b 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendWorkspaceRestrictionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendWorkspaceRestrictionTest.php @@ -21,7 +21,6 @@ use TYPO3\CMS\Frontend\Page\PageRepository; class FrontendWorkspaceRestrictionTest extends AbstractRestrictionTestCase { /** - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/HiddenRestrictionTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/HiddenRestrictionTest.php index 2815cfa746dd..111fb51bc99b 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/HiddenRestrictionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/HiddenRestrictionTest.php @@ -20,7 +20,6 @@ use TYPO3\CMS\Core\Database\Query\Restriction\HiddenRestriction; class HiddenRestrictionTest extends AbstractRestrictionTestCase { /** - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/StartTimeRestrictionTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/StartTimeRestrictionTest.php index b4628606d659..10bcb0541385 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/StartTimeRestrictionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/StartTimeRestrictionTest.php @@ -20,7 +20,6 @@ use TYPO3\CMS\Core\Database\Query\Restriction\StartTimeRestriction; class StartTimeRestrictionTest extends AbstractRestrictionTestCase { /** - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Database/RelationHandlerTest.php b/typo3/sysext/core/Tests/Unit/Database/RelationHandlerTest.php index 3cc8d403d0b8..c7377d05c2d5 100644 --- a/typo3/sysext/core/Tests/Unit/Database/RelationHandlerTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/RelationHandlerTest.php @@ -25,7 +25,6 @@ class RelationHandlerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase protected $subject; /** - * @return void */ protected function setUp() { @@ -35,7 +34,6 @@ class RelationHandlerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase } /** - * @return void */ protected function tearDown() { diff --git a/typo3/sysext/core/Tests/Unit/FormProtection/Fixtures/FormProtectionTesting.php b/typo3/sysext/core/Tests/Unit/FormProtection/Fixtures/FormProtectionTesting.php index 6e34d2950687..072e3115510c 100644 --- a/typo3/sysext/core/Tests/Unit/FormProtection/Fixtures/FormProtectionTesting.php +++ b/typo3/sysext/core/Tests/Unit/FormProtection/Fixtures/FormProtectionTesting.php @@ -35,8 +35,6 @@ class FormProtectionTesting extends \TYPO3\CMS\Core\FormProtection\AbstractFormP /** * Saves the tokens so that they can be used by a later incarnation of this * class. - * - * @return void */ public function persistSessionToken() { diff --git a/typo3/sysext/core/Tests/Unit/Imaging/DimensionTest.php b/typo3/sysext/core/Tests/Unit/Imaging/DimensionTest.php index 463acb3317b5..f2db8817f999 100644 --- a/typo3/sysext/core/Tests/Unit/Imaging/DimensionTest.php +++ b/typo3/sysext/core/Tests/Unit/Imaging/DimensionTest.php @@ -38,8 +38,6 @@ class DimensionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Set up - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Imaging/GraphicalFunctionsTest.php b/typo3/sysext/core/Tests/Unit/Imaging/GraphicalFunctionsTest.php index c6ed64ed78d6..fbda54f43a4a 100644 --- a/typo3/sysext/core/Tests/Unit/Imaging/GraphicalFunctionsTest.php +++ b/typo3/sysext/core/Tests/Unit/Imaging/GraphicalFunctionsTest.php @@ -26,8 +26,6 @@ class GraphicalFunctionsTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC /** * Set up - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Imaging/IconFactoryTest.php b/typo3/sysext/core/Tests/Unit/Imaging/IconFactoryTest.php index 4d9b924b8b37..ad9c041eebc2 100644 --- a/typo3/sysext/core/Tests/Unit/Imaging/IconFactoryTest.php +++ b/typo3/sysext/core/Tests/Unit/Imaging/IconFactoryTest.php @@ -74,8 +74,6 @@ class IconFactoryTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Set up - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/BitmapIconProviderTest.php b/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/BitmapIconProviderTest.php index c0a64664fdb7..7f7a46764c84 100644 --- a/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/BitmapIconProviderTest.php +++ b/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/BitmapIconProviderTest.php @@ -34,8 +34,6 @@ class BitmapIconProviderTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC /** * Set up - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/FontawesomeIconProviderTest.php b/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/FontawesomeIconProviderTest.php index 671bbd5b8ad6..8173ec9717e1 100644 --- a/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/FontawesomeIconProviderTest.php +++ b/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/FontawesomeIconProviderTest.php @@ -34,8 +34,6 @@ class FontawesomeIconProviderTest extends \TYPO3\TestingFramework\Core\Unit\Unit /** * Set up - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/SvgIconProviderTest.php b/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/SvgIconProviderTest.php index 7da9212f0076..101b32063a0d 100644 --- a/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/SvgIconProviderTest.php +++ b/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/SvgIconProviderTest.php @@ -40,8 +40,6 @@ class SvgIconProviderTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Set up - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Imaging/IconRegistryTest.php b/typo3/sysext/core/Tests/Unit/Imaging/IconRegistryTest.php index 1d54e75e389f..169ce32baaf8 100644 --- a/typo3/sysext/core/Tests/Unit/Imaging/IconRegistryTest.php +++ b/typo3/sysext/core/Tests/Unit/Imaging/IconRegistryTest.php @@ -35,8 +35,6 @@ class IconRegistryTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Set up - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Imaging/IconTest.php b/typo3/sysext/core/Tests/Unit/Imaging/IconTest.php index 96de43ed0a58..1cc71689133d 100644 --- a/typo3/sysext/core/Tests/Unit/Imaging/IconTest.php +++ b/typo3/sysext/core/Tests/Unit/Imaging/IconTest.php @@ -40,8 +40,6 @@ class IconTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Set up - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Locking/Fixtures/DummyLock.php b/typo3/sysext/core/Tests/Unit/Locking/Fixtures/DummyLock.php index c83f6e262f30..c6f70252f09c 100644 --- a/typo3/sysext/core/Tests/Unit/Locking/Fixtures/DummyLock.php +++ b/typo3/sysext/core/Tests/Unit/Locking/Fixtures/DummyLock.php @@ -77,8 +77,6 @@ class DummyLock implements LockingStrategyInterface /** * Destroys the resource associated with the lock - * - * @return void */ public function destroy() { diff --git a/typo3/sysext/core/Tests/Unit/Package/PackageManagerTest.php b/typo3/sysext/core/Tests/Unit/Package/PackageManagerTest.php index 426fe80b51bc..bcc9816cf6f6 100644 --- a/typo3/sysext/core/Tests/Unit/Package/PackageManagerTest.php +++ b/typo3/sysext/core/Tests/Unit/Package/PackageManagerTest.php @@ -22,7 +22,6 @@ use TYPO3\CMS\Core\Package\PackageManager; /** * Testcase for the default package manager - * */ class PackageManagerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { @@ -33,7 +32,6 @@ class PackageManagerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Sets up this test case - * */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/Package/PackageTest.php b/typo3/sysext/core/Tests/Unit/Package/PackageTest.php index c2073b1dddcd..3330e84282f8 100644 --- a/typo3/sysext/core/Tests/Unit/Package/PackageTest.php +++ b/typo3/sysext/core/Tests/Unit/Package/PackageTest.php @@ -19,7 +19,6 @@ use TYPO3\CMS\Core\Package\PackageManager; /** * Testcase for the package class - * */ class PackageTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { diff --git a/typo3/sysext/core/Tests/Unit/Resource/BaseTestCase.php b/typo3/sysext/core/Tests/Unit/Resource/BaseTestCase.php index dde31bcd845b..5d45e70b3c14 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/BaseTestCase.php +++ b/typo3/sysext/core/Tests/Unit/Resource/BaseTestCase.php @@ -61,7 +61,6 @@ abstract class BaseTestCase extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa * Adds the given directory structure to the mount folder in the VFS. Existing files will be overwritten! * * @param array $dirStructure - * @return void */ protected function addToMount(array $dirStructure) { @@ -83,7 +82,6 @@ abstract class BaseTestCase extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa * Adds the given directory structure to the VFS. Existing files will be overwritten! * * @param array $dirStructure - * @return void */ protected function addToVfs(array $dirStructure) { diff --git a/typo3/sysext/core/Tests/Unit/Resource/Driver/AbstractDriverTest.php b/typo3/sysext/core/Tests/Unit/Resource/Driver/AbstractDriverTest.php index af2ee506c787..c9b51de4d38a 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/Driver/AbstractDriverTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/Driver/AbstractDriverTest.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Tests\Unit\Resource\Driver; /** * Test case for the abstract driver. - * */ class AbstractDriverTest extends \TYPO3\CMS\Core\Tests\Unit\Resource\BaseTestCase { diff --git a/typo3/sysext/core/Tests/Unit/Resource/FileReferenceTest.php b/typo3/sysext/core/Tests/Unit/Resource/FileReferenceTest.php index 4fb1aa55d004..6e05de83ecf5 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/FileReferenceTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/FileReferenceTest.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Core\Tests\Unit\Resource; /** * Testcase for the file class of the TYPO3 FAL - * */ class FileReferenceTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { diff --git a/typo3/sysext/core/Tests/Unit/Tree/TableConfiguration/DatabaseTreeDataProviderTest.php b/typo3/sysext/core/Tests/Unit/Tree/TableConfiguration/DatabaseTreeDataProviderTest.php index 7abc46b88bb8..8d70724e5a48 100644 --- a/typo3/sysext/core/Tests/Unit/Tree/TableConfiguration/DatabaseTreeDataProviderTest.php +++ b/typo3/sysext/core/Tests/Unit/Tree/TableConfiguration/DatabaseTreeDataProviderTest.php @@ -48,8 +48,6 @@ class DatabaseTreeDataProviderTest extends \TYPO3\TestingFramework\Core\Unit\Uni /** * Set up - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/Parser/TypoScriptParserTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/Parser/TypoScriptParserTest.php index 34ef48cfef52..2e72196583a1 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/Parser/TypoScriptParserTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/Parser/TypoScriptParserTest.php @@ -28,8 +28,6 @@ class TypoScriptParserTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCas /** * Set up - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/core/Tests/Unit/ViewHelpers/IconForRecordViewHelperTest.php b/typo3/sysext/core/Tests/Unit/ViewHelpers/IconForRecordViewHelperTest.php index a18f93cc953a..ea061e3c7a09 100644 --- a/typo3/sysext/core/Tests/Unit/ViewHelpers/IconForRecordViewHelperTest.php +++ b/typo3/sysext/core/Tests/Unit/ViewHelpers/IconForRecordViewHelperTest.php @@ -56,7 +56,6 @@ class IconForRecordViewHelperTest extends ViewHelperBaseTestcase /** * @test - * @return void */ public function renderRendersIconByWayOfTheIconFactoryAccordingToGivenArguments() { diff --git a/typo3/sysext/cshmanual/Classes/Controller/HelpController.php b/typo3/sysext/cshmanual/Classes/Controller/HelpController.php index 14df7b7ccdae..3f0fb770d801 100644 --- a/typo3/sysext/cshmanual/Classes/Controller/HelpController.php +++ b/typo3/sysext/cshmanual/Classes/Controller/HelpController.php @@ -54,8 +54,6 @@ class HelpController extends ActionController /** * Initialize the controller - * - * @return void */ public function initializeAction() { @@ -66,7 +64,6 @@ class HelpController extends ActionController * Initialize the view * * @param ViewInterface $view The view - * @return void */ public function initializeView(ViewInterface $view) { @@ -78,8 +75,6 @@ class HelpController extends ActionController /** * Show table of contents - * - * @return void */ public function indexAction() { @@ -88,8 +83,6 @@ class HelpController extends ActionController /** * Show the table of contents and all manuals - * - * @return void */ public function allAction() { @@ -101,7 +94,6 @@ class HelpController extends ActionController * * @param string $table * @param string $field - * @return void */ public function detailAction($table = '', $field = '*') { diff --git a/typo3/sysext/cshmanual/Classes/Domain/Repository/TableManualRepository.php b/typo3/sysext/cshmanual/Classes/Domain/Repository/TableManualRepository.php index 695c8842baa1..2631f278be74 100644 --- a/typo3/sysext/cshmanual/Classes/Domain/Repository/TableManualRepository.php +++ b/typo3/sysext/cshmanual/Classes/Domain/Repository/TableManualRepository.php @@ -158,7 +158,6 @@ class TableManualRepository * @param array $outputSections Array for accumulation of rendered HELP Content (in "renderALL" mode). Passed by reference! * @param array $tocArray TOC array; Here TOC index elements are created. Passed by reference! * @param array $CSHkeys CSH keys array. Every item rendered will be unset in this array so finally we can see what CSH keys are not processed yet. Passed by reference! - * @return void */ protected function renderTableOfContentItem($mode, $table, $tocCat, &$outputSections, &$tocArray, &$CSHkeys) { diff --git a/typo3/sysext/css_styled_content/Classes/Controller/CssStyledContentController.php b/typo3/sysext/css_styled_content/Classes/Controller/CssStyledContentController.php index 744c1a65b336..c9665597a94e 100644 --- a/typo3/sysext/css_styled_content/Classes/Controller/CssStyledContentController.php +++ b/typo3/sysext/css_styled_content/Classes/Controller/CssStyledContentController.php @@ -826,7 +826,6 @@ class CssStyledContentController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlug * * @param int $fileUid The UID of the file or file reference (depending on $treatAsReference) that should be loaded. * @param bool $treatAsReference If TRUE the given UID will be used to load a file reference otherwise it will be used to load a regular file. - * @return void */ protected function initializeCurrentFileInContentObjectRenderer($fileUid, $treatAsReference) { @@ -956,7 +955,6 @@ class CssStyledContentController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlug * * @param string $selector The selector * @param string $declaration The declaration - * @return void */ protected function addPageStyle($selector, $declaration) { diff --git a/typo3/sysext/css_styled_content/Classes/ViewHelpers/Link/ClickEnlargeViewHelper.php b/typo3/sysext/css_styled_content/Classes/ViewHelpers/Link/ClickEnlargeViewHelper.php index 6baa6147dc92..de4384f0d1e1 100644 --- a/typo3/sysext/css_styled_content/Classes/ViewHelpers/Link/ClickEnlargeViewHelper.php +++ b/typo3/sysext/css_styled_content/Classes/ViewHelpers/Link/ClickEnlargeViewHelper.php @@ -44,8 +44,6 @@ class ClickEnlargeViewHelper extends AbstractViewHelper /** * Initialize ViewHelper arguments - * - * @return void */ public function initializeArguments() { diff --git a/typo3/sysext/documentation/Classes/Controller/DocumentController.php b/typo3/sysext/documentation/Classes/Controller/DocumentController.php index a0d84bf24235..e1492c7424b3 100644 --- a/typo3/sysext/documentation/Classes/Controller/DocumentController.php +++ b/typo3/sysext/documentation/Classes/Controller/DocumentController.php @@ -145,8 +145,6 @@ class DocumentController extends ActionController /** * Lists the available documents. - * - * @return void */ public function listAction() { @@ -207,8 +205,6 @@ class DocumentController extends ActionController /** * Shows documents to be downloaded/fetched from a remote location. - * - * @return void */ public function downloadAction() { @@ -233,7 +229,6 @@ class DocumentController extends ActionController * @param string $url * @param string $key * @param string $version - * @return void */ public function fetchAction($url, $key, $version = null) { diff --git a/typo3/sysext/documentation/Classes/Domain/Model/Document.php b/typo3/sysext/documentation/Classes/Domain/Model/Document.php index e2b5610c02d9..b391b0ba53d4 100644 --- a/typo3/sysext/documentation/Classes/Domain/Model/Document.php +++ b/typo3/sysext/documentation/Classes/Domain/Model/Document.php @@ -62,8 +62,6 @@ class Document extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * Initializes all ObjectStorage properties. - * - * @return void */ protected function initStorageObjects() { diff --git a/typo3/sysext/documentation/Classes/Domain/Model/DocumentTranslation.php b/typo3/sysext/documentation/Classes/Domain/Model/DocumentTranslation.php index a619f6456c83..4cbce5e68263 100644 --- a/typo3/sysext/documentation/Classes/Domain/Model/DocumentTranslation.php +++ b/typo3/sysext/documentation/Classes/Domain/Model/DocumentTranslation.php @@ -62,8 +62,6 @@ class DocumentTranslation extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * Initializes all ObjectStorage properties. - * - * @return void */ protected function initStorageObjects() { diff --git a/typo3/sysext/documentation/Classes/Slots/ExtensionManager.php b/typo3/sysext/documentation/Classes/Slots/ExtensionManager.php index 4d973c2e8aa2..eb7db48e6fab 100644 --- a/typo3/sysext/documentation/Classes/Slots/ExtensionManager.php +++ b/typo3/sysext/documentation/Classes/Slots/ExtensionManager.php @@ -50,7 +50,6 @@ class ExtensionManager * * @param array $extension * @param array $actions - * @return void */ public function processActions(array $extension, array &$actions) { diff --git a/typo3/sysext/extbase/Classes/Command/ExtbaseCommand.php b/typo3/sysext/extbase/Classes/Command/ExtbaseCommand.php index 34c000cb14f5..2f5e68ee0a78 100644 --- a/typo3/sysext/extbase/Classes/Command/ExtbaseCommand.php +++ b/typo3/sysext/extbase/Classes/Command/ExtbaseCommand.php @@ -70,7 +70,6 @@ class ExtbaseCommand extends Command * * @param InputInterface $input * @param OutputInterface $output - * @return void */ protected function execute(InputInterface $input, OutputInterface $output) { diff --git a/typo3/sysext/extbase/Classes/Command/HelpCommandController.php b/typo3/sysext/extbase/Classes/Command/HelpCommandController.php index 8886577a8412..fd6399d2d060 100644 --- a/typo3/sysext/extbase/Classes/Command/HelpCommandController.php +++ b/typo3/sysext/extbase/Classes/Command/HelpCommandController.php @@ -45,7 +45,6 @@ class HelpCommandController extends \TYPO3\CMS\Extbase\Mvc\Controller\CommandCon * This only outputs the Extbase version number, context and some hint about how to * get more help about commands. * - * @return void * @internal */ public function helpStubCommand() @@ -83,8 +82,6 @@ class HelpCommandController extends \TYPO3\CMS\Extbase\Mvc\Controller\CommandCon /** * Builds an index of all commands that are available - * - * @return void */ protected function displayHelpIndex() { @@ -114,7 +111,6 @@ class HelpCommandController extends \TYPO3\CMS\Extbase\Mvc\Controller\CommandCon * Render help text for a single command * * @param \TYPO3\CMS\Extbase\Mvc\Cli\Command $command - * @return void */ protected function displayHelpForCommand(\TYPO3\CMS\Extbase\Mvc\Cli\Command $command) { @@ -189,7 +185,6 @@ class HelpCommandController extends \TYPO3\CMS\Extbase\Mvc\Controller\CommandCon * * @internal * @param \TYPO3\CMS\Extbase\Mvc\Exception\CommandException $exception - * @return void */ public function errorCommand(\TYPO3\CMS\Extbase\Mvc\Exception\CommandException $exception) { @@ -208,8 +203,6 @@ class HelpCommandController extends \TYPO3\CMS\Extbase\Mvc\Controller\CommandCon /** * Builds an index of available commands. For each of them a Command object is * added to the commands array of this class. - * - * @return void */ protected function buildCommandsIndex() { diff --git a/typo3/sysext/extbase/Classes/Configuration/AbstractConfigurationManager.php b/typo3/sysext/extbase/Classes/Configuration/AbstractConfigurationManager.php index bd4a67d4b369..24095dcfd99c 100644 --- a/typo3/sysext/extbase/Classes/Configuration/AbstractConfigurationManager.php +++ b/typo3/sysext/extbase/Classes/Configuration/AbstractConfigurationManager.php @@ -98,7 +98,6 @@ abstract class AbstractConfigurationManager implements \TYPO3\CMS\Core\Singleton /** * @param \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer $contentObject - * @return void */ public function setContentObject(\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer $contentObject = null) { @@ -121,7 +120,6 @@ abstract class AbstractConfigurationManager implements \TYPO3\CMS\Core\Singleton * Note that this is a low level method and only makes sense to be used by Extbase internally. * * @param array $configuration The new configuration - * @return void */ public function setConfiguration(array $configuration = []) { @@ -236,7 +234,6 @@ abstract class AbstractConfigurationManager implements \TYPO3\CMS\Core\Singleton /** * @param array &$frameworkConfiguration * @param array $switchableControllerActions - * @return void */ protected function overrideSwitchableControllerActions(array &$frameworkConfiguration, array $switchableControllerActions) { diff --git a/typo3/sysext/extbase/Classes/Configuration/ConfigurationManager.php b/typo3/sysext/extbase/Classes/Configuration/ConfigurationManager.php index 45f5fb2c03b7..1eda328404a5 100644 --- a/typo3/sysext/extbase/Classes/Configuration/ConfigurationManager.php +++ b/typo3/sysext/extbase/Classes/Configuration/ConfigurationManager.php @@ -55,8 +55,6 @@ class ConfigurationManager implements \TYPO3\CMS\Extbase\Configuration\Configura /** * Initializes the object - * - * @return void */ public function initializeObject() { @@ -64,7 +62,6 @@ class ConfigurationManager implements \TYPO3\CMS\Extbase\Configuration\Configura } /** - * @return void */ protected function initializeConcreteConfigurationManager() { @@ -77,7 +74,6 @@ class ConfigurationManager implements \TYPO3\CMS\Extbase\Configuration\Configura /** * @param \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer $contentObject - * @return void */ public function setContentObject(\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer $contentObject = null) { @@ -97,7 +93,6 @@ class ConfigurationManager implements \TYPO3\CMS\Extbase\Configuration\Configura * Note that this is a low level method and only makes sense to be used by Extbase internally. * * @param array $configuration The new configuration - * @return void */ public function setConfiguration(array $configuration = []) { diff --git a/typo3/sysext/extbase/Classes/Configuration/ConfigurationManagerInterface.php b/typo3/sysext/extbase/Classes/Configuration/ConfigurationManagerInterface.php index 631c1e03270a..3dd4791c0f71 100644 --- a/typo3/sysext/extbase/Classes/Configuration/ConfigurationManagerInterface.php +++ b/typo3/sysext/extbase/Classes/Configuration/ConfigurationManagerInterface.php @@ -25,7 +25,6 @@ interface ConfigurationManagerInterface extends \TYPO3\CMS\Core\SingletonInterfa /** * @param \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer $contentObject - * @return void */ public function setContentObject(\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer $contentObject = null); @@ -55,7 +54,6 @@ interface ConfigurationManagerInterface extends \TYPO3\CMS\Core\SingletonInterfa * Note that this is a low level method and only makes sense to be used by Extbase internally. * * @param array $configuration The new configuration - * @return void */ public function setConfiguration(array $configuration = []); diff --git a/typo3/sysext/extbase/Classes/Core/Bootstrap.php b/typo3/sysext/extbase/Classes/Core/Bootstrap.php index 21b20f2eac20..39c84f587e31 100644 --- a/typo3/sysext/extbase/Classes/Core/Bootstrap.php +++ b/typo3/sysext/extbase/Classes/Core/Bootstrap.php @@ -70,7 +70,6 @@ class Bootstrap implements \TYPO3\CMS\Extbase\Core\BootstrapInterface * * @param array $configuration The TS configuration array * @throws \RuntimeException - * @return void * @see run() * @api */ @@ -95,7 +94,6 @@ class Bootstrap implements \TYPO3\CMS\Extbase\Core\BootstrapInterface /** * Initializes the Object framework. * - * @return void * @see initialize() */ protected function initializeObjectManager() @@ -107,7 +105,6 @@ class Bootstrap implements \TYPO3\CMS\Extbase\Core\BootstrapInterface * Initializes the Object framework. * * @param array $configuration - * @return void * @see initialize() */ public function initializeConfiguration($configuration) @@ -123,7 +120,6 @@ class Bootstrap implements \TYPO3\CMS\Extbase\Core\BootstrapInterface * Configures the object manager object configuration from * config.tx_extbase.objects and plugin.tx_foo.objects * - * @return void * @see initialize() */ public function configureObjectManager() @@ -144,7 +140,6 @@ class Bootstrap implements \TYPO3\CMS\Extbase\Core\BootstrapInterface /** * Initializes the cache framework * - * @return void * @see initialize() */ protected function initializeCache() @@ -155,7 +150,6 @@ class Bootstrap implements \TYPO3\CMS\Extbase\Core\BootstrapInterface /** * Initializes the Reflection Service * - * @return void * @see initialize() */ protected function initializeReflection() @@ -170,7 +164,6 @@ class Bootstrap implements \TYPO3\CMS\Extbase\Core\BootstrapInterface /** * Initializes the persistence framework * - * @return void * @see initialize() */ public function initializePersistence() @@ -224,8 +217,6 @@ class Bootstrap implements \TYPO3\CMS\Extbase\Core\BootstrapInterface /** * Resets global singletons for the next plugin - * - * @return void */ protected function resetSingletons() { diff --git a/typo3/sysext/extbase/Classes/Domain/Model/BackendUser.php b/typo3/sysext/extbase/Classes/Domain/Model/BackendUser.php index 065b763e1cfa..1ab70d9a44ea 100644 --- a/typo3/sysext/extbase/Classes/Domain/Model/BackendUser.php +++ b/typo3/sysext/extbase/Classes/Domain/Model/BackendUser.php @@ -86,7 +86,6 @@ class BackendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the user name. * * @param string $userName the user name to set, must not be empty - * @return void */ public function setUserName($userName) { @@ -123,7 +122,6 @@ class BackendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets whether this user should be an administrator. * * @param bool $isAdministrator whether this user should be an administrator - * @return void */ public function setIsAdministrator($isAdministrator) { @@ -144,7 +142,6 @@ class BackendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets whether this user is disabled. * * @param bool $isDisabled whether this user is disabled - * @return void */ public function setIsDisabled($isDisabled) { @@ -165,7 +162,6 @@ class BackendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the point in time from which this user is enabled. * * @param \DateTime|NULL $dateAndTime the start date and time - * @return void */ public function setStartDateAndTime(\DateTime $dateAndTime = null) { @@ -186,7 +182,6 @@ class BackendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the point in time before which this user is enabled. * * @param \DateTime|NULL $dateAndTime the end date and time - * @return void */ public function setEndDateAndTime(\DateTime $dateAndTime = null) { @@ -207,7 +202,6 @@ class BackendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the e-mail address of this user. * * @param string $email the e-mail address, may be empty - * @return void */ public function setEmail($email) { @@ -278,7 +272,6 @@ class BackendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets whether the IP lock for this user is disabled. * * @param bool $disableIpLock whether the IP lock for this user is disabled - * @return void */ public function setIpLockIsDisabled($disableIpLock) { @@ -309,7 +302,6 @@ class BackendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets this user's last login date and time. * * @param \DateTime|NULL $dateAndTime this user's last login date and time - * @return void */ public function setLastLoginDateAndTime(\DateTime $dateAndTime = null) { diff --git a/typo3/sysext/extbase/Classes/Domain/Model/BackendUserGroup.php b/typo3/sysext/extbase/Classes/Domain/Model/BackendUserGroup.php index ec2dcd6d0eb1..c9b676b34662 100644 --- a/typo3/sysext/extbase/Classes/Domain/Model/BackendUserGroup.php +++ b/typo3/sysext/extbase/Classes/Domain/Model/BackendUserGroup.php @@ -119,7 +119,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for title * * @param string $title - * @return void */ public function setTitle($title) { @@ -140,7 +139,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for description * * @param string $description - * @return void */ public function setDescription($description) { @@ -161,7 +159,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for the sub groups * * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $subGroups - * @return void */ public function setSubGroups(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $subGroups) { @@ -172,7 +169,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Adds a sub group to this backend user group * * @param \TYPO3\CMS\Extbase\Domain\Model\BackendUserGroup $beGroup - * @return void */ public function addSubGroup(\TYPO3\CMS\Extbase\Domain\Model\BackendUserGroup $beGroup) { @@ -183,7 +179,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Removes sub group from this backend user group * * @param \TYPO3\CMS\Extbase\Domain\Model\BackendUserGroup $groupToDelete - * @return void */ public function removeSubGroup(\TYPO3\CMS\Extbase\Domain\Model\BackendUserGroup $groupToDelete) { @@ -192,8 +187,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * Remove all sub groups from this backend user group - * - * @return void */ public function removeAllSubGroups() { @@ -215,7 +208,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for modules * * @param string $modules - * @return void */ public function setModules($modules) { @@ -236,7 +228,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for tables listening * * @param string $tablesListening - * @return void */ public function setTablesListening($tablesListening) { @@ -257,7 +248,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for tables modify * * @param string $tablesModify - * @return void */ public function setTablesModify($tablesModify) { @@ -278,7 +268,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for page types * * @param string $pageTypes - * @return void */ public function setPageTypes($pageTypes) { @@ -299,7 +288,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for allowed exclude fields * * @param string $allowedExcludeFields - * @return void */ public function setAllowedExcludeFields($allowedExcludeFields) { @@ -320,7 +308,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for explicitly allow and deny * * @param string $explicitlyAllowAndDeny - * @return void */ public function setExplicitlyAllowAndDeny($explicitlyAllowAndDeny) { @@ -341,7 +328,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for allowed languages * * @param string $allowedLanguages - * @return void */ public function setAllowedLanguages($allowedLanguages) { @@ -362,7 +348,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for workspace permission * * @param bool $workspacePermission - * @return void */ public function setWorkspacePermissions($workspacePermission) { @@ -383,7 +368,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for database mounts * * @param string $databaseMounts - * @return void */ public function setDatabaseMounts($databaseMounts) { @@ -404,7 +388,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Getter for file operation permissions * * @param int $fileOperationPermissions - * @return void */ public function setFileOperationPermissions($fileOperationPermissions) { @@ -436,7 +419,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set the the bit for file operations are allowed. * * @param bool $value - * @return void */ public function setFileOperationAllowed($value) { @@ -457,7 +439,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set the the bit for directory operations are allowed. * * @param bool $value - * @return void */ public function setDirectoryOperationAllowed($value) { @@ -478,7 +459,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set the the bit for copy directories. * * @param bool $value - * @return void */ public function setDirectoryCopyAllowed($value) { @@ -499,7 +479,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Set the the bit for remove directories recursively. * * @param bool $value - * @return void */ public function setDirectoryRemoveRecursivelyAllowed($value) { @@ -510,7 +489,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for lock to domain * * @param string $lockToDomain - * @return void */ public function setLockToDomain($lockToDomain) { @@ -531,7 +509,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for hide in list * * @param bool $hideInList - * @return void */ public function setHideInList($hideInList) { @@ -584,7 +561,6 @@ class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * * @param int $permission * @param bool $value - * @return void */ protected function setPermission($permission, $value) { diff --git a/typo3/sysext/extbase/Classes/Domain/Model/Category.php b/typo3/sysext/extbase/Classes/Domain/Model/Category.php index 0873e918da90..0aedd9b5a026 100644 --- a/typo3/sysext/extbase/Classes/Domain/Model/Category.php +++ b/typo3/sysext/extbase/Classes/Domain/Model/Category.php @@ -58,7 +58,6 @@ class Category extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the title. * * @param string $title the title to set, may be empty - * @return void * @api */ public function setTitle($title) @@ -81,7 +80,6 @@ class Category extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the description. * * @param string $description the description to set, may be empty - * @return void * @api */ public function setDescription($description) @@ -105,7 +103,6 @@ class Category extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the icon * * @param string $icon - * @return void * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 */ public function setIcon($icon) @@ -132,7 +129,6 @@ class Category extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the parent category. * * @param \TYPO3\CMS\Extbase\Domain\Model\Category $parent the parent category - * @return void * @api */ public function setParent(\TYPO3\CMS\Extbase\Domain\Model\Category $parent) diff --git a/typo3/sysext/extbase/Classes/Domain/Model/FileMount.php b/typo3/sysext/extbase/Classes/Domain/Model/FileMount.php index aa3e2884f55d..0ac47c06566a 100644 --- a/typo3/sysext/extbase/Classes/Domain/Model/FileMount.php +++ b/typo3/sysext/extbase/Classes/Domain/Model/FileMount.php @@ -76,7 +76,6 @@ class FileMount extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for the title of the file mount. * * @param string $value - * @return void */ public function setTitle($value) { @@ -97,7 +96,6 @@ class FileMount extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for the description of the file mount. * * @param string $description - * @return void */ public function setDescription($description) { @@ -118,7 +116,6 @@ class FileMount extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for the path of the file mount. * * @param string $value - * @return void */ public function setPath($value) { @@ -139,7 +136,6 @@ class FileMount extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for is absolute path of the file mount. * * @param bool $value - * @return void */ public function setIsAbsolutePath($value) { diff --git a/typo3/sysext/extbase/Classes/Domain/Model/FrontendUser.php b/typo3/sysext/extbase/Classes/Domain/Model/FrontendUser.php index 195b4c005e62..fdc3a614cc7f 100644 --- a/typo3/sysext/extbase/Classes/Domain/Model/FrontendUser.php +++ b/typo3/sysext/extbase/Classes/Domain/Model/FrontendUser.php @@ -139,7 +139,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the username value * * @param string $username - * @return void * @api */ public function setUsername($username) @@ -162,7 +161,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the password value * * @param string $password - * @return void * @api */ public function setPassword($password) @@ -186,7 +184,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * although it can hold several usergroups. * * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $usergroup - * @return void * @api */ public function setUsergroup(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $usergroup) @@ -198,7 +195,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Adds a usergroup to the frontend user * * @param \TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup $usergroup - * @return void * @api */ public function addUsergroup(\TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup $usergroup) @@ -210,7 +206,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Removes a usergroup from the frontend user * * @param \TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup $usergroup - * @return void * @api */ public function removeUsergroup(\TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup $usergroup) @@ -234,7 +229,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the name value * * @param string $name - * @return void * @api */ public function setName($name) @@ -257,7 +251,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the firstName value * * @param string $firstName - * @return void * @api */ public function setFirstName($firstName) @@ -280,7 +273,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the middleName value * * @param string $middleName - * @return void * @api */ public function setMiddleName($middleName) @@ -303,7 +295,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the lastName value * * @param string $lastName - * @return void * @api */ public function setLastName($lastName) @@ -326,7 +317,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the address value * * @param string $address - * @return void * @api */ public function setAddress($address) @@ -349,7 +339,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the telephone value * * @param string $telephone - * @return void * @api */ public function setTelephone($telephone) @@ -372,7 +361,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the fax value * * @param string $fax - * @return void * @api */ public function setFax($fax) @@ -395,7 +383,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the email value * * @param string $email - * @return void * @api */ public function setEmail($email) @@ -418,7 +405,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the lockToDomain value * * @param string $lockToDomain - * @return void * @api */ public function setLockToDomain($lockToDomain) @@ -441,7 +427,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the title value * * @param string $title - * @return void * @api */ public function setTitle($title) @@ -464,7 +449,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the zip value * * @param string $zip - * @return void * @api */ public function setZip($zip) @@ -487,7 +471,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the city value * * @param string $city - * @return void * @api */ public function setCity($city) @@ -510,7 +493,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the country value * * @param string $country - * @return void * @api */ public function setCountry($country) @@ -533,7 +515,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the www value * * @param string $www - * @return void * @api */ public function setWww($www) @@ -556,7 +537,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the company value * * @param string $company - * @return void * @api */ public function setCompany($company) @@ -601,7 +581,6 @@ class FrontendUser extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the lastlogin value * * @param \DateTime $lastlogin - * @return void * @api */ public function setLastlogin(\DateTime $lastlogin) diff --git a/typo3/sysext/extbase/Classes/Domain/Model/FrontendUserGroup.php b/typo3/sysext/extbase/Classes/Domain/Model/FrontendUserGroup.php index b3b77b46738b..5140042007ff 100644 --- a/typo3/sysext/extbase/Classes/Domain/Model/FrontendUserGroup.php +++ b/typo3/sysext/extbase/Classes/Domain/Model/FrontendUserGroup.php @@ -56,7 +56,6 @@ class FrontendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the title value * * @param string $title - * @return void * @api */ public function setTitle($title) @@ -79,7 +78,6 @@ class FrontendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the lockToDomain value * * @param string $lockToDomain - * @return void * @api */ public function setLockToDomain($lockToDomain) @@ -102,7 +100,6 @@ class FrontendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the description value * * @param string $description - * @return void * @api */ public function setDescription($description) @@ -126,7 +123,6 @@ class FrontendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * although it can hold several subgroups. * * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $subgroup An object storage containing the subgroups to add - * @return void * @api */ public function setSubgroup(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $subgroup) @@ -138,7 +134,6 @@ class FrontendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Adds a subgroup to the frontend user * * @param \TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup $subgroup - * @return void * @api */ public function addSubgroup(\TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup $subgroup) @@ -150,7 +145,6 @@ class FrontendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Removes a subgroup from the frontend user group * * @param \TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup $subgroup - * @return void * @api */ public function removeSubgroup(\TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup $subgroup) diff --git a/typo3/sysext/extbase/Classes/Domain/Repository/BackendUserGroupRepository.php b/typo3/sysext/extbase/Classes/Domain/Repository/BackendUserGroupRepository.php index 8dbaae429ee2..d84aa66fc6f5 100644 --- a/typo3/sysext/extbase/Classes/Domain/Repository/BackendUserGroupRepository.php +++ b/typo3/sysext/extbase/Classes/Domain/Repository/BackendUserGroupRepository.php @@ -23,8 +23,6 @@ class BackendUserGroupRepository extends \TYPO3\CMS\Extbase\Persistence\Reposito { /** * Initializes the repository. - * - * @return void */ public function initializeObject() { diff --git a/typo3/sysext/extbase/Classes/Domain/Repository/BackendUserRepository.php b/typo3/sysext/extbase/Classes/Domain/Repository/BackendUserRepository.php index 55cb1b2086fe..7b4556454066 100644 --- a/typo3/sysext/extbase/Classes/Domain/Repository/BackendUserRepository.php +++ b/typo3/sysext/extbase/Classes/Domain/Repository/BackendUserRepository.php @@ -23,8 +23,6 @@ class BackendUserRepository extends \TYPO3\CMS\Extbase\Persistence\Repository { /** * Initializes the repository. - * - * @return void */ public function initializeObject() { diff --git a/typo3/sysext/extbase/Classes/Domain/Repository/CategoryRepository.php b/typo3/sysext/extbase/Classes/Domain/Repository/CategoryRepository.php index 2647f0ade2d3..2ca871ad3a66 100644 --- a/typo3/sysext/extbase/Classes/Domain/Repository/CategoryRepository.php +++ b/typo3/sysext/extbase/Classes/Domain/Repository/CategoryRepository.php @@ -23,8 +23,6 @@ class CategoryRepository extends \TYPO3\CMS\Extbase\Persistence\Repository { /** * Initializes the repository. - * - * @return void */ public function initializeObject() { diff --git a/typo3/sysext/extbase/Classes/Domain/Repository/FileMountRepository.php b/typo3/sysext/extbase/Classes/Domain/Repository/FileMountRepository.php index 2e9b8db76971..a9f8155f1dff 100644 --- a/typo3/sysext/extbase/Classes/Domain/Repository/FileMountRepository.php +++ b/typo3/sysext/extbase/Classes/Domain/Repository/FileMountRepository.php @@ -23,8 +23,6 @@ class FileMountRepository extends \TYPO3\CMS\Extbase\Persistence\Repository { /** * Initializes the repository. - * - * @return void */ public function initializeObject() { diff --git a/typo3/sysext/extbase/Classes/DomainObject/AbstractDomainObject.php b/typo3/sysext/extbase/Classes/DomainObject/AbstractDomainObject.php index 18997adce5e5..e25cd56fd69b 100644 --- a/typo3/sysext/extbase/Classes/DomainObject/AbstractDomainObject.php +++ b/typo3/sysext/extbase/Classes/DomainObject/AbstractDomainObject.php @@ -76,7 +76,6 @@ abstract class AbstractDomainObject implements DomainObjectInterface, \TYPO3\CMS * Setter for the pid. * * @param int|NULL $pid - * @return void */ public function setPid($pid) { @@ -170,7 +169,6 @@ abstract class AbstractDomainObject implements DomainObjectInterface, \TYPO3\CMS * from the database. * * @param string $propertyName The name of the property to be memorized. If omitted all persistable properties are memorized. - * @return void */ public function _memorizeCleanState($propertyName = null) { @@ -194,7 +192,6 @@ abstract class AbstractDomainObject implements DomainObjectInterface, \TYPO3\CMS * from the database. * * @param string $propertyName The name of the property to be memorized. If omittet all persistable properties are memorized. - * @return void */ public function _memorizePropertyCleanState($propertyName) { @@ -315,8 +312,6 @@ abstract class AbstractDomainObject implements DomainObjectInterface, \TYPO3\CMS /** * Clone method. Sets the _isClone property. - * - * @return void */ public function __clone() { diff --git a/typo3/sysext/extbase/Classes/DomainObject/DomainObjectInterface.php b/typo3/sysext/extbase/Classes/DomainObject/DomainObjectInterface.php index 9708f0df809c..d5e0c611fed3 100644 --- a/typo3/sysext/extbase/Classes/DomainObject/DomainObjectInterface.php +++ b/typo3/sysext/extbase/Classes/DomainObject/DomainObjectInterface.php @@ -35,7 +35,6 @@ interface DomainObjectInterface * Setter for the pid. * * @param int $pid - * @return void */ public function setPid($pid); @@ -58,7 +57,6 @@ interface DomainObjectInterface * * @param string $propertyName * @param string $value - * @return void */ public function _setProperty($propertyName, $value); diff --git a/typo3/sysext/extbase/Classes/Error/Result.php b/typo3/sysext/extbase/Classes/Error/Result.php index e4f4cdf9e323..df5ee68a109a 100644 --- a/typo3/sysext/extbase/Classes/Error/Result.php +++ b/typo3/sysext/extbase/Classes/Error/Result.php @@ -78,7 +78,6 @@ class Result * cached error states upwards * * @param Result $parent - * @return void */ public function setParent(Result $parent) { @@ -100,7 +99,6 @@ class Result * Add an error to the current Result object * * @param \TYPO3\CMS\Extbase\Error\Error $error - * @return void * @api */ public function addError(\TYPO3\CMS\Extbase\Error\Error $error) @@ -113,7 +111,6 @@ class Result * Add a warning to the current Result object * * @param \TYPO3\CMS\Extbase\Error\Warning $warning - * @return void * @api */ public function addWarning(\TYPO3\CMS\Extbase\Error\Warning $warning) @@ -126,7 +123,6 @@ class Result * Add a notice to the current Result object * * @param \TYPO3\CMS\Extbase\Error\Notice $notice - * @return void * @api */ public function addNotice(\TYPO3\CMS\Extbase\Error\Notice $notice) @@ -254,8 +250,6 @@ class Result /** * Sets the error cache to TRUE and propagates the information * upwards the Result-Object Tree - * - * @return void */ protected function setErrorsExist() { @@ -268,8 +262,6 @@ class Result /** * Sets the warning cache to TRUE and propagates the information * upwards the Result-Object Tree - * - * @return void */ protected function setWarningsExist() { @@ -282,8 +274,6 @@ class Result /** * Sets the notices cache to TRUE and propagates the information * upwards the Result-Object Tree - * - * @return void */ protected function setNoticesExist() { @@ -305,8 +295,6 @@ class Result /** * Clears the result - * - * @return void */ public function clear() { @@ -427,7 +415,6 @@ class Result * @param string $propertyName * @param array $result * @param array $level - * @return void */ public function flattenTree($propertyName, &$result, $level) { @@ -445,7 +432,6 @@ class Result * Merge the given Result object into this one. * * @param \TYPO3\CMS\Extbase\Error\Result $otherResult - * @return void * @api */ public function merge(Result $otherResult) @@ -477,7 +463,6 @@ class Result * @param \TYPO3\CMS\Extbase\Error\Result $otherResult * @param string $getterName * @param string $adderName - * @return void */ protected function mergeProperty(Result $otherResult, $getterName, $adderName) { diff --git a/typo3/sysext/extbase/Classes/Hook/DataHandler/CheckFlexFormValue.php b/typo3/sysext/extbase/Classes/Hook/DataHandler/CheckFlexFormValue.php index 5dec27032fa5..c496fff9e6a6 100644 --- a/typo3/sysext/extbase/Classes/Hook/DataHandler/CheckFlexFormValue.php +++ b/typo3/sysext/extbase/Classes/Hook/DataHandler/CheckFlexFormValue.php @@ -35,7 +35,6 @@ class CheckFlexFormValue * @param DataHandler $dataHander * @param array &$currentValue * @param array &$newValue - * @return void */ public function checkFlexFormValue_beforeMerge(DataHandler $dataHander, array &$currentValue, array &$newValue) { diff --git a/typo3/sysext/extbase/Classes/Mvc/Cli/ConsoleOutput.php b/typo3/sysext/extbase/Classes/Mvc/Cli/ConsoleOutput.php index 7174d8824aa7..9966c7c261e7 100644 --- a/typo3/sysext/extbase/Classes/Mvc/Cli/ConsoleOutput.php +++ b/typo3/sysext/extbase/Classes/Mvc/Cli/ConsoleOutput.php @@ -58,8 +58,6 @@ class ConsoleOutput /** * Creates and initializes the Symfony I/O instances - * - * @return void */ public function __construct() { @@ -88,7 +86,6 @@ class ConsoleOutput * * @param string $text Text to output * @param array $arguments Optional arguments to use for sprintf - * @return void */ public function output($text, array $arguments = []) { @@ -103,7 +100,6 @@ class ConsoleOutput * * @param string $text Text to output * @param array $arguments Optional arguments to use for sprintf - * @return void * @see output() * @see outputLines() */ @@ -119,7 +115,6 @@ class ConsoleOutput * @param string $text Text to output * @param array $arguments Optional arguments to use for sprintf * @param int $leftPadding The number of spaces to use for indentation - * @return void * @see outputLine() */ public function outputFormatted($text = '', array $arguments = [], $leftPadding = 0) @@ -273,7 +268,6 @@ class ConsoleOutput * Starts the progress output * * @param int $max Maximum steps. If NULL an indeterminate progress bar is rendered - * @return void */ public function progressStart($max = null) { @@ -284,7 +278,6 @@ class ConsoleOutput * Advances the progress output X steps * * @param int $step Number of steps to advance - * @return void * @throws \LogicException */ public function progressAdvance($step = 1) @@ -296,7 +289,6 @@ class ConsoleOutput * Sets the current progress * * @param int $current The current progress - * @return void * @throws \LogicException */ public function progressSet($current) @@ -306,8 +298,6 @@ class ConsoleOutput /** * Finishes the progress output - * - * @return void */ public function progressFinish() { diff --git a/typo3/sysext/extbase/Classes/Mvc/Cli/Request.php b/typo3/sysext/extbase/Classes/Mvc/Cli/Request.php index b1a14d3d5c86..b401ff6cc332 100644 --- a/typo3/sysext/extbase/Classes/Mvc/Cli/Request.php +++ b/typo3/sysext/extbase/Classes/Mvc/Cli/Request.php @@ -104,7 +104,6 @@ class Request implements \TYPO3\CMS\Extbase\Mvc\RequestInterface * Sets the dispatched flag * * @param bool $flag If this request has been dispatched - * @return void */ public function setDispatched($flag) { @@ -129,7 +128,6 @@ class Request implements \TYPO3\CMS\Extbase\Mvc\RequestInterface * Sets the object name of the controller * * @param string $controllerObjectName The fully qualified controller object name - * @return void */ public function setControllerObjectName($controllerObjectName) { @@ -166,7 +164,6 @@ class Request implements \TYPO3\CMS\Extbase\Mvc\RequestInterface * Note that the command name must start with a lower case letter and is case sensitive. * * @param string $commandName Name of the command to execute by the controller - * @return void */ public function setControllerCommandName($commandName) { @@ -203,7 +200,6 @@ class Request implements \TYPO3\CMS\Extbase\Mvc\RequestInterface * @param string $argumentName Name of the argument to set * @param mixed $value The new value * @throws \TYPO3\CMS\Extbase\Mvc\Exception\InvalidArgumentNameException - * @return void */ public function setArgument($argumentName, $value) { @@ -218,7 +214,6 @@ class Request implements \TYPO3\CMS\Extbase\Mvc\RequestInterface * which existed before. * * @param array $arguments An array of argument names and their values - * @return void */ public function setArguments(array $arguments) { @@ -265,7 +260,6 @@ class Request implements \TYPO3\CMS\Extbase\Mvc\RequestInterface * Sets the exceeding arguments * * @param array $exceedingArguments Numeric array of exceeding arguments - * @return void */ public function setExceedingArguments(array $exceedingArguments) { diff --git a/typo3/sysext/extbase/Classes/Mvc/Cli/Response.php b/typo3/sysext/extbase/Classes/Mvc/Cli/Response.php index 1fa1906e0339..1254b1f9b23b 100644 --- a/typo3/sysext/extbase/Classes/Mvc/Cli/Response.php +++ b/typo3/sysext/extbase/Classes/Mvc/Cli/Response.php @@ -31,7 +31,6 @@ class Response extends \TYPO3\CMS\Extbase\Mvc\Response * * @param int $exitCode * @throws \InvalidArgumentException - * @return void * @api */ public function setExitCode($exitCode) @@ -56,7 +55,6 @@ class Response extends \TYPO3\CMS\Extbase\Mvc\Response /** * Renders and sends the whole web response * - * @return void * @api */ public function send() diff --git a/typo3/sysext/extbase/Classes/Mvc/Controller/AbstractController.php b/typo3/sysext/extbase/Classes/Mvc/Controller/AbstractController.php index b28405527ecd..79868394f215 100644 --- a/typo3/sysext/extbase/Classes/Mvc/Controller/AbstractController.php +++ b/typo3/sysext/extbase/Classes/Mvc/Controller/AbstractController.php @@ -146,7 +146,6 @@ abstract class AbstractController implements ControllerInterface /** * @param ConfigurationManagerInterface $configurationManager - * @return void */ public function injectConfigurationManager(ConfigurationManagerInterface $configurationManager) { @@ -158,7 +157,6 @@ abstract class AbstractController implements ControllerInterface * Injects the object manager * * @param \TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager - * @return void */ public function injectObjectManager(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager) { @@ -173,7 +171,6 @@ abstract class AbstractController implements ControllerInterface * @param string $messageTitle Optional message title * @param int $severity Optional severity, must be one of \TYPO3\CMS\Core\Messaging\FlashMessage constants * @param bool $storeInSession Optional, defines whether the message should be stored in the session (default) or not - * @return void * @throws \InvalidArgumentException if the message body is no string * @see \TYPO3\CMS\Core\Messaging\FlashMessage * @api @@ -216,7 +213,6 @@ abstract class AbstractController implements ControllerInterface * * @param \TYPO3\CMS\Extbase\Mvc\RequestInterface $request The request object * @param \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response The response, modified by this handler - * @return void * @throws UnsupportedRequestTypeException if the controller doesn't support the current request type * @api */ @@ -268,7 +264,6 @@ abstract class AbstractController implements ControllerInterface * @param string $controllerName Unqualified object name of the controller to forward to. If not specified, the current controller is used. * @param string $extensionName Name of the extension containing the controller to forward to. If not specified, the current extension is assumed. * @param array $arguments Arguments to pass to the target action - * @return void * @throws StopActionException * @see redirect() * @api @@ -306,7 +301,6 @@ abstract class AbstractController implements ControllerInterface * @param int $pageUid Target page uid. If NULL, the current page uid is used * @param int $delay (optional) The delay in seconds. Default is no delay. * @param int $statusCode (optional) The HTTP status code for the redirect. Default is "303 See Other - * @return void * @throws UnsupportedRequestTypeException If the request is not a web request * @throws StopActionException * @see forward() @@ -399,8 +393,6 @@ abstract class AbstractController implements ControllerInterface /** * Collects the base validators which were defined for the data type of each * controller argument and adds them to the argument's validator chain. - * - * @return void */ public function initializeControllerArgumentsBaseValidators() { @@ -417,7 +409,6 @@ abstract class AbstractController implements ControllerInterface * Maps arguments delivered by the request object to the local controller arguments. * * @throws Exception\RequiredArgumentMissingException - * @return void */ protected function mapRequestArgumentsToControllerArguments() { diff --git a/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php b/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php index 07401efb7ac7..a3ff0745b133 100644 --- a/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php +++ b/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php @@ -143,7 +143,6 @@ class ActionController extends AbstractController * @param \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response The response, modified by this handler * * @throws \TYPO3\CMS\Extbase\Mvc\Exception\UnsupportedRequestTypeException - * @return void */ public function processRequest(\TYPO3\CMS\Extbase\Mvc\RequestInterface $request, \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response) { @@ -192,7 +191,6 @@ class ActionController extends AbstractController * for example you do this in a plugin that gets used multiple time on a page. * * @param \TYPO3\CMS\Extbase\Mvc\RequestInterface $request - * @return void */ protected function renderAssetsForRequest($request) { @@ -222,7 +220,6 @@ class ActionController extends AbstractController * Don't override this method - use initializeAction() instead. * * @throws \TYPO3\CMS\Extbase\Mvc\Exception\InvalidArgumentTypeException - * @return void * @see initializeArguments() */ protected function initializeActionMethodArguments() @@ -250,8 +247,6 @@ class ActionController extends AbstractController * - Custom validators specified with validate annotations. * - Model-based validators (validate annotations in the model) * - Custom model validator classes - * - * @return void */ protected function initializeActionMethodValidators() { @@ -306,7 +301,6 @@ class ActionController extends AbstractController * response object. If the action doesn't return anything and a valid * view exists, the view is rendered automatically. * - * @return void * @api */ protected function callActionMethod() @@ -410,8 +404,6 @@ class ActionController extends AbstractController /** * @param ViewInterface $view - * - * @return void */ protected function setViewConfiguration(ViewInterface $view) { @@ -524,7 +516,6 @@ class ActionController extends AbstractController * * @param ViewInterface $view The view to be initialized * - * @return void * @api */ protected function initializeView(ViewInterface $view) @@ -537,7 +528,6 @@ class ActionController extends AbstractController * Override this method to solve tasks which all actions have in * common. * - * @return void * @api */ protected function initializeAction() @@ -569,8 +559,6 @@ class ActionController extends AbstractController /** * Clear cache of current page on error. Needed because we want a re-evaluation of the data. * Better would be just do delete the cache for the error action, but that is not possible right now. - * - * @return void */ protected function clearCacheOnError() { @@ -586,8 +574,6 @@ class ActionController extends AbstractController /** * If an error occurred during this request, this adds a flash message describing the error to the flash * message container. - * - * @return void */ protected function addErrorFlashMessage() { @@ -615,7 +601,6 @@ class ActionController extends AbstractController * to the originating request. This effectively ends processing of the current request, so do not * call this method before you have finished the necessary business logic! * - * @return void * @throws StopActionException */ protected function forwardToReferringRequest() diff --git a/typo3/sysext/extbase/Classes/Mvc/Controller/Arguments.php b/typo3/sysext/extbase/Classes/Mvc/Controller/Arguments.php index d8838785b9b5..c70dc455ce75 100644 --- a/typo3/sysext/extbase/Classes/Mvc/Controller/Arguments.php +++ b/typo3/sysext/extbase/Classes/Mvc/Controller/Arguments.php @@ -57,7 +57,6 @@ class Arguments extends \ArrayObject * @param mixed $offset Offset - not used here * @param mixed $value The argument * @throws \InvalidArgumentException if the argument is not a valid Controller Argument object - * @return void */ public function offsetSet($offset, $value) { @@ -74,7 +73,6 @@ class Arguments extends \ArrayObject * * @param mixed $value The value * @throws \InvalidArgumentException if the argument is not a valid Controller Argument object - * @return void */ public function append($value) { @@ -88,7 +86,6 @@ class Arguments extends \ArrayObject * Unsets an argument * * @param mixed $offset Offset - * @return void */ public function offsetUnset($offset) { @@ -157,7 +154,6 @@ class Arguments extends \ArrayObject * Note that the argument will be cloned, not referenced. * * @param Argument $argument The argument to add - * @return void */ public function addArgument(Argument $argument) { @@ -223,7 +219,6 @@ class Arguments extends \ArrayObject * @param string $methodName Name of the method * @param array $arguments Method arguments * @throws \LogicException - * @return void */ public function __call($methodName, array $arguments) { @@ -267,8 +262,6 @@ class Arguments extends \ArrayObject /** * Remove all arguments and resets this object - * - * @return void */ public function removeAll() { diff --git a/typo3/sysext/extbase/Classes/Mvc/Controller/CommandController.php b/typo3/sysext/extbase/Classes/Mvc/Controller/CommandController.php index 4c286f8d7c8d..007ecb7ee609 100644 --- a/typo3/sysext/extbase/Classes/Mvc/Controller/CommandController.php +++ b/typo3/sysext/extbase/Classes/Mvc/Controller/CommandController.php @@ -83,7 +83,6 @@ class CommandController implements CommandControllerInterface /** * @param \TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager - * @return void */ public function injectObjectManager(ObjectManagerInterface $objectManager) { @@ -114,7 +113,6 @@ class CommandController implements CommandControllerInterface * * @param RequestInterface $request The request object * @param ResponseInterface $response The response, modified by this handler - * @return void * @throws UnsupportedRequestTypeException if the controller doesn't support the current request type * @api */ @@ -160,7 +158,6 @@ class CommandController implements CommandControllerInterface * method arguments found in the designated command method. * * @throws \TYPO3\CMS\Extbase\Mvc\Exception\InvalidArgumentTypeException - * @return void * @throws InvalidArgumentTypeException */ protected function initializeCommandMethodArguments() @@ -184,8 +181,6 @@ class CommandController implements CommandControllerInterface /** * Maps arguments delivered by the request object to the local controller arguments. - * - * @return void */ protected function mapRequestArgumentsToControllerArguments() { @@ -217,7 +212,6 @@ class CommandController implements CommandControllerInterface * @param string $commandName * @param string $controllerObjectName * @param array $arguments - * @return void * @throws StopActionException */ protected function forward($commandName, $controllerObjectName = null, array $arguments = []) @@ -239,8 +233,6 @@ class CommandController implements CommandControllerInterface * If the command returns a string, it is appended to the content in the * response object. If the command doesn't return anything and a valid * view exists, the view is rendered automatically. - * - * @return void */ protected function callCommandMethod() { @@ -301,7 +293,6 @@ class CommandController implements CommandControllerInterface * @see http://www.php.net/sprintf * @param string $text Text to output * @param array $arguments Optional arguments to use for sprintf - * @return void */ protected function output($text, array $arguments = []) { @@ -313,7 +304,6 @@ class CommandController implements CommandControllerInterface * * @param string $text Text to output * @param array $arguments Optional arguments to use for sprintf - * @return void * @see output() */ protected function outputLine($text = '', array $arguments = []) @@ -328,7 +318,6 @@ class CommandController implements CommandControllerInterface * @param string $text Text to output * @param array $arguments Optional arguments to use for sprintf * @param int $leftPadding The number of spaces to use for indentation - * @return void * @see outputLine() */ protected function outputFormatted($text = '', array $arguments = [], $leftPadding = 0) @@ -342,7 +331,6 @@ class CommandController implements CommandControllerInterface * * @param int $exitCode Exit code to return on exit * @throws StopActionException - * @return void */ protected function quit($exitCode = 0) { @@ -355,7 +343,6 @@ class CommandController implements CommandControllerInterface * Should be used for commands that flush code caches. * * @param int $exitCode Exit code to return on exit - * @return void */ protected function sendAndExit($exitCode = 0) { diff --git a/typo3/sysext/extbase/Classes/Mvc/Controller/ControllerContext.php b/typo3/sysext/extbase/Classes/Mvc/Controller/ControllerContext.php index 96f28bb40475..cd3f96c2df1d 100644 --- a/typo3/sysext/extbase/Classes/Mvc/Controller/ControllerContext.php +++ b/typo3/sysext/extbase/Classes/Mvc/Controller/ControllerContext.php @@ -77,7 +77,6 @@ class ControllerContext * Set the request of the controller * * @param \TYPO3\CMS\Extbase\Mvc\Request $request - * @return void */ public function setRequest(\TYPO3\CMS\Extbase\Mvc\Request $request) { @@ -99,7 +98,6 @@ class ControllerContext * Set the response of the controller * * @param \TYPO3\CMS\Extbase\Mvc\Response $response - * @return void */ public function setResponse(\TYPO3\CMS\Extbase\Mvc\Response $response) { @@ -121,7 +119,6 @@ class ControllerContext * Set the arguments of the controller * * @param \TYPO3\CMS\Extbase\Mvc\Controller\Arguments $arguments - * @return void */ public function setArguments(\TYPO3\CMS\Extbase\Mvc\Controller\Arguments $arguments) { @@ -141,7 +138,6 @@ class ControllerContext /** * @param \TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder $uriBuilder - * @return void */ public function setUriBuilder(\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder $uriBuilder) { diff --git a/typo3/sysext/extbase/Classes/Mvc/Controller/ControllerInterface.php b/typo3/sysext/extbase/Classes/Mvc/Controller/ControllerInterface.php index 913bb0d4ca36..6a6a0e2a146f 100644 --- a/typo3/sysext/extbase/Classes/Mvc/Controller/ControllerInterface.php +++ b/typo3/sysext/extbase/Classes/Mvc/Controller/ControllerInterface.php @@ -35,7 +35,6 @@ interface ControllerInterface * * @param \TYPO3\CMS\Extbase\Mvc\RequestInterface $request The request object * @param \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response The response, modified by the controller - * @return void * @throws \TYPO3\CMS\Extbase\Mvc\Exception\UnsupportedRequestTypeException if the controller doesn't support the current request type * @api */ diff --git a/typo3/sysext/extbase/Classes/Mvc/Controller/MvcPropertyMappingConfiguration.php b/typo3/sysext/extbase/Classes/Mvc/Controller/MvcPropertyMappingConfiguration.php index 209638b6c864..9af9cd3e38af 100644 --- a/typo3/sysext/extbase/Classes/Mvc/Controller/MvcPropertyMappingConfiguration.php +++ b/typo3/sysext/extbase/Classes/Mvc/Controller/MvcPropertyMappingConfiguration.php @@ -33,7 +33,6 @@ class MvcPropertyMappingConfiguration extends \TYPO3\CMS\Extbase\Property\Proper * Allow creation of a certain sub property * * @param string $propertyPath - * @return void * @api */ public function allowCreationForSubProperty($propertyPath) @@ -45,7 +44,6 @@ class MvcPropertyMappingConfiguration extends \TYPO3\CMS\Extbase\Property\Proper * Allow modification for a given property path * * @param string $propertyPath - * @return void * @api */ public function allowModificationForSubProperty($propertyPath) @@ -60,7 +58,6 @@ class MvcPropertyMappingConfiguration extends \TYPO3\CMS\Extbase\Property\Proper * * @param string $propertyPath * @param string $targetType - * @return void * @api */ public function setTargetTypeForSubProperty($propertyPath, $targetType) diff --git a/typo3/sysext/extbase/Classes/Mvc/Controller/MvcPropertyMappingConfigurationService.php b/typo3/sysext/extbase/Classes/Mvc/Controller/MvcPropertyMappingConfigurationService.php index d7fec78a896c..9d2f52c21bbe 100644 --- a/typo3/sysext/extbase/Classes/Mvc/Controller/MvcPropertyMappingConfigurationService.php +++ b/typo3/sysext/extbase/Classes/Mvc/Controller/MvcPropertyMappingConfigurationService.php @@ -115,8 +115,6 @@ class MvcPropertyMappingConfigurationService implements \TYPO3\CMS\Core\Singleto * * @param \TYPO3\CMS\Extbase\Mvc\Request $request * @param \TYPO3\CMS\Extbase\Mvc\Controller\Arguments $controllerArguments - * - * @return void */ public function initializePropertyMappingConfigurationFromRequest(\TYPO3\CMS\Extbase\Mvc\Request $request, \TYPO3\CMS\Extbase\Mvc\Controller\Arguments $controllerArguments) { @@ -145,8 +143,6 @@ class MvcPropertyMappingConfigurationService implements \TYPO3\CMS\Core\Singleto * * @param array $propertyConfiguration * @param \TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration $propertyMappingConfiguration - * - * @return void */ protected function modifyPropertyMappingConfiguration($propertyConfiguration, \TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration $propertyMappingConfiguration) { diff --git a/typo3/sysext/extbase/Classes/Mvc/Dispatcher.php b/typo3/sysext/extbase/Classes/Mvc/Dispatcher.php index f4d0a905152e..c02e80ea1254 100644 --- a/typo3/sysext/extbase/Classes/Mvc/Dispatcher.php +++ b/typo3/sysext/extbase/Classes/Mvc/Dispatcher.php @@ -72,7 +72,6 @@ class Dispatcher implements \TYPO3\CMS\Core\SingletonInterface * @param \TYPO3\CMS\Extbase\Mvc\RequestInterface $request The request to dispatch * @param \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response The response, to be modified by the controller * @throws Exception\InfiniteLoopException - * @return void */ public function dispatch(\TYPO3\CMS\Extbase\Mvc\RequestInterface $request, \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response) { diff --git a/typo3/sysext/extbase/Classes/Mvc/Request.php b/typo3/sysext/extbase/Classes/Mvc/Request.php index a14ad939ceb7..9d9dad9c4ffa 100644 --- a/typo3/sysext/extbase/Classes/Mvc/Request.php +++ b/typo3/sysext/extbase/Classes/Mvc/Request.php @@ -114,7 +114,6 @@ class Request implements RequestInterface * Sets the dispatched flag * * @param bool $flag If this request has been dispatched - * @return void * @api */ public function setDispatched($flag) @@ -194,8 +193,6 @@ class Request implements RequestInterface * Explicitly sets the object name of the controller * * @param string $controllerObjectName The fully qualified controller object name - * - * @return void */ public function setControllerObjectName($controllerObjectName) { @@ -210,8 +207,6 @@ class Request implements RequestInterface * Sets the plugin name. * * @param string|NULL $pluginName - * - * @return void */ public function setPluginName($pluginName = null) { @@ -236,7 +231,6 @@ class Request implements RequestInterface * * @param string $controllerExtensionName The extension name. * - * @return void * @throws \TYPO3\CMS\Extbase\Mvc\Exception\InvalidExtensionNameException if the extension name is not valid */ public function setControllerExtensionName($controllerExtensionName) @@ -272,8 +266,6 @@ class Request implements RequestInterface * Sets the subpackage key of the controller. * * @param string $subpackageKey The subpackage key. - * - * @return void */ public function setControllerSubpackageKey($subpackageKey) { @@ -298,7 +290,6 @@ class Request implements RequestInterface * @param string $controllerName Name of the controller * * @throws Exception\InvalidControllerNameException - * @return void */ public function setControllerName($controllerName) { @@ -332,7 +323,6 @@ class Request implements RequestInterface * * @param string $actionName Name of the action to execute by the controller * - * @return void * @throws \TYPO3\CMS\Extbase\Mvc\Exception\InvalidActionNameException if the action name is not valid */ public function setControllerActionName($actionName) @@ -379,7 +369,6 @@ class Request implements RequestInterface * @param mixed $value The new value * * @throws Exception\InvalidArgumentNameException - * @return void */ public function setArgument($argumentName, $value) { @@ -399,8 +388,6 @@ class Request implements RequestInterface * sets the VendorName * * @param string $vendorName - * - * @return void */ public function setControllerVendorName($vendorName) { @@ -422,8 +409,6 @@ class Request implements RequestInterface * which existed before. * * @param array $arguments An array of argument names and their values - * - * @return void */ public function setArguments(array $arguments) { @@ -478,8 +463,6 @@ class Request implements RequestInterface * Sets the requested representation format * * @param string $format The desired format, something like "html", "xml", "png", "json" or the like. Can even be something like "rss.xml". - * - * @return void */ public function setFormat($format) { @@ -509,8 +492,6 @@ class Request implements RequestInterface /** * @param \TYPO3\CMS\Extbase\Mvc\Request $originalRequest - * - * @return void */ public function setOriginalRequest(\TYPO3\CMS\Extbase\Mvc\Request $originalRequest) { diff --git a/typo3/sysext/extbase/Classes/Mvc/RequestInterface.php b/typo3/sysext/extbase/Classes/Mvc/RequestInterface.php index 2225e977e6af..4a7e531a86fb 100644 --- a/typo3/sysext/extbase/Classes/Mvc/RequestInterface.php +++ b/typo3/sysext/extbase/Classes/Mvc/RequestInterface.php @@ -25,7 +25,6 @@ interface RequestInterface * Sets the dispatched flag * * @param bool $flag If this request has been dispatched - * @return void * @api */ public function setDispatched($flag); @@ -57,7 +56,6 @@ interface RequestInterface * * @param string $argumentName Name of the argument to set * @param mixed $value The new value - * @return void * @api */ public function setArgument($argumentName, $value); @@ -67,7 +65,6 @@ interface RequestInterface * which existed before. * * @param array $arguments An array of argument names and their values - * @return void * @api */ public function setArguments(array $arguments); diff --git a/typo3/sysext/extbase/Classes/Mvc/Response.php b/typo3/sysext/extbase/Classes/Mvc/Response.php index 1d46f84f7ce1..aff3bdc60dfb 100644 --- a/typo3/sysext/extbase/Classes/Mvc/Response.php +++ b/typo3/sysext/extbase/Classes/Mvc/Response.php @@ -30,7 +30,6 @@ class Response implements \TYPO3\CMS\Extbase\Mvc\ResponseInterface * Overrides and sets the content of the response * * @param string $content The response content - * @return void * @api */ public function setContent($content) @@ -42,7 +41,6 @@ class Response implements \TYPO3\CMS\Extbase\Mvc\ResponseInterface * Appends content to the already existing content. * * @param string $content More response content - * @return void * @api */ public function appendContent($content) diff --git a/typo3/sysext/extbase/Classes/Mvc/ResponseInterface.php b/typo3/sysext/extbase/Classes/Mvc/ResponseInterface.php index c3421359f0fb..adc2eea6e521 100644 --- a/typo3/sysext/extbase/Classes/Mvc/ResponseInterface.php +++ b/typo3/sysext/extbase/Classes/Mvc/ResponseInterface.php @@ -25,7 +25,6 @@ interface ResponseInterface * Overrides and sets the content of the response * * @param string $content The response content - * @return void * @api */ public function setContent($content); @@ -34,7 +33,6 @@ interface ResponseInterface * Appends content to the already existing content. * * @param string $content More response content - * @return void * @api */ public function appendContent($content); diff --git a/typo3/sysext/extbase/Classes/Mvc/View/AbstractView.php b/typo3/sysext/extbase/Classes/Mvc/View/AbstractView.php index a1898b8d6295..8c121baf71e7 100644 --- a/typo3/sysext/extbase/Classes/Mvc/View/AbstractView.php +++ b/typo3/sysext/extbase/Classes/Mvc/View/AbstractView.php @@ -39,7 +39,6 @@ abstract class AbstractView implements \TYPO3\CMS\Extbase\Mvc\View\ViewInterface * Sets the current controller context * * @param \TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext - * @return void */ public function setControllerContext(\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext) { @@ -96,7 +95,6 @@ abstract class AbstractView implements \TYPO3\CMS\Extbase\Mvc\View\ViewInterface * * Override this method for initializing your concrete view implementation. * - * @return void * @api */ public function initializeView() diff --git a/typo3/sysext/extbase/Classes/Mvc/View/EmptyView.php b/typo3/sysext/extbase/Classes/Mvc/View/EmptyView.php index cbe3cdb43d93..f2329aa3116c 100644 --- a/typo3/sysext/extbase/Classes/Mvc/View/EmptyView.php +++ b/typo3/sysext/extbase/Classes/Mvc/View/EmptyView.php @@ -25,7 +25,6 @@ class EmptyView implements \TYPO3\CMS\Extbase\Mvc\View\ViewInterface * Dummy method to satisfy the ViewInterface * * @param \TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext - * @return void */ public function setControllerContext(\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext) { @@ -88,7 +87,6 @@ class EmptyView implements \TYPO3\CMS\Extbase\Mvc\View\ViewInterface * * @param string $methodName * @param array $arguments - * @return void */ public function __call($methodName, array $arguments) { @@ -99,7 +97,6 @@ class EmptyView implements \TYPO3\CMS\Extbase\Mvc\View\ViewInterface * * Override this method for initializing your concrete view implementation. * - * @return void * @api */ public function initializeView() diff --git a/typo3/sysext/extbase/Classes/Mvc/View/JsonView.php b/typo3/sysext/extbase/Classes/Mvc/View/JsonView.php index 00f482c5d37a..6659fc4391c9 100644 --- a/typo3/sysext/extbase/Classes/Mvc/View/JsonView.php +++ b/typo3/sysext/extbase/Classes/Mvc/View/JsonView.php @@ -183,7 +183,6 @@ class JsonView extends AbstractView * By default only the variable 'value' will be rendered * * @param array $variablesToRender - * @return void * @api */ public function setVariablesToRender(array $variablesToRender) @@ -193,7 +192,6 @@ class JsonView extends AbstractView /** * @param array $configuration The rendering configuration for this JSON view - * @return void */ public function setConfiguration(array $configuration) { diff --git a/typo3/sysext/extbase/Classes/Mvc/View/NotFoundView.php b/typo3/sysext/extbase/Classes/Mvc/View/NotFoundView.php index fedc567726cf..64e1b357835c 100644 --- a/typo3/sysext/extbase/Classes/Mvc/View/NotFoundView.php +++ b/typo3/sysext/extbase/Classes/Mvc/View/NotFoundView.php @@ -69,7 +69,6 @@ class NotFoundView extends \TYPO3\CMS\Extbase\Mvc\View\AbstractView * * @param string $methodName * @param array $arguments - * @return void */ public function __call($methodName, array $arguments) { diff --git a/typo3/sysext/extbase/Classes/Mvc/View/ViewInterface.php b/typo3/sysext/extbase/Classes/Mvc/View/ViewInterface.php index 1fd4e9af1755..6efc57429017 100644 --- a/typo3/sysext/extbase/Classes/Mvc/View/ViewInterface.php +++ b/typo3/sysext/extbase/Classes/Mvc/View/ViewInterface.php @@ -25,7 +25,6 @@ interface ViewInterface * Sets the current controller context * * @param \TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext - * @return void */ public function setControllerContext(\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext); @@ -69,7 +68,6 @@ interface ViewInterface /** * Initializes this view. * - * @return void * @api */ public function initializeView(); diff --git a/typo3/sysext/extbase/Classes/Mvc/Web/Request.php b/typo3/sysext/extbase/Classes/Mvc/Web/Request.php index 4bba08a50d54..4da614e7d538 100644 --- a/typo3/sysext/extbase/Classes/Mvc/Web/Request.php +++ b/typo3/sysext/extbase/Classes/Mvc/Web/Request.php @@ -89,7 +89,6 @@ class Request extends \TYPO3\CMS\Extbase\Mvc\Request * Sets the request method * * @param string $method Name of the request method - * @return void * @throws \TYPO3\CMS\Extbase\Mvc\Exception\InvalidRequestMethodException if the request method is not supported */ public function setMethod($method) @@ -115,7 +114,6 @@ class Request extends \TYPO3\CMS\Extbase\Mvc\Request * Sets the request URI * * @param string $requestUri URI of this web request - * @return void */ public function setRequestUri($requestUri) { @@ -137,7 +135,6 @@ class Request extends \TYPO3\CMS\Extbase\Mvc\Request * Sets the base URI for this request. * * @param string $baseUri New base URI - * @return void */ public function setBaseUri($baseUri) { diff --git a/typo3/sysext/extbase/Classes/Mvc/Web/RequestBuilder.php b/typo3/sysext/extbase/Classes/Mvc/Web/RequestBuilder.php index 3a95b47e198f..24bc638bb729 100644 --- a/typo3/sysext/extbase/Classes/Mvc/Web/RequestBuilder.php +++ b/typo3/sysext/extbase/Classes/Mvc/Web/RequestBuilder.php @@ -118,7 +118,6 @@ class RequestBuilder implements \TYPO3\CMS\Core\SingletonInterface /** * @throws MvcException - * @return void */ protected function loadDefaultValues() { diff --git a/typo3/sysext/extbase/Classes/Mvc/Web/Response.php b/typo3/sysext/extbase/Classes/Mvc/Web/Response.php index 37e2c73fdbb8..ea744ce6b393 100644 --- a/typo3/sysext/extbase/Classes/Mvc/Web/Response.php +++ b/typo3/sysext/extbase/Classes/Mvc/Web/Response.php @@ -132,7 +132,6 @@ class Response extends \TYPO3\CMS\Extbase\Mvc\Response * @param int $code The status code * @param string $message If specified, this message is sent instead of the standard message * @throws \InvalidArgumentException if the specified status code is not valid - * @return void * @api */ public function setStatus($code, $message = null) @@ -165,7 +164,6 @@ class Response extends \TYPO3\CMS\Extbase\Mvc\Response * @param mixed $value The value of the given header * @param bool $replaceExistingHeader If a header with the same name should be replaced. Default is TRUE. * @throws \InvalidArgumentException - * @return void * @api */ public function setHeader($name, $value, $replaceExistingHeader = true) @@ -207,7 +205,6 @@ class Response extends \TYPO3\CMS\Extbase\Mvc\Response * * If headers have already been sent, this method fails silently. * - * @return void * @api */ public function sendHeaders() @@ -223,7 +220,6 @@ class Response extends \TYPO3\CMS\Extbase\Mvc\Response /** * Renders and sends the whole web response * - * @return void * @api */ public function send() @@ -242,7 +238,6 @@ class Response extends \TYPO3\CMS\Extbase\Mvc\Response * @TODO The workround and the $request member should be removed again, once the PageRender does support non-cached USER_INTs * @param string $additionalHeaderData The value additional header * @throws \InvalidArgumentException - * @return void * @api */ public function addAdditionalHeaderData($additionalHeaderData) diff --git a/typo3/sysext/extbase/Classes/Mvc/Web/Routing/UriBuilder.php b/typo3/sysext/extbase/Classes/Mvc/Web/Routing/UriBuilder.php index 171c15053e70..5177f26aceba 100644 --- a/typo3/sysext/extbase/Classes/Mvc/Web/Routing/UriBuilder.php +++ b/typo3/sysext/extbase/Classes/Mvc/Web/Routing/UriBuilder.php @@ -156,8 +156,6 @@ class UriBuilder /** * Life-cycle method that is called by the DI container as soon as this object is completely built - * - * @return void */ public function initializeObject() { diff --git a/typo3/sysext/extbase/Classes/Object/Container/Container.php b/typo3/sysext/extbase/Classes/Object/Container/Container.php index ab0e9a9f0533..e4d2d39e1f70 100644 --- a/typo3/sysext/extbase/Classes/Object/Container/Container.php +++ b/typo3/sysext/extbase/Classes/Object/Container/Container.php @@ -218,7 +218,6 @@ class Container implements \TYPO3\CMS\Core\SingletonInterface * * @param object $instance * @param \TYPO3\CMS\Extbase\Object\Container\ClassInfo $classInfo - * @return void */ protected function injectDependencies($instance, \TYPO3\CMS\Extbase\Object\Container\ClassInfo $classInfo) { @@ -264,7 +263,6 @@ class Container implements \TYPO3\CMS\Core\SingletonInterface * * @param string $message Message (in english). * @param int $severity Severity: 0 is info, 1 is notice, 2 is warning, 3 is fatal error, -1 is "OK" message - * @return void */ protected function log($message, $severity) { diff --git a/typo3/sysext/extbase/Classes/Object/ObjectManager.php b/typo3/sysext/extbase/Classes/Object/ObjectManager.php index 8016274a8184..b3c0a46cf1cd 100644 --- a/typo3/sysext/extbase/Classes/Object/ObjectManager.php +++ b/typo3/sysext/extbase/Classes/Object/ObjectManager.php @@ -63,7 +63,6 @@ class ObjectManager implements ObjectManagerInterface * a call to the __sleep() method on serialization before. * * @see http://forge.typo3.org/issues/36820 - * @return void */ public function __wakeup() { diff --git a/typo3/sysext/extbase/Classes/Object/ObjectManagerException.php b/typo3/sysext/extbase/Classes/Object/ObjectManagerException.php index 8046ce66cb7c..4fe5a3600b76 100644 --- a/typo3/sysext/extbase/Classes/Object/ObjectManagerException.php +++ b/typo3/sysext/extbase/Classes/Object/ObjectManagerException.php @@ -61,7 +61,6 @@ class ObjectManagerException implements \TYPO3\CMS\Extbase\Object\ObjectManagerI * a call to the __sleep() method on serialization before. * * @see http://forge.typo3.org/issues/36820 - * @return void */ public function __wakeup() { diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/Backend.php b/typo3/sysext/extbase/Classes/Persistence/Generic/Backend.php index c27076b69dc9..2c34f1fddd6e 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/Backend.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/Backend.php @@ -306,7 +306,6 @@ class Backend implements \TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface * Sets the aggregate root objects * * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $objects - * @return void */ public function setAggregateRootObjects(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $objects) { @@ -317,7 +316,6 @@ class Backend implements \TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface * Sets the changed objects * * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $entities - * @return void */ public function setChangedEntities(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $entities) { @@ -328,7 +326,6 @@ class Backend implements \TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface * Sets the deleted objects * * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $entities - * @return void */ public function setDeletedEntities(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $entities) { @@ -337,8 +334,6 @@ class Backend implements \TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface /** * Commits the current persistence session. - * - * @return void */ public function commit() { @@ -348,8 +343,6 @@ class Backend implements \TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface /** * Traverse and persist all aggregate roots and their object graph. - * - * @return void */ protected function persistObjects() { @@ -370,7 +363,6 @@ class Backend implements \TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface * Persists the given object. * * @param \TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $object The object to be inserted - * @return void */ protected function persistObject(\TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $object) { @@ -455,7 +447,6 @@ class Backend implements \TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface * @param \TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $parentObject The parent object. One of the properties holds the object storage. * @param string $propertyName The name of the property holding the object storage. * @param array &$row The row array of the parent object to be persisted. It's passed by reference and gets filled with either a comma separated list of uids (csv) or the number of contained objects. - * @return void */ protected function persistObjectStorage(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $objectStorage, \TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $parentObject, $propertyName, array &$row) { @@ -541,7 +532,6 @@ class Backend implements \TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface * @param \TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $parentObject * @param string $parentPropertyName * @param int $sortingPosition - * @return void */ protected function attachObjectToParentObject(\TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $object, \TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $parentObject, $parentPropertyName, $sortingPosition = 0) { @@ -561,7 +551,6 @@ class Backend implements \TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface * @param \TYPO3\CMS\Extbase\DomainObject\AbstractEntity $parentObject * @param string $parentPropertyName * @param int $sortingPosition - * @return void */ protected function updateRelationOfObjectToParentObject(\TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $object, \TYPO3\CMS\Extbase\DomainObject\AbstractEntity $parentObject, $parentPropertyName, $sortingPosition = 0) { @@ -582,7 +571,6 @@ class Backend implements \TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface * @param string $parentPropertyName * @param int $sortingPosition * @throws \TYPO3\CMS\Extbase\Persistence\Exception\IllegalRelationTypeException - * @return void */ protected function attachObjectToParentObjectRelationHasMany(\TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $object, \TYPO3\CMS\Extbase\DomainObject\AbstractEntity $parentObject, $parentPropertyName, $sortingPosition = 0) { @@ -623,7 +611,6 @@ class Backend implements \TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface * @param \TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $object * @param \TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $parentObject * @param string $parentPropertyName - * @return void */ protected function detachObjectFromParentObject(\TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $object, \TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $parentObject, $parentPropertyName) { @@ -661,7 +648,6 @@ class Backend implements \TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface * @param \TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $object The object to be insterted in the storage * @param \TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $parentObject The parentobject. * @param string $parentPropertyName - * @return void */ protected function insertObject(\TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $object, \TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $parentObject = null, $parentPropertyName = '') { @@ -987,7 +973,6 @@ class Backend implements \TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface * * @param \TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $object * @param array &$row - * @return void */ protected function addCommonFieldsToRow(\TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $object, array &$row) { @@ -1006,7 +991,6 @@ class Backend implements \TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface * * @param \TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $object * @param array &$row The row to be updated - * @return void */ protected function addCommonDateFieldsToRow(\TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $object, array &$row) { @@ -1021,8 +1005,6 @@ class Backend implements \TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface /** * Iterate over deleted aggregate root objects and process them - * - * @return void */ protected function processDeletedObjects() { @@ -1041,7 +1023,6 @@ class Backend implements \TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface * * @param \TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $object The object to be removed from the storage * @param bool $markAsDeleted Whether to just flag the row deleted (default) or really delete it - * @return void */ protected function removeEntity(\TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $object, $markAsDeleted = true) { @@ -1082,7 +1063,6 @@ class Backend implements \TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface * Remove related objects * * @param \TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $object The object to scanned for related objects - * @return void */ protected function removeRelatedObjects(\TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface $object) { diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/BackendInterface.php b/typo3/sysext/extbase/Classes/Persistence/Generic/BackendInterface.php index 0119bc060689..9ce84c59cb7b 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/BackendInterface.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/BackendInterface.php @@ -23,7 +23,6 @@ interface BackendInterface * Set a PersistenceManager instance. * * @param \TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface $persistenceManager - * @return void */ public function setPersistenceManager(\TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface $persistenceManager); @@ -31,7 +30,6 @@ interface BackendInterface * Sets the aggregate root objects * * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $objects - * @return void */ public function setAggregateRootObjects(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $objects); @@ -39,7 +37,6 @@ interface BackendInterface * Sets the deleted entities * * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $entities - * @return void * @api */ public function setDeletedEntities(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $entities); @@ -48,14 +45,11 @@ interface BackendInterface * Sets the changed objects * * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $entities - * @return void */ public function setChangedEntities(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $entities); /** * Commits the current persistence session - * - * @return void */ public function commit(); diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/LazyLoadingProxy.php b/typo3/sysext/extbase/Classes/Persistence/Generic/LazyLoadingProxy.php index 4953a9582000..f92d070ed944 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/LazyLoadingProxy.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/LazyLoadingProxy.php @@ -124,7 +124,6 @@ class LazyLoadingProxy implements \Iterator, \TYPO3\CMS\Extbase\Persistence\Gene * * @param string $propertyName The name of the property to set * @param mixed $value The value for the property to set - * @return void */ public function __set($propertyName, $value) { @@ -148,7 +147,6 @@ class LazyLoadingProxy implements \Iterator, \TYPO3\CMS\Extbase\Persistence\Gene * Magic unset call implementation. * * @param string $propertyName The name of the property to unset - * @return void */ public function __unset($propertyName) { @@ -191,8 +189,6 @@ class LazyLoadingProxy implements \Iterator, \TYPO3\CMS\Extbase\Persistence\Gene /** * Returns the next position of the storage array - * - * @return void */ public function next() { @@ -202,8 +198,6 @@ class LazyLoadingProxy implements \Iterator, \TYPO3\CMS\Extbase\Persistence\Gene /** * Resets the array pointer of the storage - * - * @return void */ public function rewind() { diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/LazyObjectStorage.php b/typo3/sysext/extbase/Classes/Persistence/Generic/LazyObjectStorage.php index f60530c5cdf3..eec0f742c321 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/LazyObjectStorage.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/LazyObjectStorage.php @@ -98,8 +98,6 @@ class LazyObjectStorage extends \TYPO3\CMS\Extbase\Persistence\ObjectStorage imp /** * This is a function lazy load implementation. - * - * @return void */ protected function initialize() { @@ -262,7 +260,6 @@ class LazyObjectStorage extends \TYPO3\CMS\Extbase\Persistence\ObjectStorage imp /** * @param object $object The object to remove. - * @return void * * @see \TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetUnset */ @@ -274,7 +271,6 @@ class LazyObjectStorage extends \TYPO3\CMS\Extbase\Persistence\ObjectStorage imp /** * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $storage The storage containing the elements to remove. - * @return void * * @see \TYPO3\CMS\Extbase\Persistence\ObjectStorage::removeAll */ diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMap.php b/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMap.php index 5ca429fdfbe7..72f81a66ff07 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMap.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMap.php @@ -149,7 +149,6 @@ class DataMap * Sets the name of the class the column map represents * * @param string $className - * @return void */ public function setClassName($className) { @@ -170,7 +169,6 @@ class DataMap * Sets the name of the table the column map represents * * @param string $tableName - * @return void */ public function setTableName($tableName) { @@ -191,7 +189,6 @@ class DataMap * Sets the record type * * @param string $recordType The record type - * @return void */ public function setRecordType($recordType) { @@ -212,7 +209,6 @@ class DataMap * Sets the subclasses * * @param array $subclasses An array of subclasses - * @return void */ public function setSubclasses(array $subclasses) { @@ -233,7 +229,6 @@ class DataMap * Adds a given column map to the data map. * * @param \TYPO3\CMS\Extbase\Persistence\Generic\Mapper\ColumnMap $columnMap The column map - * @return void */ public function addColumnMap(ColumnMap $columnMap) { @@ -266,7 +261,6 @@ class DataMap * Sets the name of a column holding the page id * * @param string $pageIdColumnName The field name - * @return void */ public function setPageIdColumnName($pageIdColumnName) { @@ -287,7 +281,6 @@ class DataMap * Sets the name of a column holding the language id of the record * * @param string $languageIdColumnName The field name - * @return void */ public function setLanguageIdColumnName($languageIdColumnName) { @@ -308,7 +301,6 @@ class DataMap * Sets the name of a column holding the the uid of the record which this record is a translation of. * * @param string $translationOriginColumnName The field name - * @return void */ public function setTranslationOriginColumnName($translationOriginColumnName) { @@ -329,7 +321,6 @@ class DataMap * Sets the name of a column holding the the diff data for the record which this record is a translation of. * * @param string $translationOriginDiffSourceName The field name - * @return void */ public function setTranslationOriginDiffSourceName($translationOriginDiffSourceName) { @@ -350,7 +341,6 @@ class DataMap * Sets the name of a column holding the timestamp the record was modified * * @param string $modificationDateColumnName The field name - * @return void */ public function setModificationDateColumnName($modificationDateColumnName) { @@ -371,7 +361,6 @@ class DataMap * Sets the name of a column holding the creation date timestamp * * @param string $creationDateColumnName The field name - * @return void */ public function setCreationDateColumnName($creationDateColumnName) { @@ -392,7 +381,6 @@ class DataMap * Sets the name of a column holding the uid of the back-end user who created this record * * @param string $creatorColumnName The field name - * @return void */ public function setCreatorColumnName($creatorColumnName) { @@ -413,7 +401,6 @@ class DataMap * Sets the name of a column indicating the 'deleted' state of the row * * @param string $deletedFlagColumnName The field name - * @return void */ public function setDeletedFlagColumnName($deletedFlagColumnName) { @@ -434,7 +421,6 @@ class DataMap * Sets the name of a column indicating the 'hidden' state of the row * * @param string $disabledFlagColumnName The field name - * @return void */ public function setDisabledFlagColumnName($disabledFlagColumnName) { @@ -455,7 +441,6 @@ class DataMap * Sets the name of a column holding the timestamp the record should not displayed before * * @param string $startTimeColumnName The field name - * @return void */ public function setStartTimeColumnName($startTimeColumnName) { @@ -476,7 +461,6 @@ class DataMap * Sets the name of a column holding the timestamp the record should not displayed afterwards * * @param string $endTimeColumnName The field name - * @return void */ public function setEndTimeColumnName($endTimeColumnName) { @@ -497,7 +481,6 @@ class DataMap * Sets the name of a column holding the uid of the front-end user group which is allowed to edit this record * * @param string $frontendUserGroupColumnName The field name - * @return void */ public function setFrontEndUserGroupColumnName($frontendUserGroupColumnName) { @@ -518,7 +501,6 @@ class DataMap * Sets the name of a column holding the record type * * @param string $recordTypeColumnName The field name - * @return void */ public function setRecordTypeColumnName($recordTypeColumnName) { diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapFactory.php b/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapFactory.php index 676a7b32314c..4a9d25ac5045 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapFactory.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapFactory.php @@ -78,8 +78,6 @@ class DataMapFactory implements \TYPO3\CMS\Core\SingletonInterface /** * Lifecycle method - * - * @return void */ public function initializeObject() { diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php b/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php index b4a85ab7f3a3..af3c544b6a82 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php @@ -225,7 +225,6 @@ class DataMapper implements \TYPO3\CMS\Core\SingletonInterface * * @param DomainObjectInterface $object The object to set properties on * @param array $row - * @return void */ protected function thawProperties(DomainObjectInterface $object, array $row) { diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/PersistenceManager.php b/typo3/sysext/extbase/Classes/Persistence/Generic/PersistenceManager.php index cbc0d6cda55c..65d46e36622a 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/PersistenceManager.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/PersistenceManager.php @@ -97,7 +97,6 @@ class PersistenceManager implements \TYPO3\CMS\Extbase\Persistence\PersistenceMa * Registers a repository * * @param string $className The class name of the repository to be registered - * @return void */ public function registerRepositoryClassName($className) { @@ -170,7 +169,6 @@ class PersistenceManager implements \TYPO3\CMS\Extbase\Persistence\PersistenceMa * Commits new objects and changes to objects in the current persistence * session into the backend * - * @return void * @api */ public function persistAll() @@ -204,7 +202,6 @@ class PersistenceManager implements \TYPO3\CMS\Extbase\Persistence\PersistenceMa * Adds an object to the persistence. * * @param object $object The object to add - * @return void * @api */ public function add($object) @@ -217,7 +214,6 @@ class PersistenceManager implements \TYPO3\CMS\Extbase\Persistence\PersistenceMa * Removes an object to the persistence. * * @param object $object The object to remove - * @return void * @api */ public function remove($object) @@ -233,7 +229,6 @@ class PersistenceManager implements \TYPO3\CMS\Extbase\Persistence\PersistenceMa * Update an object in the persistence. * * @param object $object The modified object - * @return void * @throws \TYPO3\CMS\Extbase\Persistence\Exception\UnknownObjectException * @api */ @@ -249,7 +244,6 @@ class PersistenceManager implements \TYPO3\CMS\Extbase\Persistence\PersistenceMa * Injects the Extbase settings, called by Extbase. * * @param array $settings - * @return void * @throws \TYPO3\CMS\Extbase\Persistence\Generic\Exception\NotImplementedException * @api */ @@ -260,8 +254,6 @@ class PersistenceManager implements \TYPO3\CMS\Extbase\Persistence\PersistenceMa /** * Initializes the persistence manager, called by Extbase. - * - * @return void */ public function initializeObject() { @@ -275,7 +267,6 @@ class PersistenceManager implements \TYPO3\CMS\Extbase\Persistence\PersistenceMa * return data directly from the persistence "backend". * * @throws \TYPO3\CMS\Extbase\Persistence\Generic\Exception\NotImplementedException - * @return void */ public function clearState() { @@ -308,7 +299,6 @@ class PersistenceManager implements \TYPO3\CMS\Extbase\Persistence\PersistenceMa * method. * * @param object $object The new object to register - * @return void */ public function registerNewObject($object) { @@ -349,8 +339,6 @@ class PersistenceManager implements \TYPO3\CMS\Extbase\Persistence\PersistenceMa * * This method is called in functional tests to reset the storage between tests. * The implementation is optional and depends on the underlying persistence backend. - * - * @return void */ public function tearDown() { diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/BindVariableValue.php b/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/BindVariableValue.php index ba9395d9f8de..46a916c2cdd5 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/BindVariableValue.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/BindVariableValue.php @@ -38,7 +38,6 @@ class BindVariableValue implements \TYPO3\CMS\Extbase\Persistence\Generic\Qom\Bi * Fills an array with the names of all bound variables in the operand * * @param array &$boundVariables - * @return void */ public function collectBoundVariableNames(&$boundVariables) { diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/Comparison.php b/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/Comparison.php index 54f31c70d01c..c1329358430e 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/Comparison.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/Comparison.php @@ -139,7 +139,6 @@ class Comparison implements ComparisonInterface /** * @param string $parameterIdentifier - * @return void * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 */ public function setParameterIdentifier($parameterIdentifier) @@ -162,7 +161,6 @@ class Comparison implements ComparisonInterface * Fills an array with the names of all bound variables in the constraints * * @param array &$boundVariables - * @return void */ public function collectBoundVariableNames(&$boundVariables) { diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/ConstraintInterface.php b/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/ConstraintInterface.php index b87001fd51cc..2cc4640214ae 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/ConstraintInterface.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/ConstraintInterface.php @@ -26,7 +26,6 @@ interface ConstraintInterface * Fills an array with the names of all bound variables in the constraints * * @param array &$boundVariables - * @return void */ public function collectBoundVariableNames(&$boundVariables); } diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/LogicalAnd.php b/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/LogicalAnd.php index 9dc9e9c6de1e..80bf9c36e667 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/LogicalAnd.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/LogicalAnd.php @@ -46,7 +46,6 @@ class LogicalAnd implements AndInterface * Fills an array with the names of all bound variables in the constraints * * @param array &$boundVariables - * @return void */ public function collectBoundVariableNames(&$boundVariables) { diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/LogicalNot.php b/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/LogicalNot.php index 0c88940d8787..8aa876a135df 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/LogicalNot.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/LogicalNot.php @@ -38,7 +38,6 @@ class LogicalNot implements NotInterface * Fills an array with the names of all bound variables in the constraint * * @param array &$boundVariables - * @return void */ public function collectBoundVariableNames(&$boundVariables) { diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/LogicalOr.php b/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/LogicalOr.php index 431c2bcd7547..a9b7973fde0a 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/LogicalOr.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/LogicalOr.php @@ -48,7 +48,6 @@ class LogicalOr implements OrInterface * Fills an array with the names of all bound variables in the constraints * * @param array &$boundVariables - * @return void */ public function collectBoundVariableNames(&$boundVariables) { diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/Statement.php b/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/Statement.php index 4d28fdd0ad91..f0049f96b952 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/Statement.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/Qom/Statement.php @@ -65,7 +65,6 @@ class Statement implements ConstraintInterface * Fills an array with the names of all bound variables in the constraints * * @param array &$boundVariables - * @return void */ public function collectBoundVariableNames(&$boundVariables) { diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/Query.php b/typo3/sysext/extbase/Classes/Persistence/Generic/Query.php index 835560551587..c90660b27b21 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/Query.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/Query.php @@ -154,7 +154,6 @@ class Query implements QueryInterface * the specific Storage Backend. * * @param QuerySettingsInterface $querySettings The Query Settings - * @return void * @api This method is not part of TYPO3.Flow API */ public function setQuerySettings(QuerySettingsInterface $querySettings) @@ -619,7 +618,6 @@ class Query implements QueryInterface } /** - * @return void */ public function __wakeup() { diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/QueryResult.php b/typo3/sysext/extbase/Classes/Persistence/Generic/QueryResult.php index 382a5d628659..65574b9076db 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/QueryResult.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/QueryResult.php @@ -77,8 +77,6 @@ class QueryResult implements QueryResultInterface /** * Loads the objects this QueryResult is supposed to hold - * - * @return void */ protected function initialize() { @@ -181,7 +179,6 @@ class QueryResult implements QueryResultInterface * * @param mixed $offset * @param mixed $value - * @return void * @see ArrayAccess::offsetSet() */ public function offsetSet($offset, $value) @@ -194,7 +191,6 @@ class QueryResult implements QueryResultInterface * This method has no effect on the persisted objects but only on the result set * * @param mixed $offset - * @return void * @see ArrayAccess::offsetUnset() */ public function offsetUnset($offset) @@ -224,7 +220,6 @@ class QueryResult implements QueryResultInterface } /** - * @return void * @see Iterator::next() */ public function next() @@ -234,7 +229,6 @@ class QueryResult implements QueryResultInterface } /** - * @return void * @see Iterator::rewind() */ public function rewind() @@ -256,7 +250,6 @@ class QueryResult implements QueryResultInterface /** * Ensures that the objectManager, persistenceManager and dataMapper are back when loading the QueryResult * from the cache - * @return void */ public function __wakeup() { diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/Session.php b/typo3/sysext/extbase/Classes/Persistence/Generic/Session.php index ab89c64caff8..2b56c9872232 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/Session.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/Session.php @@ -77,7 +77,6 @@ class Session implements \TYPO3\CMS\Core\SingletonInterface * * @param object $entity * @param array $entityData - * @return void */ public function registerReconstitutedEntity($entity, array $entityData = []) { @@ -90,7 +89,6 @@ class Session implements \TYPO3\CMS\Core\SingletonInterface * * @param object $oldEntity * @param object $newEntity - * @return void */ public function replaceReconstitutedEntity($oldEntity, $newEntity) { @@ -102,7 +100,6 @@ class Session implements \TYPO3\CMS\Core\SingletonInterface * Unregisters data for a reconstituted object * * @param object $entity - * @return void */ public function unregisterReconstitutedEntity($entity) { @@ -206,7 +203,6 @@ class Session implements \TYPO3\CMS\Core\SingletonInterface * Unregister an object * * @param object $object - * @return void */ public function unregisterObject($object) { @@ -217,8 +213,6 @@ class Session implements \TYPO3\CMS\Core\SingletonInterface /** * Destroy the state of the persistence session and reset * all internal data. - * - * @return void */ public function destroy() { diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php b/typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php index d039292e5b23..9a725fdac290 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php @@ -629,7 +629,6 @@ class Typo3DbBackend implements BackendInterface, SingletonInterface * * @param string $tableName Table name of the record * @param int $uid UID of the record - * @return void */ protected function clearPageCache($tableName, $uid) { diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php b/typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php index 51810ae641ff..f5d538e18af7 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php @@ -142,7 +142,6 @@ class Typo3DbQueryParser * Creates the queryBuilder object whether it is a regular select or a JOIN * * @param Qom\SourceInterface $source The source - * @return void */ protected function initializeQueryBuilder(Qom\SourceInterface $source) { @@ -230,7 +229,6 @@ class Typo3DbQueryParser * @param array $orderings An array of orderings (Qom\Ordering) * @param Qom\SourceInterface $source The source * @throws UnsupportedOrderException - * @return void */ protected function parseOrderings(array $orderings, Qom\SourceInterface $source) { @@ -263,7 +261,6 @@ class Typo3DbQueryParser * add TYPO3 Constraints for all tables to the queryBuilder * * @param QueryInterface $query - * @return void */ protected function addTypo3Constraints(QueryInterface $query) { @@ -496,7 +493,6 @@ class Typo3DbQueryParser * Add a constraint to ensure that the record type of the returned tuples is matching the data type of the repository. * * @param string $className The class name - * @return void */ protected function addRecordTypeConstraint($className) { @@ -803,7 +799,6 @@ class Typo3DbQueryParser * * @param Qom\JoinInterface $join The join * @param string $leftTableAlias The alias from the table to main - * @return void */ protected function parseJoin(Qom\JoinInterface $join, $leftTableAlias) { diff --git a/typo3/sysext/extbase/Classes/Persistence/ObjectMonitoringInterface.php b/typo3/sysext/extbase/Classes/Persistence/ObjectMonitoringInterface.php index e69f6c45a5ba..ec60f61cdc8d 100644 --- a/typo3/sysext/extbase/Classes/Persistence/ObjectMonitoringInterface.php +++ b/typo3/sysext/extbase/Classes/Persistence/ObjectMonitoringInterface.php @@ -25,8 +25,6 @@ interface ObjectMonitoringInterface /** * Register an object's clean state, e.g. after it has been reconstituted * from the database - * - * @return void */ public function _memorizeCleanState(); diff --git a/typo3/sysext/extbase/Classes/Persistence/ObjectStorage.php b/typo3/sysext/extbase/Classes/Persistence/ObjectStorage.php index ce5c33023260..9e3c804abb85 100644 --- a/typo3/sysext/extbase/Classes/Persistence/ObjectStorage.php +++ b/typo3/sysext/extbase/Classes/Persistence/ObjectStorage.php @@ -81,8 +81,6 @@ class ObjectStorage implements \Countable, \Iterator, \ArrayAccess, ObjectMonito /** * Rewinds the iterator to the first storage element. - * - * @return void */ public function rewind() { @@ -124,8 +122,6 @@ class ObjectStorage implements \Countable, \Iterator, \ArrayAccess, ObjectMonito /** * Moves to the next entry. - * - * @return void */ public function next() { @@ -147,7 +143,6 @@ class ObjectStorage implements \Countable, \Iterator, \ArrayAccess, ObjectMonito * * @param object $object The object to add. * @param mixed $information The data to associate with the object. - * @return void */ public function offsetSet($object, $information) { @@ -173,7 +168,6 @@ class ObjectStorage implements \Countable, \Iterator, \ArrayAccess, ObjectMonito * Removes an object from the storage. offsetUnset() is an alias of detach(). * * @param object $object The object to remove. - * @return void */ public function offsetUnset($object) { @@ -215,7 +209,6 @@ class ObjectStorage implements \Countable, \Iterator, \ArrayAccess, ObjectMonito * * @param object $object The object to add. * @param mixed $information The data to associate with the object. - * @return void */ public function attach($object, $information = null) { @@ -226,7 +219,6 @@ class ObjectStorage implements \Countable, \Iterator, \ArrayAccess, ObjectMonito * Removes an object from the storage. * * @param object $object The object to remove. - * @return void */ public function detach($object) { @@ -248,7 +240,6 @@ class ObjectStorage implements \Countable, \Iterator, \ArrayAccess, ObjectMonito * Associates data, or info, with the object currently pointed to by the iterator. * * @param mixed $data - * @return void */ public function setInfo($data) { @@ -261,7 +252,6 @@ class ObjectStorage implements \Countable, \Iterator, \ArrayAccess, ObjectMonito * Adds all objects-data pairs from a different storage in the current storage. * * @param ObjectStorage $objectStorage - * @return void */ public function addAll(ObjectStorage $objectStorage) { @@ -274,7 +264,6 @@ class ObjectStorage implements \Countable, \Iterator, \ArrayAccess, ObjectMonito * Removes objects contained in another storage from the current storage. * * @param ObjectStorage $objectStorage The storage containing the elements to remove. - * @return void */ public function removeAll(ObjectStorage $objectStorage) { @@ -314,7 +303,6 @@ class ObjectStorage implements \Countable, \Iterator, \ArrayAccess, ObjectMonito * Dummy method to avoid serialization. * * @throws \RuntimeException - * @return void */ public function serialize() { @@ -326,7 +314,6 @@ class ObjectStorage implements \Countable, \Iterator, \ArrayAccess, ObjectMonito * * @param string $serialized * @throws \RuntimeException - * @return void */ public function unserialize($serialized) { @@ -335,8 +322,6 @@ class ObjectStorage implements \Countable, \Iterator, \ArrayAccess, ObjectMonito /** * Register the storage's clean state, e.g. after it has been reconstituted from the database. - * - * @return void */ public function _memorizeCleanState() { diff --git a/typo3/sysext/extbase/Classes/Persistence/PersistenceManagerInterface.php b/typo3/sysext/extbase/Classes/Persistence/PersistenceManagerInterface.php index 1ca9484c95ef..3d2d93cfc068 100644 --- a/typo3/sysext/extbase/Classes/Persistence/PersistenceManagerInterface.php +++ b/typo3/sysext/extbase/Classes/Persistence/PersistenceManagerInterface.php @@ -23,7 +23,6 @@ interface PersistenceManagerInterface * Commits new objects and changes to objects in the current persistence * session into the backend * - * @return void * @api */ public function persistAll(); @@ -33,8 +32,6 @@ interface PersistenceManagerInterface * * Managed instances become detached, any fetches will * return data directly from the persistence "backend". - * - * @return void */ public function clearState(); @@ -103,7 +100,6 @@ interface PersistenceManagerInterface * @param string $className The class name of the repository to be registered * @deprecated since Extbase 6.0, will be removed in Extbase 7.0. It is deprecated only in the interface to be more * in sync with Flow in future and will stay in Generic Persistence. - * @return void */ public function registerRepositoryClassName($className); @@ -111,7 +107,6 @@ interface PersistenceManagerInterface * Adds an object to the persistence. * * @param object $object The object to add - * @return void * @api */ public function add($object); @@ -120,7 +115,6 @@ interface PersistenceManagerInterface * Removes an object to the persistence. * * @param object $object The object to remove - * @return void * @api */ public function remove($object); @@ -129,7 +123,6 @@ interface PersistenceManagerInterface * Update an object in the persistence. * * @param object $object The modified object - * @return void * @throws \TYPO3\CMS\Extbase\Persistence\Exception\UnknownObjectException * @api */ @@ -139,7 +132,6 @@ interface PersistenceManagerInterface * Injects the Extbase settings, called by Extbase. * * @param array $settings - * @return void * @api */ public function injectSettings(array $settings); diff --git a/typo3/sysext/extbase/Classes/Persistence/QueryInterface.php b/typo3/sysext/extbase/Classes/Persistence/QueryInterface.php index a48ecd5a18ae..0b632c590538 100644 --- a/typo3/sysext/extbase/Classes/Persistence/QueryInterface.php +++ b/typo3/sysext/extbase/Classes/Persistence/QueryInterface.php @@ -327,7 +327,6 @@ interface QueryInterface * the specific Storage Backend. * * @param \TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface $querySettings The Query Settings - * @return void * @todo decide whether this can be deprecated somewhen * @api This method is not part of TYPO3Flow API */ diff --git a/typo3/sysext/extbase/Classes/Persistence/Repository.php b/typo3/sysext/extbase/Classes/Persistence/Repository.php index c67ac49349d4..9932903b1ec7 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Repository.php +++ b/typo3/sysext/extbase/Classes/Persistence/Repository.php @@ -72,7 +72,6 @@ class Repository implements RepositoryInterface, \TYPO3\CMS\Core\SingletonInterf * * @param object $object The object to add * @throws Exception\IllegalObjectTypeException - * @return void * @api */ public function add($object) @@ -88,7 +87,6 @@ class Repository implements RepositoryInterface, \TYPO3\CMS\Core\SingletonInterf * * @param object $object The object to remove * @throws Exception\IllegalObjectTypeException - * @return void * @api */ public function remove($object) @@ -105,7 +103,6 @@ class Repository implements RepositoryInterface, \TYPO3\CMS\Core\SingletonInterf * @param object $modifiedObject The modified object * @throws Exception\UnknownObjectException * @throws Exception\IllegalObjectTypeException - * @return void * @api */ public function update($modifiedObject) @@ -142,7 +139,6 @@ class Repository implements RepositoryInterface, \TYPO3\CMS\Core\SingletonInterf * Removes all objects of this repository as if remove() was called for * all of them. * - * @return void * @api */ public function removeAll() @@ -185,7 +181,6 @@ class Repository implements RepositoryInterface, \TYPO3\CMS\Core\SingletonInterf * ) * * @param array $defaultOrderings The property names to order by - * @return void * @api */ public function setDefaultOrderings(array $defaultOrderings) @@ -197,7 +192,6 @@ class Repository implements RepositoryInterface, \TYPO3\CMS\Core\SingletonInterf * Sets the default query settings to be used in this repository * * @param \TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface $defaultQuerySettings The query settings to be used by default - * @return void * @api */ public function setDefaultQuerySettings(\TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface $defaultQuerySettings) diff --git a/typo3/sysext/extbase/Classes/Persistence/RepositoryInterface.php b/typo3/sysext/extbase/Classes/Persistence/RepositoryInterface.php index 150ec50f8148..3daaee392a55 100644 --- a/typo3/sysext/extbase/Classes/Persistence/RepositoryInterface.php +++ b/typo3/sysext/extbase/Classes/Persistence/RepositoryInterface.php @@ -25,7 +25,6 @@ interface RepositoryInterface * Adds an object to this repository. * * @param object $object The object to add - * @return void * @api */ public function add($object); @@ -34,7 +33,6 @@ interface RepositoryInterface * Removes an object from this repository. * * @param object $object The object to remove - * @return void * @api */ public function remove($object); @@ -67,7 +65,6 @@ interface RepositoryInterface * Removes all objects of this repository as if remove() was called for * all of them. * - * @return void * @api */ public function removeAll(); @@ -99,7 +96,6 @@ interface RepositoryInterface * ) * * @param array $defaultOrderings The property names to order by - * @return void * @api */ public function setDefaultOrderings(array $defaultOrderings); @@ -108,7 +104,6 @@ interface RepositoryInterface * Sets the default query settings to be used in this repository * * @param \TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface $defaultQuerySettings The query settings to be used by default - * @return void * @api */ public function setDefaultQuerySettings(\TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface $defaultQuerySettings); diff --git a/typo3/sysext/extbase/Classes/Property/PropertyMapper.php b/typo3/sysext/extbase/Classes/Property/PropertyMapper.php index 712db66b301a..727cf99d5248 100644 --- a/typo3/sysext/extbase/Classes/Property/PropertyMapper.php +++ b/typo3/sysext/extbase/Classes/Property/PropertyMapper.php @@ -83,7 +83,6 @@ class PropertyMapper implements \TYPO3\CMS\Core\SingletonInterface * Here, the typeConverter array gets initialized. * * @throws Exception\DuplicateTypeConverterException - * @return void */ public function initializeObject() { diff --git a/typo3/sysext/extbase/Classes/Property/TypeConverter/DateTimeConverter.php b/typo3/sysext/extbase/Classes/Property/TypeConverter/DateTimeConverter.php index 0d92302506a8..e43413ba9eb6 100644 --- a/typo3/sysext/extbase/Classes/Property/TypeConverter/DateTimeConverter.php +++ b/typo3/sysext/extbase/Classes/Property/TypeConverter/DateTimeConverter.php @@ -210,7 +210,6 @@ class DateTimeConverter extends \TYPO3\CMS\Extbase\Property\TypeConverter\Abstra * * @param \DateTime $date * @param array $source - * @return void */ protected function overrideTimeIfSpecified(\DateTime $date, array $source) { diff --git a/typo3/sysext/extbase/Classes/Reflection/ClassSchema.php b/typo3/sysext/extbase/Classes/Reflection/ClassSchema.php index fe47cbc2e91b..5f8b37d5db01 100644 --- a/typo3/sysext/extbase/Classes/Reflection/ClassSchema.php +++ b/typo3/sysext/extbase/Classes/Reflection/ClassSchema.php @@ -98,7 +98,6 @@ class ClassSchema * @param string $type Type of the property * @param bool $lazy Whether the property should be lazy-loaded when reconstituting * @param string $cascade Strategy to cascade the object graph. - * @return void */ public function addProperty($name, $type, $lazy = false, $cascade = '') { @@ -138,7 +137,6 @@ class ClassSchema * * @param int $modelType The model type, one of the MODELTYPE_* constants. * @throws \InvalidArgumentException - * @return void */ public function setModelType($modelType) { @@ -163,7 +161,6 @@ class ClassSchema * through a repository - or not. * * @param bool $isRoot TRUE if it is the root of an aggregate - * @return void */ public function setAggregateRoot($isRoot) { @@ -197,7 +194,6 @@ class ClassSchema * * @param string $propertyName * @throws \InvalidArgumentException - * @return void */ public function setUuidPropertyName($propertyName) { @@ -224,7 +220,6 @@ class ClassSchema * * @param string $propertyName * @throws \InvalidArgumentException - * @return void */ public function markAsIdentityProperty($propertyName) { diff --git a/typo3/sysext/extbase/Classes/Reflection/DocCommentParser.php b/typo3/sysext/extbase/Classes/Reflection/DocCommentParser.php index b76fd57ddc24..bd15ceeff89a 100644 --- a/typo3/sysext/extbase/Classes/Reflection/DocCommentParser.php +++ b/typo3/sysext/extbase/Classes/Reflection/DocCommentParser.php @@ -35,7 +35,6 @@ class DocCommentParser * getTags() getTagValues() and getDescription() methods. * * @param string $docComment A doc comment as returned by the reflection getDocComment() method - * @return void */ public function parseDocComment($docComment) { @@ -105,7 +104,6 @@ class DocCommentParser * The result is stored in the interal tags array. * * @param string $line A line of a doc comment which starts with an @-sign - * @return void */ protected function parseTag($line) { diff --git a/typo3/sysext/extbase/Classes/Reflection/ReflectionService.php b/typo3/sysext/extbase/Classes/Reflection/ReflectionService.php index 8d74e5726cb9..e775cbc64ab9 100644 --- a/typo3/sysext/extbase/Classes/Reflection/ReflectionService.php +++ b/typo3/sysext/extbase/Classes/Reflection/ReflectionService.php @@ -172,7 +172,6 @@ class ReflectionService implements \TYPO3\CMS\Core\SingletonInterface * The cache must be set before initializing the Reflection Service. * * @param \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend $dataCache Cache for the Reflection service - * @return void */ public function setDataCache(\TYPO3\CMS\Core\Cache\Frontend\VariableFrontend $dataCache) { @@ -183,7 +182,6 @@ class ReflectionService implements \TYPO3\CMS\Core\SingletonInterface * Initializes this service * * @throws Exception - * @return void */ public function initialize() { @@ -208,8 +206,6 @@ class ReflectionService implements \TYPO3\CMS\Core\SingletonInterface /** * Shuts the Reflection Service down. - * - * @return void */ public function shutdown() { @@ -442,7 +438,6 @@ class ReflectionService implements \TYPO3\CMS\Core\SingletonInterface * Reflects the given class and stores the results in this service's properties. * * @param string $className Full qualified name of the class to reflect - * @return void */ protected function reflectClass($className) { @@ -581,8 +576,6 @@ class ReflectionService implements \TYPO3\CMS\Core\SingletonInterface /** * Tries to load the reflection data from this service's cache. - * - * @return void */ protected function loadFromCache() { @@ -598,7 +591,6 @@ class ReflectionService implements \TYPO3\CMS\Core\SingletonInterface * Exports the internal reflection data into the ReflectionData cache. * * @throws Exception - * @return void */ protected function saveToCache() { diff --git a/typo3/sysext/extbase/Classes/Scheduler/Task.php b/typo3/sysext/extbase/Classes/Scheduler/Task.php index 45ab9e5f53ff..bd81c92aa9c6 100644 --- a/typo3/sysext/extbase/Classes/Scheduler/Task.php +++ b/typo3/sysext/extbase/Classes/Scheduler/Task.php @@ -76,8 +76,6 @@ class Task extends \TYPO3\CMS\Scheduler\Task\AbstractTask /** * Wakeup - * - * @return void */ public function __wakeup() { diff --git a/typo3/sysext/extbase/Classes/Scheduler/TaskExecutor.php b/typo3/sysext/extbase/Classes/Scheduler/TaskExecutor.php index 69bdaa279095..cace85720345 100644 --- a/typo3/sysext/extbase/Classes/Scheduler/TaskExecutor.php +++ b/typo3/sysext/extbase/Classes/Scheduler/TaskExecutor.php @@ -88,7 +88,6 @@ class TaskExecutor implements \TYPO3\CMS\Core\SingletonInterface * Initializes configuration manager, object container and reflection service * * @param array $configuration - * @return void */ protected function initialize(array $configuration) { @@ -124,7 +123,6 @@ class TaskExecutor implements \TYPO3\CMS\Core\SingletonInterface * must be caught manually if you manually execute Tasks through your code. * * @param \TYPO3\CMS\Extbase\Scheduler\Task $task the task to execute - * @return void */ public function execute(\TYPO3\CMS\Extbase\Scheduler\Task $task) { @@ -143,8 +141,6 @@ class TaskExecutor implements \TYPO3\CMS\Core\SingletonInterface /** * Resets framework singletons - * - * @return void */ protected function shutdown() { diff --git a/typo3/sysext/extbase/Classes/Service/CacheService.php b/typo3/sysext/extbase/Classes/Service/CacheService.php index b1c2911ba05f..da5ac0d8afa6 100644 --- a/typo3/sysext/extbase/Classes/Service/CacheService.php +++ b/typo3/sysext/extbase/Classes/Service/CacheService.php @@ -57,7 +57,6 @@ class CacheService implements \TYPO3\CMS\Core\SingletonInterface * Clears the page cache * * @param mixed $pageIdsToClear (int) single or (array) multiple pageIds to clear the cache for - * @return void */ public function clearPageCache($pageIdsToClear = null) { @@ -77,8 +76,6 @@ class CacheService implements \TYPO3\CMS\Core\SingletonInterface /** * Walks through the pageIdStack, collects all pageIds * as array and passes them on to clearPageCache. - * - * @return void */ public function clearCachesOfRegisteredPageIds() { diff --git a/typo3/sysext/extbase/Classes/Service/ImageService.php b/typo3/sysext/extbase/Classes/Service/ImageService.php index 841f7ed08eb1..807e014b56ef 100644 --- a/typo3/sysext/extbase/Classes/Service/ImageService.php +++ b/typo3/sysext/extbase/Classes/Service/ImageService.php @@ -166,7 +166,6 @@ class ImageService implements \TYPO3\CMS\Core\SingletonInterface * in case we are in frontend environment. * * @param ProcessedFile $processedImage - * @return void */ protected function setCompatibilityValues(ProcessedFile $processedImage) { diff --git a/typo3/sysext/extbase/Classes/SignalSlot/Dispatcher.php b/typo3/sysext/extbase/Classes/SignalSlot/Dispatcher.php index 5974bf773483..e6dc178feee9 100644 --- a/typo3/sysext/extbase/Classes/SignalSlot/Dispatcher.php +++ b/typo3/sysext/extbase/Classes/SignalSlot/Dispatcher.php @@ -49,8 +49,6 @@ class Dispatcher implements \TYPO3\CMS\Core\SingletonInterface * Since this dispatches is used very early when the ObjectManager * is not fully initialized (especially concerning caching framework), * this is the only way. - * - * @return void */ public function initializeObject() { @@ -70,7 +68,6 @@ class Dispatcher implements \TYPO3\CMS\Core\SingletonInterface * @param string $slotMethodName Name of the method to be used as a slot. If $slotClassNameOrObject is a Closure object, this parameter is ignored * @param bool $passSignalInformation If set to TRUE, the last argument passed to the slot will be information about the signal (EmitterClassName::signalName) * @throws \InvalidArgumentException - * @return void * @api */ public function connect($signalClassName, $signalName, $slotClassNameOrObject, $slotMethodName = '', $passSignalInformation = true) diff --git a/typo3/sysext/extbase/Classes/Utility/DebuggerUtility.php b/typo3/sysext/extbase/Classes/Utility/DebuggerUtility.php index 4cac34266409..5711fb2ec88f 100644 --- a/typo3/sysext/extbase/Classes/Utility/DebuggerUtility.php +++ b/typo3/sysext/extbase/Classes/Utility/DebuggerUtility.php @@ -78,8 +78,6 @@ class DebuggerUtility /** * Clear the state of the debugger - * - * @return void */ protected static function clearState() { diff --git a/typo3/sysext/extbase/Classes/Utility/Exception/InvalidTypeException.php b/typo3/sysext/extbase/Classes/Utility/Exception/InvalidTypeException.php index b746eaba256d..d991c7ecfc16 100644 --- a/typo3/sysext/extbase/Classes/Utility/Exception/InvalidTypeException.php +++ b/typo3/sysext/extbase/Classes/Utility/Exception/InvalidTypeException.php @@ -23,7 +23,6 @@ namespace TYPO3\CMS\Extbase\Utility\Exception; /** * An Invalid Type Exception - * */ class InvalidTypeException extends \TYPO3\CMS\Extbase\Exception { diff --git a/typo3/sysext/extbase/Classes/Utility/ExtensionUtility.php b/typo3/sysext/extbase/Classes/Utility/ExtensionUtility.php index 64027eb3f5ff..c8fcd17390d2 100644 --- a/typo3/sysext/extbase/Classes/Utility/ExtensionUtility.php +++ b/typo3/sysext/extbase/Classes/Utility/ExtensionUtility.php @@ -40,7 +40,6 @@ class ExtensionUtility * @param array $nonCacheableControllerActions is an optional array of controller name and action names which should not be cached (array as defined in $controllerActions) * @param string $pluginType either \TYPO3\CMS\Extbase\Utility\ExtensionUtility::PLUGIN_TYPE_PLUGIN (default) or \TYPO3\CMS\Extbase\Utility\ExtensionUtility::PLUGIN_TYPE_CONTENT_ELEMENT * @throws \InvalidArgumentException - * @return void */ public static function configurePlugin($extensionName, $pluginName, array $controllerActions, array $nonCacheableControllerActions = [], $pluginType = self::PLUGIN_TYPE_PLUGIN) { @@ -112,7 +111,6 @@ tt_content.' . $pluginSignature . ' { * @param string $pluginTitle is a speaking title of the plugin that will be displayed in the drop down menu in the backend * @param string $pluginIconPathAndFilename is a path to an icon file (relative to TYPO3_mainDir), that will be displayed in the drop down menu in the backend (optional) * @throws \InvalidArgumentException - * @return void */ public static function registerPlugin($extensionName, $pluginName, $pluginTitle, $pluginIconPathAndFilename = null) { @@ -153,7 +151,6 @@ tt_content.' . $pluginSignature . ' { * @param array $controllerActions is an array of allowed combinations of controller and action stored in an array (controller name as key and a comma separated list of action names as value, the first controller and its first action is chosen as default) * @param array $moduleConfiguration The configuration options of the module (icon, locallang.xlf file) * @throws \InvalidArgumentException - * @return void */ public static function registerModule($extensionName, $mainModuleName = '', $subModuleName = '', $position = '', array $controllerActions = [], array $moduleConfiguration = []) { @@ -214,7 +211,6 @@ tt_content.' . $pluginSignature . ' { * Register a type converter by class name. * * @param string $typeConverterClassName - * @return void * @api */ public static function registerTypeConverter($typeConverterClassName) @@ -231,7 +227,6 @@ tt_content.' . $pluginSignature . ' { * * @param string $vendorName The vendor name to check * @param string $extensionName The extension name that is affected - * @return void */ protected static function checkVendorNameFormat($vendorName, $extensionName) { @@ -245,7 +240,6 @@ tt_content.' . $pluginSignature . ' { * * @param string $extensionName The name of the extension * @throws \InvalidArgumentException - * @return void */ protected static function checkExtensionNameFormat($extensionName) { @@ -259,7 +253,6 @@ tt_content.' . $pluginSignature . ' { * * @param string $pluginName The name of the plugin * @throws \InvalidArgumentException - * @return void */ protected static function checkPluginNameFormat($pluginName) { diff --git a/typo3/sysext/extbase/Classes/Utility/FrontendSimulatorUtility.php b/typo3/sysext/extbase/Classes/Utility/FrontendSimulatorUtility.php index 13f9f1db070b..5383820fb929 100644 --- a/typo3/sysext/extbase/Classes/Utility/FrontendSimulatorUtility.php +++ b/typo3/sysext/extbase/Classes/Utility/FrontendSimulatorUtility.php @@ -31,7 +31,6 @@ class FrontendSimulatorUtility * This somewhat hacky work around is currently needed because the cObjGetSingle() function of \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer relies on this setting * * @param \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer|NULL $cObj - * @return void */ public static function simulateFrontendEnvironment(\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer $cObj = null) { @@ -44,7 +43,6 @@ class FrontendSimulatorUtility /** * Resets $GLOBALS['TSFE'] if it was previously changed by simulateFrontendEnvironment() * - * @return void * @see simulateFrontendEnvironment() */ public static function resetFrontendEnvironment() diff --git a/typo3/sysext/extbase/Classes/Utility/LocalizationUtility.php b/typo3/sysext/extbase/Classes/Utility/LocalizationUtility.php index d411f95a3013..25abcf179dae 100644 --- a/typo3/sysext/extbase/Classes/Utility/LocalizationUtility.php +++ b/typo3/sysext/extbase/Classes/Utility/LocalizationUtility.php @@ -144,7 +144,6 @@ class LocalizationUtility * Also locallang values set in the TypoScript property "_LOCAL_LANG" are merged onto the values found in the "locallang.xlf" file. * * @param string $extensionName - * @return void */ protected static function initializeLocalization($extensionName) { @@ -170,8 +169,6 @@ class LocalizationUtility /** * Sets the currently active language/language_alt keys. * Default values are "default" for language key and "" for language_alt key. - * - * @return void */ protected static function setLanguageKeys() { @@ -205,7 +202,6 @@ class LocalizationUtility * plugin.tx_myextension._LOCAL_LANG.languageKey.key = value * * @param string $extensionName - * @return void */ protected static function loadTypoScriptLabels($extensionName) { diff --git a/typo3/sysext/extbase/Classes/Utility/TypeHandlingUtility.php b/typo3/sysext/extbase/Classes/Utility/TypeHandlingUtility.php index e464f2ed736d..da0b32daff79 100644 --- a/typo3/sysext/extbase/Classes/Utility/TypeHandlingUtility.php +++ b/typo3/sysext/extbase/Classes/Utility/TypeHandlingUtility.php @@ -13,7 +13,6 @@ namespace TYPO3\CMS\Extbase\Utility; /** * PHP type handling functions - * */ class TypeHandlingUtility { diff --git a/typo3/sysext/extbase/Classes/Validation/Error.php b/typo3/sysext/extbase/Classes/Validation/Error.php index 0610dc624249..ce9b670f5725 100644 --- a/typo3/sysext/extbase/Classes/Validation/Error.php +++ b/typo3/sysext/extbase/Classes/Validation/Error.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Extbase\Validation; /** * This object holds a validation error. - * */ class Error extends \TYPO3\CMS\Extbase\Error\Error { diff --git a/typo3/sysext/extbase/Classes/Validation/Validator/AbstractCompositeValidator.php b/typo3/sysext/extbase/Classes/Validation/Validator/AbstractCompositeValidator.php index e256411cf24f..9a3ef8a76c99 100644 --- a/typo3/sysext/extbase/Classes/Validation/Validator/AbstractCompositeValidator.php +++ b/typo3/sysext/extbase/Classes/Validation/Validator/AbstractCompositeValidator.php @@ -85,7 +85,6 @@ abstract class AbstractCompositeValidator implements ObjectValidatorInterface, \ * Adds a new validator to the conjunction. * * @param \TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface $validator The validator that should be added - * @return void * @api */ public function addValidator(\TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface $validator) @@ -102,7 +101,6 @@ abstract class AbstractCompositeValidator implements ObjectValidatorInterface, \ * * @param \TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface $validator The validator to remove * @throws \TYPO3\CMS\Extbase\Validation\Exception\NoSuchValidatorException - * @return void */ public function removeValidator(\TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface $validator) { @@ -147,7 +145,6 @@ abstract class AbstractCompositeValidator implements ObjectValidatorInterface, \ * Allows to set a container to keep track of validated instances. * * @param \SplObjectStorage $validatedInstancesContainer A container to keep track of validated instances - * @return void * @api */ public function setValidatedInstancesContainer(\SplObjectStorage $validatedInstancesContainer) diff --git a/typo3/sysext/extbase/Classes/Validation/Validator/AbstractValidator.php b/typo3/sysext/extbase/Classes/Validation/Validator/AbstractValidator.php index 37764210bd62..6dc277fc2271 100644 --- a/typo3/sysext/extbase/Classes/Validation/Validator/AbstractValidator.php +++ b/typo3/sysext/extbase/Classes/Validation/Validator/AbstractValidator.php @@ -108,7 +108,6 @@ abstract class AbstractValidator implements ValidatorInterface * to result. * * @param mixed $value - * @return void */ abstract protected function isValid($value); @@ -119,7 +118,6 @@ abstract class AbstractValidator implements ValidatorInterface * @param int $code The error code (a unix timestamp) * @param array $arguments Arguments to be replaced in message * @param string $title title of the error - * @return void */ protected function addError($message, $code, array $arguments = [], $title = '') { diff --git a/typo3/sysext/extbase/Classes/Validation/Validator/AlphanumericValidator.php b/typo3/sysext/extbase/Classes/Validation/Validator/AlphanumericValidator.php index 80cef00650df..58e292a9f0c0 100644 --- a/typo3/sysext/extbase/Classes/Validation/Validator/AlphanumericValidator.php +++ b/typo3/sysext/extbase/Classes/Validation/Validator/AlphanumericValidator.php @@ -25,7 +25,6 @@ class AlphanumericValidator extends AbstractValidator * The given $value is valid if it is an alphanumeric string, which is defined as [\pL\d]*. * * @param mixed $value The value that should be validated - * @return void * @api */ public function isValid($value) diff --git a/typo3/sysext/extbase/Classes/Validation/Validator/BooleanValidator.php b/typo3/sysext/extbase/Classes/Validation/Validator/BooleanValidator.php index 06414e1e979e..9a8feee1ff8a 100644 --- a/typo3/sysext/extbase/Classes/Validation/Validator/BooleanValidator.php +++ b/typo3/sysext/extbase/Classes/Validation/Validator/BooleanValidator.php @@ -39,7 +39,6 @@ class BooleanValidator extends AbstractValidator * tests and actual usage. This makes the validator loose but still keeping functionality. * * @param mixed $value The value that should be validated - * @return void */ public function isValid($value) { diff --git a/typo3/sysext/extbase/Classes/Validation/Validator/CollectionValidator.php b/typo3/sysext/extbase/Classes/Validation/Validator/CollectionValidator.php index 4f1da36996d5..9c0d47bddfc4 100644 --- a/typo3/sysext/extbase/Classes/Validation/Validator/CollectionValidator.php +++ b/typo3/sysext/extbase/Classes/Validation/Validator/CollectionValidator.php @@ -79,7 +79,6 @@ class CollectionValidator extends GenericObjectValidator * will be skipped. * * @param mixed $value A collection to be validated - * @return void */ protected function isValid($value) { diff --git a/typo3/sysext/extbase/Classes/Validation/Validator/DateTimeValidator.php b/typo3/sysext/extbase/Classes/Validation/Validator/DateTimeValidator.php index dfed549edd25..023970ac5f92 100644 --- a/typo3/sysext/extbase/Classes/Validation/Validator/DateTimeValidator.php +++ b/typo3/sysext/extbase/Classes/Validation/Validator/DateTimeValidator.php @@ -26,7 +26,6 @@ class DateTimeValidator extends AbstractValidator * the case, the function adds an error. * * @param mixed $value The value that should be validated - * @return void */ public function isValid($value) { diff --git a/typo3/sysext/extbase/Classes/Validation/Validator/EmailAddressValidator.php b/typo3/sysext/extbase/Classes/Validation/Validator/EmailAddressValidator.php index 05b5a30cb8a8..807923071c74 100644 --- a/typo3/sysext/extbase/Classes/Validation/Validator/EmailAddressValidator.php +++ b/typo3/sysext/extbase/Classes/Validation/Validator/EmailAddressValidator.php @@ -25,7 +25,6 @@ class EmailAddressValidator extends AbstractValidator * Checks if the given value is a valid email address. * * @param mixed $value The value that should be validated - * @return void * @api */ public function isValid($value) diff --git a/typo3/sysext/extbase/Classes/Validation/Validator/FloatValidator.php b/typo3/sysext/extbase/Classes/Validation/Validator/FloatValidator.php index 6f363288f60f..daea48763ae7 100644 --- a/typo3/sysext/extbase/Classes/Validation/Validator/FloatValidator.php +++ b/typo3/sysext/extbase/Classes/Validation/Validator/FloatValidator.php @@ -25,7 +25,6 @@ class FloatValidator extends AbstractValidator * The given value is valid if it is of type float or a string matching the regular expression [0-9.e+-] * * @param mixed $value The value that should be validated - * @return void * @api */ public function isValid($value) diff --git a/typo3/sysext/extbase/Classes/Validation/Validator/GenericObjectValidator.php b/typo3/sysext/extbase/Classes/Validation/Validator/GenericObjectValidator.php index 4c96cfe575de..97ccecccb27b 100644 --- a/typo3/sysext/extbase/Classes/Validation/Validator/GenericObjectValidator.php +++ b/typo3/sysext/extbase/Classes/Validation/Validator/GenericObjectValidator.php @@ -74,7 +74,6 @@ class GenericObjectValidator extends AbstractValidator implements ObjectValidato * @param mixed $value The value to be validated * @param \Traversable $validators The validators to be called on the value * @param string $propertyName Name of ther property to check - * @return void */ protected function checkProperty($value, $validators, $propertyName) { @@ -102,7 +101,6 @@ class GenericObjectValidator extends AbstractValidator implements ObjectValidato * Checks if the given value is valid according to the property validators. * * @param mixed $object The value that should be validated - * @return void * @api */ protected function isValid($object) @@ -130,7 +128,6 @@ class GenericObjectValidator extends AbstractValidator implements ObjectValidato * * @param string $propertyName Name of the property to validate * @param ValidatorInterface $validator The property validator - * @return void * @api */ public function addPropertyValidator($propertyName, ValidatorInterface $validator) @@ -183,7 +180,6 @@ class GenericObjectValidator extends AbstractValidator implements ObjectValidato * Allows to set a container to keep track of validated instances. * * @param \SplObjectStorage $validatedInstancesContainer A container to keep track of validated instances - * @return void * @api */ public function setValidatedInstancesContainer(\SplObjectStorage $validatedInstancesContainer) diff --git a/typo3/sysext/extbase/Classes/Validation/Validator/IntegerValidator.php b/typo3/sysext/extbase/Classes/Validation/Validator/IntegerValidator.php index 33dde07c1075..f1efc53deb93 100644 --- a/typo3/sysext/extbase/Classes/Validation/Validator/IntegerValidator.php +++ b/typo3/sysext/extbase/Classes/Validation/Validator/IntegerValidator.php @@ -25,7 +25,6 @@ class IntegerValidator extends AbstractValidator * Checks if the given value is a valid integer. * * @param mixed $value The value that should be validated - * @return void * @api */ public function isValid($value) diff --git a/typo3/sysext/extbase/Classes/Validation/Validator/NotEmptyValidator.php b/typo3/sysext/extbase/Classes/Validation/Validator/NotEmptyValidator.php index 692c260babf2..9e954d99a4af 100644 --- a/typo3/sysext/extbase/Classes/Validation/Validator/NotEmptyValidator.php +++ b/typo3/sysext/extbase/Classes/Validation/Validator/NotEmptyValidator.php @@ -33,7 +33,6 @@ class NotEmptyValidator extends AbstractValidator * Checks if the given property ($propertyValue) is not empty (NULL, empty string, empty array or empty object). * * @param mixed $value The value that should be validated - * @return void */ public function isValid($value) { diff --git a/typo3/sysext/extbase/Classes/Validation/Validator/NumberRangeValidator.php b/typo3/sysext/extbase/Classes/Validation/Validator/NumberRangeValidator.php index 61607551ef30..6d269d7336c4 100644 --- a/typo3/sysext/extbase/Classes/Validation/Validator/NumberRangeValidator.php +++ b/typo3/sysext/extbase/Classes/Validation/Validator/NumberRangeValidator.php @@ -33,7 +33,6 @@ class NumberRangeValidator extends AbstractValidator * The given value is valid if it is a number in the specified range. * * @param mixed $value The value that should be validated - * @return void * @api */ public function isValid($value) diff --git a/typo3/sysext/extbase/Classes/Validation/Validator/NumberValidator.php b/typo3/sysext/extbase/Classes/Validation/Validator/NumberValidator.php index df29360f5c55..c11804b99bfb 100644 --- a/typo3/sysext/extbase/Classes/Validation/Validator/NumberValidator.php +++ b/typo3/sysext/extbase/Classes/Validation/Validator/NumberValidator.php @@ -25,7 +25,6 @@ class NumberValidator extends AbstractValidator * Checks if the given value is a valid number. * * @param mixed $value The value that should be validated - * @return void */ public function isValid($value) { diff --git a/typo3/sysext/extbase/Classes/Validation/Validator/ObjectValidatorInterface.php b/typo3/sysext/extbase/Classes/Validation/Validator/ObjectValidatorInterface.php index 3e0908e3fc04..2c9cc5af453e 100644 --- a/typo3/sysext/extbase/Classes/Validation/Validator/ObjectValidatorInterface.php +++ b/typo3/sysext/extbase/Classes/Validation/Validator/ObjectValidatorInterface.php @@ -25,7 +25,6 @@ interface ObjectValidatorInterface extends ValidatorInterface * Allows to set a container to keep track of validated instances. * * @param \SplObjectStorage $validatedInstancesContainer A container to keep track of validated instances - * @return void * @api */ public function setValidatedInstancesContainer(\SplObjectStorage $validatedInstancesContainer); diff --git a/typo3/sysext/extbase/Classes/Validation/Validator/RawValidator.php b/typo3/sysext/extbase/Classes/Validation/Validator/RawValidator.php index 9e04177d3227..266c67c5802d 100644 --- a/typo3/sysext/extbase/Classes/Validation/Validator/RawValidator.php +++ b/typo3/sysext/extbase/Classes/Validation/Validator/RawValidator.php @@ -25,7 +25,6 @@ class RawValidator extends AbstractValidator * This validator is always valid. * * @param mixed $value The value that should be validated (not used here) - * @return void * @api */ public function isValid($value) diff --git a/typo3/sysext/extbase/Classes/Validation/Validator/RegularExpressionValidator.php b/typo3/sysext/extbase/Classes/Validation/Validator/RegularExpressionValidator.php index c86591f5ec2b..c5829513a2fb 100644 --- a/typo3/sysext/extbase/Classes/Validation/Validator/RegularExpressionValidator.php +++ b/typo3/sysext/extbase/Classes/Validation/Validator/RegularExpressionValidator.php @@ -32,7 +32,6 @@ class RegularExpressionValidator extends AbstractValidator * Checks if the given value matches the specified regular expression. * * @param mixed $value The value that should be validated - * @return void * @throws \TYPO3\CMS\Extbase\Validation\Exception\InvalidValidationOptionsException * @api */ diff --git a/typo3/sysext/extbase/Classes/Validation/Validator/StringLengthValidator.php b/typo3/sysext/extbase/Classes/Validation/Validator/StringLengthValidator.php index 68fd428f9809..985c82dbf751 100644 --- a/typo3/sysext/extbase/Classes/Validation/Validator/StringLengthValidator.php +++ b/typo3/sysext/extbase/Classes/Validation/Validator/StringLengthValidator.php @@ -35,7 +35,6 @@ class StringLengthValidator extends AbstractValidator * specified in the validation options. * * @param mixed $value The value that should be validated - * @return void * @throws \TYPO3\CMS\Extbase\Validation\Exception\InvalidValidationOptionsException * @api */ diff --git a/typo3/sysext/extbase/Classes/Validation/Validator/StringValidator.php b/typo3/sysext/extbase/Classes/Validation/Validator/StringValidator.php index 3959aefd3df7..b0738e77362d 100644 --- a/typo3/sysext/extbase/Classes/Validation/Validator/StringValidator.php +++ b/typo3/sysext/extbase/Classes/Validation/Validator/StringValidator.php @@ -25,7 +25,6 @@ class StringValidator extends AbstractValidator * Checks if the given value is a string. * * @param mixed $value The value that should be validated - * @return void * @api */ public function isValid($value) diff --git a/typo3/sysext/extbase/Classes/Validation/Validator/TextValidator.php b/typo3/sysext/extbase/Classes/Validation/Validator/TextValidator.php index 3b7ff2ad4d15..6f2b2c19774e 100644 --- a/typo3/sysext/extbase/Classes/Validation/Validator/TextValidator.php +++ b/typo3/sysext/extbase/Classes/Validation/Validator/TextValidator.php @@ -31,7 +31,6 @@ class TextValidator extends AbstractValidator * See http://php.net/filter_var for details. * * @param mixed $value The value that should be validated - * @return void * @api */ public function isValid($value) diff --git a/typo3/sysext/extbase/Classes/Validation/ValidatorResolver.php b/typo3/sysext/extbase/Classes/Validation/ValidatorResolver.php index 98afcd243ca3..d35d230e7bbe 100644 --- a/typo3/sysext/extbase/Classes/Validation/ValidatorResolver.php +++ b/typo3/sysext/extbase/Classes/Validation/ValidatorResolver.php @@ -259,7 +259,6 @@ class ValidatorResolver implements \TYPO3\CMS\Core\SingletonInterface * @param string $indexKey The key to use as index in $this->baseValidatorConjunctions; calculated from target class name and validation groups * @param string $targetClassName The data type to build the validation conjunction for. Needs to be the fully qualified class name. * @param array $validationGroups The validation groups to build the validator for - * @return void * @throws \TYPO3\CMS\Extbase\Validation\Exception\NoSuchValidatorException * @throws \InvalidArgumentException */ @@ -412,7 +411,6 @@ class ValidatorResolver implements \TYPO3\CMS\Core\SingletonInterface * This method is meant as a helper for regular expression results. * * @param string &$quotedValue Value to unquote - * @return void */ protected function unquoteString(&$quotedValue) { diff --git a/typo3/sysext/extbase/Tests/Fixture/ClassWithSetters.php b/typo3/sysext/extbase/Tests/Fixture/ClassWithSetters.php index 3cb1020a68ab..c10ca9311df0 100644 --- a/typo3/sysext/extbase/Tests/Fixture/ClassWithSetters.php +++ b/typo3/sysext/extbase/Tests/Fixture/ClassWithSetters.php @@ -22,7 +22,6 @@ namespace TYPO3\CMS\Extbase\Tests\Fixture; * */ /** * A dummy class with setters for testing data mapping - * */ class ClassWithSetters { diff --git a/typo3/sysext/extbase/Tests/Fixture/ClassWithSettersAndConstructor.php b/typo3/sysext/extbase/Tests/Fixture/ClassWithSettersAndConstructor.php index 3d565eadac7f..559969731a19 100644 --- a/typo3/sysext/extbase/Tests/Fixture/ClassWithSettersAndConstructor.php +++ b/typo3/sysext/extbase/Tests/Fixture/ClassWithSettersAndConstructor.php @@ -22,7 +22,6 @@ namespace TYPO3\CMS\Extbase\Tests\Fixture; * */ /** * A dummy class with setters for testing data mapping - * */ class ClassWithSettersAndConstructor { diff --git a/typo3/sysext/extbase/Tests/Fixture/Entity.php b/typo3/sysext/extbase/Tests/Fixture/Entity.php index c637de9e45ea..2e6271075596 100644 --- a/typo3/sysext/extbase/Tests/Fixture/Entity.php +++ b/typo3/sysext/extbase/Tests/Fixture/Entity.php @@ -40,7 +40,6 @@ class Entity extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets this entity's name * * @param string $name The entity's name - * @return void */ public function setName($name) { diff --git a/typo3/sysext/extbase/Tests/Fixture/ValueObject.php b/typo3/sysext/extbase/Tests/Fixture/ValueObject.php index 220d649d92e0..5294df411ddf 100644 --- a/typo3/sysext/extbase/Tests/Fixture/ValueObject.php +++ b/typo3/sysext/extbase/Tests/Fixture/ValueObject.php @@ -40,7 +40,6 @@ class ValueObject extends \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject * Sets this value object's name * * @param string $name The value object's name - * @return void */ public function setName($name) { diff --git a/typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Blog.php b/typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Blog.php index 3d1972ddc569..7a96e03ec68d 100644 --- a/typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Blog.php +++ b/typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Blog.php @@ -66,7 +66,6 @@ class Blog extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * Constructs a new Blog - * */ public function __construct() { @@ -77,7 +76,6 @@ class Blog extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets this blog's title * * @param string $title The blog's title - * @return void */ public function setTitle($title) { @@ -96,7 +94,6 @@ class Blog extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $logo - * @return void */ public function setLogo($logo) { @@ -115,7 +112,6 @@ class Blog extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the description for the blog * * @param string $description - * @return void */ public function setDescription($description) { @@ -136,7 +132,6 @@ class Blog extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Adds a post to this blog * * @param Post $post - * @return void */ public function addPost(Post $post) { @@ -147,7 +142,6 @@ class Blog extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Remove a post from this blog * * @param Post $postToRemove The post to be removed - * @return void */ public function removePost(Post $postToRemove) { @@ -156,8 +150,6 @@ class Blog extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * Remove all posts from this blog - * - * @return void */ public function removeAllPosts() { @@ -218,7 +210,6 @@ class Blog extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the administrator value * * @param Administrator $administrator The Administrator of this Blog - * @return void */ public function setAdministrator(Administrator $administrator) { diff --git a/typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Comment.php b/typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Comment.php index 858450d13c1a..bb38752c6aea 100644 --- a/typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Comment.php +++ b/typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Comment.php @@ -54,7 +54,6 @@ class Comment extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for date * * @param \DateTime $date - * @return void */ public function setDate(\DateTime $date) { @@ -75,7 +74,6 @@ class Comment extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the author for this comment * * @param string $author - * @return void */ public function setAuthor($author) { @@ -96,7 +94,6 @@ class Comment extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the authors email for this comment * * @param string $email email of the author - * @return void */ public function setEmail($email) { @@ -117,7 +114,6 @@ class Comment extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the content for this comment * * @param string $content - * @return void */ public function setContent($content) { diff --git a/typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Person.php b/typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Person.php index 3fb134e1b96f..5a24ef9f8114 100644 --- a/typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Person.php +++ b/typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Person.php @@ -46,7 +46,6 @@ class Person extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * Constructs a new Person - * */ public function __construct($firstname, $lastname, $email) { @@ -59,7 +58,6 @@ class Person extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets this persons's firstname * * @param string $firstname The person's firstname - * @return void */ public function setFirstname($firstname) { @@ -80,7 +78,6 @@ class Person extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets this persons's lastname * * @param string $lastname The person's lastname - * @return void */ public function setLastname($lastname) { @@ -111,7 +108,6 @@ class Person extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets this persons's email address * * @param string $email The person's email address - * @return void */ public function setEmail($email) { diff --git a/typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Post.php b/typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Post.php index bdfbeb62aca5..ea070b50675a 100644 --- a/typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Post.php +++ b/typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Post.php @@ -85,7 +85,6 @@ class Post extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the blog this post is part of * * @param \ExtbaseTeam\BlogExample\Domain\Model\Blog $blog The blog - * @return void */ public function setBlog(\ExtbaseTeam\BlogExample\Domain\Model\Blog $blog) { @@ -106,7 +105,6 @@ class Post extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for title * * @param string $title - * @return void */ public function setTitle($title) { @@ -127,7 +125,6 @@ class Post extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for date * * @param \DateTime $date - * @return void */ public function setDate(\DateTime $date) { @@ -149,7 +146,6 @@ class Post extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for tags * * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $tags One or more Tag objects - * @return void */ public function setTags(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $tags) { @@ -160,7 +156,6 @@ class Post extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Adds a tag to this post * * @param Tag $tag - * @return void */ public function addTag(Tag $tag) { @@ -171,7 +166,6 @@ class Post extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Removes a tag from this post * * @param Tag $tag - * @return void */ public function removeTag(Tag $tag) { @@ -180,8 +174,6 @@ class Post extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * Remove all tags from this post - * - * @return void */ public function removeAllTags() { @@ -243,7 +235,6 @@ class Post extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the author for this post * * @param \ExtbaseTeam\BlogExample\Domain\Model\Person $author - * @return void */ public function setAuthor(\ExtbaseTeam\BlogExample\Domain\Model\Person $author) { @@ -264,7 +255,6 @@ class Post extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Sets the content for this post * * @param string $content - * @return void */ public function setContent($content) { @@ -285,7 +275,6 @@ class Post extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for the comments to this post * * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $comments An Object Storage of related Comment instances - * @return void */ public function setComments(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $comments) { @@ -296,7 +285,6 @@ class Post extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Adds a comment to this post * * @param Comment $comment - * @return void */ public function addComment(Comment $comment) { @@ -307,7 +295,6 @@ class Post extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Removes Comment from this post * * @param Comment $commentToDelete - * @return void */ public function removeComment(Comment $commentToDelete) { @@ -316,8 +303,6 @@ class Post extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * Remove all comments from this post - * - * @return void */ public function removeAllComments() { @@ -339,7 +324,6 @@ class Post extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Setter for the related posts * * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $relatedPosts An Object Storage containing related Posts instances - * @return void */ public function setRelatedPosts(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $relatedPosts) { @@ -350,7 +334,6 @@ class Post extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Adds a related post * * @param Post $post - * @return void */ public function addRelatedPost(Post $post) { @@ -359,8 +342,6 @@ class Post extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * Remove all related posts - * - * @return void */ public function removeAllRelatedPosts() { diff --git a/typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Repository/BlogRepository.php b/typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Repository/BlogRepository.php index 7f4a5239f426..74a63b11440b 100644 --- a/typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Repository/BlogRepository.php +++ b/typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Repository/BlogRepository.php @@ -26,8 +26,6 @@ class BlogRepository extends \TYPO3\CMS\Extbase\Persistence\Repository /** * Life cycle method. - * - * @return void */ public function initializeObject() { diff --git a/typo3/sysext/extbase/Tests/Unit/Mvc/Cli/CommandTest.php b/typo3/sysext/extbase/Tests/Unit/Mvc/Cli/CommandTest.php index 5fd4c4efc824..c6bb34dcf4d4 100644 --- a/typo3/sysext/extbase/Tests/Unit/Mvc/Cli/CommandTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Mvc/Cli/CommandTest.php @@ -42,7 +42,6 @@ class CommandTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase protected $mockObjectManager; /** - * @return void */ protected function setUp() { diff --git a/typo3/sysext/extbase/Tests/Unit/Mvc/View/JsonViewTest.php b/typo3/sysext/extbase/Tests/Unit/Mvc/View/JsonViewTest.php index 40339ac127c7..5ef1c6c858d7 100644 --- a/typo3/sysext/extbase/Tests/Unit/Mvc/View/JsonViewTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Mvc/View/JsonViewTest.php @@ -18,7 +18,6 @@ use TYPO3\CMS\Extbase\Mvc\View\JsonView; /** * Testcase for the JSON view - * */ class JsonViewTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { @@ -39,7 +38,6 @@ class JsonViewTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Sets up this test case - * @return void */ protected function setUp() { diff --git a/typo3/sysext/extbase/Tests/Unit/Mvc/Web/RequestBuilderTest.php b/typo3/sysext/extbase/Tests/Unit/Mvc/Web/RequestBuilderTest.php index f5ea8cd5fdc3..699b5a17a578 100644 --- a/typo3/sysext/extbase/Tests/Unit/Mvc/Web/RequestBuilderTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Mvc/Web/RequestBuilderTest.php @@ -89,7 +89,6 @@ class RequestBuilderTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase } /** - * @return void */ protected function injectDependencies() { diff --git a/typo3/sysext/extbase/Tests/Unit/Object/Container/ContainerTest.php b/typo3/sysext/extbase/Tests/Unit/Object/Container/ContainerTest.php index 77eeec0e5f59..2a98dcd9f28d 100644 --- a/typo3/sysext/extbase/Tests/Unit/Object/Container/ContainerTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Object/Container/ContainerTest.php @@ -221,7 +221,6 @@ class ContainerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * * @param string $id * @param \TYPO3\CMS\Extbase\Object\Container\ClassInfo $value - * @return void */ public function setClassInfoCacheCallback($id, \TYPO3\CMS\Extbase\Object\Container\ClassInfo $value) { diff --git a/typo3/sysext/extbase/Tests/Unit/Persistence/Fixture/Model/Entity2.php b/typo3/sysext/extbase/Tests/Unit/Persistence/Fixture/Model/Entity2.php index cc8c9d368811..248e9c27c2ce 100644 --- a/typo3/sysext/extbase/Tests/Unit/Persistence/Fixture/Model/Entity2.php +++ b/typo3/sysext/extbase/Tests/Unit/Persistence/Fixture/Model/Entity2.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Persistence\Fixture\Model; /** * A model fixture used for testing the persistence manager - * */ class Entity2 extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity { diff --git a/typo3/sysext/extbase/Tests/Unit/Persistence/Fixture/Model/Entity3.php b/typo3/sysext/extbase/Tests/Unit/Persistence/Fixture/Model/Entity3.php index 1bf0750ee3fa..ea4923270275 100644 --- a/typo3/sysext/extbase/Tests/Unit/Persistence/Fixture/Model/Entity3.php +++ b/typo3/sysext/extbase/Tests/Unit/Persistence/Fixture/Model/Entity3.php @@ -13,7 +13,6 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Persistence\Fixture\Model; /** * A model fixture used for testing the persistence manager - * */ class Entity3 extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity { diff --git a/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryResultTest.php b/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryResultTest.php index facaafcc2ba9..e0919d832582 100644 --- a/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryResultTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryResultTest.php @@ -46,8 +46,6 @@ class QueryResultTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Sets up this test case - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryTest.php b/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryTest.php index ee4c42326af8..d472640e3c76 100644 --- a/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryTest.php @@ -41,8 +41,6 @@ class QueryTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Sets up this test case - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/extbase/Tests/Unit/Property/PropertyMapperTest.php b/typo3/sysext/extbase/Tests/Unit/Property/PropertyMapperTest.php index accadace05b9..434041ae3044 100644 --- a/typo3/sysext/extbase/Tests/Unit/Property/PropertyMapperTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Property/PropertyMapperTest.php @@ -45,8 +45,6 @@ class PropertyMapperTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Sets up this test case - * - * @return void */ protected function setUp() { @@ -321,7 +319,6 @@ class PropertyMapperTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * @param mixed $typeConverters * @param bool $shouldFailWithException * @throws \Exception - * @return void */ public function findTypeConverterShouldReturnConverterForTargetObjectIfItExists($targetClass, $expectedTypeConverter, $typeConverters, $shouldFailWithException = false) { diff --git a/typo3/sysext/extbase/Tests/Unit/Reflection/Fixture/DummyClassWithGettersAndSetters.php b/typo3/sysext/extbase/Tests/Unit/Reflection/Fixture/DummyClassWithGettersAndSetters.php index 58fea9006adb..4cec6ce2ab19 100644 --- a/typo3/sysext/extbase/Tests/Unit/Reflection/Fixture/DummyClassWithGettersAndSetters.php +++ b/typo3/sysext/extbase/Tests/Unit/Reflection/Fixture/DummyClassWithGettersAndSetters.php @@ -157,8 +157,6 @@ class DummyClassWithGettersAndSetters * sets the AnotherBooleanProperty * * @param bool $anotherBooleanProperty - * - * @return void */ public function setAnotherBooleanProperty($anotherBooleanProperty) { diff --git a/typo3/sysext/extbase/Tests/Unit/Reflection/ReflectionServiceTest.php b/typo3/sysext/extbase/Tests/Unit/Reflection/ReflectionServiceTest.php index 772b55bb6205..3c1b93abfa8e 100644 --- a/typo3/sysext/extbase/Tests/Unit/Reflection/ReflectionServiceTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Reflection/ReflectionServiceTest.php @@ -26,7 +26,7 @@ class ReflectionServiceTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa { /** * @param array $foo The foo parameter - * @return void + * @return string */ public function fixtureMethodForMethodTagsValues(array $foo) { @@ -35,7 +35,6 @@ class ReflectionServiceTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @param bool $dummy * @param int $foo - * @return void */ public function fixtureMethodForMethodTagsValuesWithShortTypes($dummy, $foo) { @@ -85,7 +84,7 @@ class ReflectionServiceTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa $tagsValues = $service->getMethodTagsValues(get_class($this), 'fixtureMethodForMethodTagsValues'); $this->assertEquals([ 'param' => ['array $foo The foo parameter'], - 'return' => ['void'] + 'return' => ['string'] ], $tagsValues); } diff --git a/typo3/sysext/extbase/Tests/Unit/Utility/DebuggerUtilityTest.php b/typo3/sysext/extbase/Tests/Unit/Utility/DebuggerUtilityTest.php index d7f0c85dbe02..bfbef64e54d4 100644 --- a/typo3/sysext/extbase/Tests/Unit/Utility/DebuggerUtilityTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Utility/DebuggerUtilityTest.php @@ -51,7 +51,6 @@ class DebuggerUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * @test - * @return void */ public function varDumpRespectsBlacklistedProperties() { @@ -65,7 +64,6 @@ class DebuggerUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * @test - * @return void */ public function varDumpRespectsBlacklistedClasses() { diff --git a/typo3/sysext/extbase/Tests/Unit/Utility/LocalizationUtilityTest.php b/typo3/sysext/extbase/Tests/Unit/Utility/LocalizationUtilityTest.php index 552397a947e9..a68680c63dcc 100644 --- a/typo3/sysext/extbase/Tests/Unit/Utility/LocalizationUtilityTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Utility/LocalizationUtilityTest.php @@ -270,7 +270,6 @@ class LocalizationUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTest * @param string $expected * @param array $altLanguageKeys * @param array $arguments - * @return void * @dataProvider translateDataProvider * @test */ @@ -392,7 +391,6 @@ class LocalizationUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTest * @param array $typoScriptLocalLang * @param string $languageKey * @param array $expected - * @return void * @dataProvider loadTypoScriptLabelsProvider * @test */ @@ -423,7 +421,6 @@ class LocalizationUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTest } /** - * @return void * @test */ public function clearLabelWithTypoScript() diff --git a/typo3/sysext/extbase/Tests/Unit/Validation/Validator/CollectionValidatorTest.php b/typo3/sysext/extbase/Tests/Unit/Validation/Validator/CollectionValidatorTest.php index 394e7e9068d6..38c5a459ad18 100644 --- a/typo3/sysext/extbase/Tests/Unit/Validation/Validator/CollectionValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Validation/Validator/CollectionValidatorTest.php @@ -52,7 +52,6 @@ class CollectionValidatorTest extends \TYPO3\TestingFramework\Core\Unit\UnitTest } /** - * @return void */ protected function setUp() { diff --git a/typo3/sysext/extbase/Tests/Unit/Validation/Validator/Fixture/AbstractCompositeValidatorClass.php b/typo3/sysext/extbase/Tests/Unit/Validation/Validator/Fixture/AbstractCompositeValidatorClass.php index b453e6ed358f..e28b6be2087e 100644 --- a/typo3/sysext/extbase/Tests/Unit/Validation/Validator/Fixture/AbstractCompositeValidatorClass.php +++ b/typo3/sysext/extbase/Tests/Unit/Validation/Validator/Fixture/AbstractCompositeValidatorClass.php @@ -41,7 +41,6 @@ class AbstractCompositeValidatorClass extends \TYPO3\CMS\Extbase\Validation\Vali * to Result. * * @param mixed $value - * @return void */ protected function isValid($value) { diff --git a/typo3/sysext/extbase/Tests/Unit/Validation/Validator/Fixture/AbstractValidatorClass.php b/typo3/sysext/extbase/Tests/Unit/Validation/Validator/Fixture/AbstractValidatorClass.php index d167f6df363f..14a7bd14b79b 100644 --- a/typo3/sysext/extbase/Tests/Unit/Validation/Validator/Fixture/AbstractValidatorClass.php +++ b/typo3/sysext/extbase/Tests/Unit/Validation/Validator/Fixture/AbstractValidatorClass.php @@ -41,7 +41,6 @@ class AbstractValidatorClass extends \TYPO3\CMS\Extbase\Validation\Validator\Abs * to Result. * * @param mixed $value - * @return void */ protected function isValid($value) { diff --git a/typo3/sysext/extensionmanager/Classes/Command/ExtensionCommandController.php b/typo3/sysext/extensionmanager/Classes/Command/ExtensionCommandController.php index 5389271e5424..f87882299497 100644 --- a/typo3/sysext/extensionmanager/Classes/Command/ExtensionCommandController.php +++ b/typo3/sysext/extensionmanager/Classes/Command/ExtensionCommandController.php @@ -48,7 +48,6 @@ class ExtensionCommandController extends CommandController * recognised extension folder paths in TYPO3. * * @param string $extensionKey - * @return void * @cli */ public function installCommand($extensionKey) @@ -67,7 +66,6 @@ class ExtensionCommandController extends CommandController * recognised extension folder paths in TYPO3. * * @param string $extensionKey - * @return void * @cli */ public function uninstallCommand($extensionKey) @@ -83,7 +81,6 @@ class ExtensionCommandController extends CommandController * This command is only needed during development. The extension manager takes care * creating or updating this info properly during extension (de-)activation. * - * @return void * @cli */ public function dumpClassLoadingInformationCommand() diff --git a/typo3/sysext/extensionmanager/Classes/Controller/AbstractController.php b/typo3/sysext/extensionmanager/Classes/Controller/AbstractController.php index 017ac8d9dcd3..59e57629ca39 100644 --- a/typo3/sysext/extensionmanager/Classes/Controller/AbstractController.php +++ b/typo3/sysext/extensionmanager/Classes/Controller/AbstractController.php @@ -47,8 +47,6 @@ class AbstractController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControl * Handles trigger arguments, e.g. refreshing the module menu * widget if an extension with backend modules has been enabled * or disabled. - * - * @return void */ protected function handleTriggerArguments() { diff --git a/typo3/sysext/extensionmanager/Classes/Controller/AbstractModuleController.php b/typo3/sysext/extensionmanager/Classes/Controller/AbstractModuleController.php index 327175fc7d19..9e4b4f5ee153 100644 --- a/typo3/sysext/extensionmanager/Classes/Controller/AbstractModuleController.php +++ b/typo3/sysext/extensionmanager/Classes/Controller/AbstractModuleController.php @@ -55,8 +55,6 @@ class AbstractModuleController extends AbstractController /** * Generates the action menu - * - * @return void */ protected function generateMenu() { diff --git a/typo3/sysext/extensionmanager/Classes/Controller/ActionController.php b/typo3/sysext/extensionmanager/Classes/Controller/ActionController.php index fc0e8ca032aa..f3d717e16f44 100644 --- a/typo3/sysext/extensionmanager/Classes/Controller/ActionController.php +++ b/typo3/sysext/extensionmanager/Classes/Controller/ActionController.php @@ -111,7 +111,6 @@ class ActionController extends AbstractController * Install an extension and omit dependency checking * * @param string $extensionKey - * @return void */ public function installExtensionWithoutSystemDependencyCheckAction($extensionKey) { diff --git a/typo3/sysext/extensionmanager/Classes/Controller/ConfigurationController.php b/typo3/sysext/extensionmanager/Classes/Controller/ConfigurationController.php index 9e6394874d67..c229f29d8664 100644 --- a/typo3/sysext/extensionmanager/Classes/Controller/ConfigurationController.php +++ b/typo3/sysext/extensionmanager/Classes/Controller/ConfigurationController.php @@ -56,7 +56,6 @@ class ConfigurationController extends AbstractModuleController * Set up the doc header properly here * * @param ViewInterface $view - * @return void */ protected function initializeView(ViewInterface $view) { @@ -74,7 +73,6 @@ class ConfigurationController extends AbstractModuleController * * @param array $extension Extension information, must contain at least the key * @throws \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException - * @return void */ public function showConfigurationFormAction(array $extension) { @@ -106,7 +104,6 @@ class ConfigurationController extends AbstractModuleController * * @param array $config The new extension configuration * @param string $extensionKey The extension key - * @return void */ public function saveAction(array $config, $extensionKey) { @@ -133,7 +130,6 @@ class ConfigurationController extends AbstractModuleController * * @param array $config * @param string $extensionKey - * @return void */ public function saveAndCloseAction(array $config, $extensionKey) { @@ -148,7 +144,6 @@ class ConfigurationController extends AbstractModuleController * * @param string $extensionKey * @param array $newConfiguration - * @return void */ protected function emitAfterExtensionConfigurationWriteSignal($extensionKey, array $newConfiguration) { @@ -160,7 +155,6 @@ class ConfigurationController extends AbstractModuleController * * @param array $config * @param $extensionKey - * @return void */ protected function saveConfiguration(array $config, $extensionKey) { @@ -178,7 +172,6 @@ class ConfigurationController extends AbstractModuleController /** * Registers the Icons into the docheader * - * @return void * @throws \InvalidArgumentException */ protected function registerDocheaderButtons() diff --git a/typo3/sysext/extensionmanager/Classes/Controller/DistributionController.php b/typo3/sysext/extensionmanager/Classes/Controller/DistributionController.php index 4658597bc0a8..7d4660df2ad6 100644 --- a/typo3/sysext/extensionmanager/Classes/Controller/DistributionController.php +++ b/typo3/sysext/extensionmanager/Classes/Controller/DistributionController.php @@ -40,7 +40,6 @@ class DistributionController extends AbstractModuleController * Set up the doc header properly here * * @param ViewInterface $view - * @return void */ protected function initializeView(ViewInterface $view) { @@ -83,7 +82,6 @@ class DistributionController extends AbstractModuleController /** * Registers the Icons into the docheader * - * @return void * @throws \InvalidArgumentException */ protected function registerDocheaderButtons() diff --git a/typo3/sysext/extensionmanager/Classes/Controller/DownloadController.php b/typo3/sysext/extensionmanager/Classes/Controller/DownloadController.php index ae2ee81955fc..35924b3190d5 100644 --- a/typo3/sysext/extensionmanager/Classes/Controller/DownloadController.php +++ b/typo3/sysext/extensionmanager/Classes/Controller/DownloadController.php @@ -232,7 +232,6 @@ class DownloadController extends AbstractController * redirects directly to configuration after installing * * @param \TYPO3\CMS\Extensionmanager\Domain\Model\Extension $extension - * @return void */ public function installDistributionAction(\TYPO3\CMS\Extensionmanager\Domain\Model\Extension $extension) { @@ -317,8 +316,6 @@ class DownloadController extends AbstractController * Show update comments for extensions that can be updated. * Fetches update comments for all versions between the current * installed and the highest version. - * - * @return void */ protected function updateCommentForUpdatableVersionsAction() { diff --git a/typo3/sysext/extensionmanager/Classes/Controller/ListController.php b/typo3/sysext/extensionmanager/Classes/Controller/ListController.php index e1cd5896303f..7e4d6662cba3 100644 --- a/typo3/sysext/extensionmanager/Classes/Controller/ListController.php +++ b/typo3/sysext/extensionmanager/Classes/Controller/ListController.php @@ -111,7 +111,6 @@ class ListController extends AbstractModuleController * Set up the doc header properly here * * @param ViewInterface $view - * @return void */ protected function initializeView(ViewInterface $view) { @@ -145,8 +144,6 @@ class ListController extends AbstractModuleController /** * Shows list of extensions present in the system - * - * @return void */ public function indexAction() { @@ -162,7 +159,6 @@ class ListController extends AbstractModuleController * * @param string $extensionKey * @throws ExtensionManagerException - * @return void */ public function unresolvedDependenciesAction($extensionKey) { @@ -189,7 +185,6 @@ class ListController extends AbstractModuleController * Either all extensions or depending on a search param * * @param string $search - * @return void */ public function terAction($search = '') { @@ -210,7 +205,6 @@ class ListController extends AbstractModuleController * Action for listing all possible distributions * * @param bool $showUnsuitableDistributions - * @return void */ public function distributionsAction($showUnsuitableDistributions = false) { @@ -251,7 +245,6 @@ class ListController extends AbstractModuleController * Shows all versions of a specific extension * * @param string $extensionKey - * @return void */ public function showAllVersionsAction($extensionKey) { diff --git a/typo3/sysext/extensionmanager/Classes/Controller/UpdateFromTerController.php b/typo3/sysext/extensionmanager/Classes/Controller/UpdateFromTerController.php index ca437c5f044f..751a323e89ab 100644 --- a/typo3/sysext/extensionmanager/Classes/Controller/UpdateFromTerController.php +++ b/typo3/sysext/extensionmanager/Classes/Controller/UpdateFromTerController.php @@ -82,7 +82,6 @@ class UpdateFromTerController extends AbstractController * Update extension list from TER * * @param bool $forceUpdateCheck - * @return void */ public function updateExtensionListFromTerAction($forceUpdateCheck = false) { diff --git a/typo3/sysext/extensionmanager/Classes/Controller/UpdateScriptController.php b/typo3/sysext/extensionmanager/Classes/Controller/UpdateScriptController.php index 1c88a8a0e425..992b40b7389a 100644 --- a/typo3/sysext/extensionmanager/Classes/Controller/UpdateScriptController.php +++ b/typo3/sysext/extensionmanager/Classes/Controller/UpdateScriptController.php @@ -27,7 +27,6 @@ class UpdateScriptController extends AbstractModuleController * Set up the doc header properly here * * @param ViewInterface $view - * @return void */ protected function initializeView(ViewInterface $view) { @@ -43,7 +42,6 @@ class UpdateScriptController extends AbstractModuleController * Show the content of the update script (if any). * * @param string $extensionKey Extension key - * @return void * @throws \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException */ public function showAction($extensionKey) @@ -61,7 +59,6 @@ class UpdateScriptController extends AbstractModuleController /** * Registers the Icons into the docheader * - * @return void * @throws \InvalidArgumentException */ protected function registerDocheaderButtons() diff --git a/typo3/sysext/extensionmanager/Classes/Controller/UploadExtensionFileController.php b/typo3/sysext/extensionmanager/Classes/Controller/UploadExtensionFileController.php index cb53d8f584dc..c225fa536f5e 100644 --- a/typo3/sysext/extensionmanager/Classes/Controller/UploadExtensionFileController.php +++ b/typo3/sysext/extensionmanager/Classes/Controller/UploadExtensionFileController.php @@ -111,8 +111,6 @@ class UploadExtensionFileController extends AbstractController /** * Render upload extension form - * - * @return void */ public function formAction() { @@ -129,7 +127,6 @@ class UploadExtensionFileController extends AbstractController * * @param bool $overwrite Overwrite existing extension if TRUE * @throws \TYPO3\CMS\Extbase\Mvc\Exception\StopActionException - * @return void */ public function extractAction($overwrite = false) { @@ -189,7 +186,6 @@ class UploadExtensionFileController extends AbstractController * Validate the filename of an uploaded file * * @param string $fileName - * @return void * @throws \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException */ public function checkFileName($fileName) @@ -322,7 +318,6 @@ class UploadExtensionFileController extends AbstractController * * @param string $extensionKey * @throws \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException - * @return void */ protected function copyExtensionFolderToTempFolder($extensionKey) { @@ -339,7 +334,6 @@ class UploadExtensionFileController extends AbstractController * * @param string $fileName * @see UploadExtensionFileController::extractAction - * @return void */ protected function removeExtensionAndRestoreFromBackup($fileName) { @@ -355,7 +349,6 @@ class UploadExtensionFileController extends AbstractController /** * Removes the backup folder in typo3temp - * @return void */ protected function removeBackupFolder() { diff --git a/typo3/sysext/extensionmanager/Classes/Domain/Model/ConfigurationCategory.php b/typo3/sysext/extensionmanager/Classes/Domain/Model/ConfigurationCategory.php index 0c123ecf9cdf..ca20533b9f4a 100644 --- a/typo3/sysext/extensionmanager/Classes/Domain/Model/ConfigurationCategory.php +++ b/typo3/sysext/extensionmanager/Classes/Domain/Model/ConfigurationCategory.php @@ -44,7 +44,6 @@ class ConfigurationCategory extends \TYPO3\CMS\Extbase\DomainObject\AbstractEnti /** * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $subcategories - * @return void */ public function setSubcategories($subcategories) { @@ -63,7 +62,6 @@ class ConfigurationCategory extends \TYPO3\CMS\Extbase\DomainObject\AbstractEnti * Adds a subcategories * * @param \TYPO3\CMS\Extensionmanager\Domain\Model\ConfigurationSubcategory $subcategory - * @return void */ public function addSubcategory(\TYPO3\CMS\Extensionmanager\Domain\Model\ConfigurationSubcategory $subcategory) { @@ -72,7 +70,6 @@ class ConfigurationCategory extends \TYPO3\CMS\Extbase\DomainObject\AbstractEnti /** * @param string $name - * @return void */ public function setName($name) { @@ -89,7 +86,6 @@ class ConfigurationCategory extends \TYPO3\CMS\Extbase\DomainObject\AbstractEnti /** * @param string $highlightText - * @return void */ public function setHighlightText($highlightText) { diff --git a/typo3/sysext/extensionmanager/Classes/Domain/Model/ConfigurationItem.php b/typo3/sysext/extensionmanager/Classes/Domain/Model/ConfigurationItem.php index d619430b7ddc..5c168f971121 100644 --- a/typo3/sysext/extensionmanager/Classes/Domain/Model/ConfigurationItem.php +++ b/typo3/sysext/extensionmanager/Classes/Domain/Model/ConfigurationItem.php @@ -66,7 +66,6 @@ class ConfigurationItem extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $category - * @return void */ public function setCategory($category) { @@ -83,7 +82,6 @@ class ConfigurationItem extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $labelHeadline - * @return void */ public function setLabelHeadline($labelHeadline) { @@ -100,7 +98,6 @@ class ConfigurationItem extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $labelText - * @return void */ public function setLabelText($labelText) { @@ -117,7 +114,6 @@ class ConfigurationItem extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $subCategory - * @return void */ public function setSubCategory($subCategory) { @@ -134,7 +130,6 @@ class ConfigurationItem extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $type - * @return void */ public function setType($type) { @@ -151,7 +146,6 @@ class ConfigurationItem extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param mixed $userFunc - * @return void */ public function setGeneric($userFunc) { @@ -168,7 +162,6 @@ class ConfigurationItem extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $name - * @return void */ public function setName($name) { @@ -185,7 +178,6 @@ class ConfigurationItem extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $value - * @return void */ public function setValue($value) { @@ -202,7 +194,6 @@ class ConfigurationItem extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param int $highlight - * @return void */ public function setHighlight($highlight) { diff --git a/typo3/sysext/extensionmanager/Classes/Domain/Model/ConfigurationSubcategory.php b/typo3/sysext/extensionmanager/Classes/Domain/Model/ConfigurationSubcategory.php index ce8403392fc7..e02ad532be6f 100644 --- a/typo3/sysext/extensionmanager/Classes/Domain/Model/ConfigurationSubcategory.php +++ b/typo3/sysext/extensionmanager/Classes/Domain/Model/ConfigurationSubcategory.php @@ -48,7 +48,6 @@ class ConfigurationSubcategory extends \TYPO3\CMS\Extbase\DomainObject\AbstractE /** * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $items - * @return void */ public function setItems($items) { @@ -67,7 +66,6 @@ class ConfigurationSubcategory extends \TYPO3\CMS\Extbase\DomainObject\AbstractE * Adds a subcategory * * @param \TYPO3\CMS\Extensionmanager\Domain\Model\ConfigurationItem $item - * @return void */ public function addItem(\TYPO3\CMS\Extensionmanager\Domain\Model\ConfigurationItem $item) { @@ -76,7 +74,6 @@ class ConfigurationSubcategory extends \TYPO3\CMS\Extbase\DomainObject\AbstractE /** * @param string $name - * @return void */ public function setName($name) { @@ -95,7 +92,6 @@ class ConfigurationSubcategory extends \TYPO3\CMS\Extbase\DomainObject\AbstractE * Set sub category label * * @param string $label - * @return void */ public function setLabel($label) { diff --git a/typo3/sysext/extensionmanager/Classes/Domain/Model/Dependency.php b/typo3/sysext/extensionmanager/Classes/Domain/Model/Dependency.php index 3b4e4308cfbd..d29c88a5d064 100644 --- a/typo3/sysext/extensionmanager/Classes/Domain/Model/Dependency.php +++ b/typo3/sysext/extensionmanager/Classes/Domain/Model/Dependency.php @@ -58,7 +58,6 @@ class Dependency extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $highestVersion - * @return void */ public function setHighestVersion($highestVersion) { @@ -75,7 +74,6 @@ class Dependency extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $identifier - * @return void */ public function setIdentifier($identifier) { @@ -92,7 +90,6 @@ class Dependency extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $lowestVersion - * @return void */ public function setLowestVersion($lowestVersion) { @@ -110,7 +107,6 @@ class Dependency extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $type * @throws \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException if no valid dependency type was given - * @return void */ public function setType($type) { diff --git a/typo3/sysext/extensionmanager/Classes/Domain/Model/DownloadQueue.php b/typo3/sysext/extensionmanager/Classes/Domain/Model/DownloadQueue.php index cb091247001d..78cb08d5ef76 100644 --- a/typo3/sysext/extensionmanager/Classes/Domain/Model/DownloadQueue.php +++ b/typo3/sysext/extensionmanager/Classes/Domain/Model/DownloadQueue.php @@ -63,7 +63,6 @@ class DownloadQueue implements \TYPO3\CMS\Core\SingletonInterface * @param \TYPO3\CMS\Extensionmanager\Domain\Model\Extension $extension * @param string $stack * @throws \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException - * @return void */ public function addExtensionToQueue(\TYPO3\CMS\Extensionmanager\Domain\Model\Extension $extension, $stack = 'download') { @@ -99,7 +98,6 @@ class DownloadQueue implements \TYPO3\CMS\Core\SingletonInterface * @param \TYPO3\CMS\Extensionmanager\Domain\Model\Extension $extension * @param string $stack Stack to remove extension from (download, update or install) * @throws \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException - * @return void */ public function removeExtensionFromQueue(\TYPO3\CMS\Extensionmanager\Domain\Model\Extension $extension, $stack = 'download') { @@ -117,7 +115,6 @@ class DownloadQueue implements \TYPO3\CMS\Core\SingletonInterface * Adds an extension to the install queue for later installation * * @param Extension $extension - * @return void */ public function addExtensionToInstallQueue($extension) { @@ -128,7 +125,6 @@ class DownloadQueue implements \TYPO3\CMS\Core\SingletonInterface * Removes an extension from the install queue * * @param string $extensionKey - * @return void */ public function removeExtensionFromInstallQueue($extensionKey) { @@ -142,7 +138,6 @@ class DownloadQueue implements \TYPO3\CMS\Core\SingletonInterface * * @param string $extensionKey * @param string $sourceFolder - * @return void */ public function addExtensionToCopyQueue($extensionKey, $sourceFolder) { @@ -153,7 +148,6 @@ class DownloadQueue implements \TYPO3\CMS\Core\SingletonInterface * Remove an extension from extension copy storage * * @param $extensionKey - * @return void */ public function removeExtensionFromCopyQueue($extensionKey) { diff --git a/typo3/sysext/extensionmanager/Classes/Domain/Model/Extension.php b/typo3/sysext/extensionmanager/Classes/Domain/Model/Extension.php index 189a93e6d1e1..0d8a595e3ff4 100644 --- a/typo3/sysext/extensionmanager/Classes/Domain/Model/Extension.php +++ b/typo3/sysext/extensionmanager/Classes/Domain/Model/Extension.php @@ -165,7 +165,6 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $authorEmail - * @return void */ public function setAuthorEmail($authorEmail) { @@ -182,7 +181,6 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $authorName - * @return void */ public function setAuthorName($authorName) { @@ -199,7 +197,6 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param int $category - * @return void */ public function setCategory($category) { @@ -254,7 +251,6 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $description - * @return void */ public function setDescription($description) { @@ -271,7 +267,6 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $extensionKey - * @return void */ public function setExtensionKey($extensionKey) { @@ -288,7 +283,6 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param \DateTime $lastUpdated - * @return void */ public function setLastUpdated(\DateTime $lastUpdated) { @@ -305,7 +299,6 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param int $state - * @return void */ public function setState($state) { @@ -371,7 +364,6 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $title - * @return void */ public function setTitle($title) { @@ -388,7 +380,6 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $updateComment - * @return void */ public function setUpdateComment($updateComment) { @@ -405,7 +396,6 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $version - * @return void */ public function setVersion($version) { @@ -422,7 +412,6 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param bool $currentVersion - * @return void */ public function setCurrentVersion($currentVersion) { @@ -439,7 +428,6 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $md5hash - * @return void */ public function setMd5hash($md5hash) { @@ -505,7 +493,6 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $dependencies - * @return void */ public function setSerializedDependencies($dependencies) { @@ -522,7 +509,6 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param \SplObjectStorage $dependencies - * @return void */ public function setDependencies($dependencies) { @@ -544,7 +530,6 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param \TYPO3\CMS\Extensionmanager\Domain\Model\Dependency $dependency - * @return void */ public function addDependency(\TYPO3\CMS\Extensionmanager\Domain\Model\Dependency $dependency) { @@ -553,7 +538,6 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param int $integerVersion - * @return void */ public function setIntegerVersion($integerVersion) { @@ -570,7 +554,6 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param int $reviewState - * @return void */ public function setReviewState($reviewState) { @@ -587,7 +570,6 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param int $position - * @return void */ public function setPosition($position) { diff --git a/typo3/sysext/extensionmanager/Classes/Domain/Model/Mirrors.php b/typo3/sysext/extensionmanager/Classes/Domain/Model/Mirrors.php index cbdf7108e9cf..64286ecba011 100644 --- a/typo3/sysext/extensionmanager/Classes/Domain/Model/Mirrors.php +++ b/typo3/sysext/extensionmanager/Classes/Domain/Model/Mirrors.php @@ -47,7 +47,6 @@ class Mirrors extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Method selects one specific mirror to be used. * * @param int $mirrorId number (>=1) of mirror or NULL for random selection - * @return void * @see $currentMirror */ public function setSelect($mirrorId = null) @@ -110,7 +109,6 @@ class Mirrors extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Method sets available mirrors. * * @param array $mirrors multidimensional array with mirrors and their properties - * @return void * @see $mirrors, getMirrors() */ public function setMirrors(array $mirrors) diff --git a/typo3/sysext/extensionmanager/Classes/Domain/Model/Repository.php b/typo3/sysext/extensionmanager/Classes/Domain/Model/Repository.php index 0d85e0ba763a..a6bdde7290ee 100644 --- a/typo3/sysext/extensionmanager/Classes/Domain/Model/Repository.php +++ b/typo3/sysext/extensionmanager/Classes/Domain/Model/Repository.php @@ -85,7 +85,6 @@ class Repository extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * * @access public * @param string $title title of repository to set - * @return void * @see $title, getTitle() */ public function setTitle($title) @@ -112,7 +111,6 @@ class Repository extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * * @access public * @param string $description title of repository to set - * @return void */ public function setDescription($description) { @@ -140,7 +138,6 @@ class Repository extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * * @access public * @param string $url URL of file that contains repository mirrors - * @return void * @see $mirrorListUrl, getMirrorListUrl() */ public function setMirrorListUrl($url) @@ -166,7 +163,6 @@ class Repository extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Method sets URL of repository WSDL. * * @param string $url URL of repository WSDL - * @return void * @see $wsdlUrl, getWsdlUrl() */ public function setWsdlUrl($url) @@ -192,7 +188,6 @@ class Repository extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * * @access public * @param \DateTime $time URL of repository WSDL - * @return void */ public function setLastUpdate(\DateTime $time) { @@ -215,7 +210,6 @@ class Repository extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * * @access public * @param string $count count of read extensions - * @return void */ public function setExtensionCount($count) { @@ -229,7 +223,6 @@ class Repository extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * * @access public * @param \TYPO3\CMS\Extensionmanager\Domain\Model\Mirrors $mirrors mirror list - * @return void * @see $mirrors, getMirrors(), hasMirrors(), removeMirrors() */ public function addMirrors(\TYPO3\CMS\Extensionmanager\Domain\Model\Mirrors $mirrors) @@ -270,7 +263,6 @@ class Repository extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity * Method unregisters a repository mirrors object. * * @access public - * @return void * @see $mirrors, addMirrors(), getMirrors(), hasMirrors() */ public function removeMirrors() diff --git a/typo3/sysext/extensionmanager/Classes/Domain/Repository/ExtensionRepository.php b/typo3/sysext/extensionmanager/Classes/Domain/Repository/ExtensionRepository.php index 126fbbedca3c..abd7b7f22832 100644 --- a/typo3/sysext/extensionmanager/Classes/Domain/Repository/ExtensionRepository.php +++ b/typo3/sysext/extensionmanager/Classes/Domain/Repository/ExtensionRepository.php @@ -43,8 +43,6 @@ class ExtensionRepository extends \TYPO3\CMS\Extbase\Persistence\Repository /** * Do not include pid in queries - * - * @return void */ public function initializeObject() { @@ -337,7 +335,6 @@ class ExtensionRepository extends \TYPO3\CMS\Extbase\Persistence\Repository * For performance reasons, the "native" database connection is used here directly. * * @param int $repositoryUid - * @return void */ protected function markExtensionWithMaximumVersionAsCurrent($repositoryUid) { diff --git a/typo3/sysext/extensionmanager/Classes/Domain/Repository/RepositoryRepository.php b/typo3/sysext/extensionmanager/Classes/Domain/Repository/RepositoryRepository.php index cc3e1f8d72f2..f88dd468a2f7 100644 --- a/typo3/sysext/extensionmanager/Classes/Domain/Repository/RepositoryRepository.php +++ b/typo3/sysext/extensionmanager/Classes/Domain/Repository/RepositoryRepository.php @@ -21,8 +21,6 @@ class RepositoryRepository extends \TYPO3\CMS\Extbase\Persistence\Repository { /** * Do not include pid in queries - * - * @return void */ public function initializeObject() { @@ -37,7 +35,6 @@ class RepositoryRepository extends \TYPO3\CMS\Extbase\Persistence\Repository * * @param int $extCount * @param int $uid - * @return void */ public function updateRepositoryCount($extCount, $uid = 1) { diff --git a/typo3/sysext/extensionmanager/Classes/Service/ExtensionManagementService.php b/typo3/sysext/extensionmanager/Classes/Service/ExtensionManagementService.php index b3b6dcad4204..11ade17c5c13 100644 --- a/typo3/sysext/extensionmanager/Classes/Service/ExtensionManagementService.php +++ b/typo3/sysext/extensionmanager/Classes/Service/ExtensionManagementService.php @@ -101,7 +101,6 @@ class ExtensionManagementService implements \TYPO3\CMS\Core\SingletonInterface /** * @param string $extensionKey - * @return void */ public function markExtensionForInstallation($extensionKey) { @@ -118,7 +117,6 @@ class ExtensionManagementService implements \TYPO3\CMS\Core\SingletonInterface * * @param string $extensionKey * @param string $sourceFolder - * @return void */ public function markExtensionForCopy($extensionKey, $sourceFolder) { @@ -129,7 +127,6 @@ class ExtensionManagementService implements \TYPO3\CMS\Core\SingletonInterface * Mark an extension for download * * @param Extension $extension - * @return void */ public function markExtensionForDownload(Extension $extension) { @@ -143,7 +140,6 @@ class ExtensionManagementService implements \TYPO3\CMS\Core\SingletonInterface /** * @param Extension $extension - * @return void */ public function markExtensionForUpdate(Extension $extension) { @@ -320,7 +316,6 @@ class ExtensionManagementService implements \TYPO3\CMS\Core\SingletonInterface * Copies locally provided extensions to typo3conf/ext * * @param array $copyQueue - * @return void */ protected function copyDependencies(array $copyQueue) { @@ -416,7 +411,6 @@ class ExtensionManagementService implements \TYPO3\CMS\Core\SingletonInterface * as an extension is able to provide it's own dependencies * * @param Extension $extension - * @return void */ public function downloadMainExtension(Extension $extension) { diff --git a/typo3/sysext/extensionmanager/Classes/Task/UpdateExtensionListTask.php b/typo3/sysext/extensionmanager/Classes/Task/UpdateExtensionListTask.php index eb4fcaeaa560..494325b0677d 100644 --- a/typo3/sysext/extensionmanager/Classes/Task/UpdateExtensionListTask.php +++ b/typo3/sysext/extensionmanager/Classes/Task/UpdateExtensionListTask.php @@ -36,7 +36,6 @@ class UpdateExtensionListTask extends \TYPO3\CMS\Scheduler\Task\AbstractTask * Update extension list * * @TODO: Adapt to multiple repositories if the Helper can handle this - * @return void * @throws \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException */ protected function updateExtensionList() diff --git a/typo3/sysext/extensionmanager/Classes/Utility/ConfigurationUtility.php b/typo3/sysext/extensionmanager/Classes/Utility/ConfigurationUtility.php index 5fb68e27b940..19e43c17c85b 100644 --- a/typo3/sysext/extensionmanager/Classes/Utility/ConfigurationUtility.php +++ b/typo3/sysext/extensionmanager/Classes/Utility/ConfigurationUtility.php @@ -41,7 +41,6 @@ class ConfigurationUtility implements \TYPO3\CMS\Core\SingletonInterface * Used by the InstallUtility to initialize local extension config. * * @param string $extensionKey Extension key - * @return void */ public function saveDefaultConfiguration($extensionKey) { @@ -61,7 +60,6 @@ class ConfigurationUtility implements \TYPO3\CMS\Core\SingletonInterface * * @param array $configuration Configuration to save * @param string $extensionKey Extension key - * @return void */ public function writeConfiguration(array $configuration = [], $extensionKey) { diff --git a/typo3/sysext/extensionmanager/Classes/Utility/DependencyUtility.php b/typo3/sysext/extensionmanager/Classes/Utility/DependencyUtility.php index 93b1138a5859..265629fc69f6 100644 --- a/typo3/sysext/extensionmanager/Classes/Utility/DependencyUtility.php +++ b/typo3/sysext/extensionmanager/Classes/Utility/DependencyUtility.php @@ -112,7 +112,6 @@ class DependencyUtility implements \TYPO3\CMS\Core\SingletonInterface /** * @param string $localExtensionStorage - * @return void */ public function setLocalExtensionStorage($localExtensionStorage) { @@ -122,8 +121,6 @@ class DependencyUtility implements \TYPO3\CMS\Core\SingletonInterface /** * Setter for available extensions * gets available extensions from list utility if not already done - * - * @return void */ protected function setAvailableExtensions() { @@ -132,7 +129,6 @@ class DependencyUtility implements \TYPO3\CMS\Core\SingletonInterface /** * @param bool $skipDependencyCheck - * @return void */ public function setSkipDependencyCheck($skipDependencyCheck) { @@ -143,7 +139,6 @@ class DependencyUtility implements \TYPO3\CMS\Core\SingletonInterface * Checks dependencies for special cases (currently typo3 and php) * * @param Extension $extension - * @return void */ public function checkDependencies(Extension $extension) { @@ -355,7 +350,6 @@ class DependencyUtility implements \TYPO3\CMS\Core\SingletonInterface * * @param string $extensionKey * @param Dependency $dependency - * @return void * @throws Exception\UnresolvedDependencyException */ protected function getExtensionFromRepository($extensionKey, Dependency $dependency) @@ -391,7 +385,6 @@ class DependencyUtility implements \TYPO3\CMS\Core\SingletonInterface * @param string $extensionKey * @param Dependency $dependency * @throws Exception\UnresolvedDependencyException - * @return void */ protected function getExtensionFromTer($extensionKey, Dependency $dependency) { diff --git a/typo3/sysext/extensionmanager/Classes/Utility/DownloadUtility.php b/typo3/sysext/extensionmanager/Classes/Utility/DownloadUtility.php index fc7303d66088..423513492621 100644 --- a/typo3/sysext/extensionmanager/Classes/Utility/DownloadUtility.php +++ b/typo3/sysext/extensionmanager/Classes/Utility/DownloadUtility.php @@ -67,7 +67,6 @@ class DownloadUtility implements \TYPO3\CMS\Core\SingletonInterface * Download an extension * * @param \TYPO3\CMS\Extensionmanager\Domain\Model\Extension $extension - * @return void */ public function download(\TYPO3\CMS\Extensionmanager\Domain\Model\Extension $extension) { @@ -83,7 +82,6 @@ class DownloadUtility implements \TYPO3\CMS\Core\SingletonInterface * * @param string $downloadPath * @throws \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException - * @return void */ public function setDownloadPath($downloadPath) { diff --git a/typo3/sysext/extensionmanager/Classes/Utility/FileHandlingUtility.php b/typo3/sysext/extensionmanager/Classes/Utility/FileHandlingUtility.php index fe0cd15e6713..e0835cbede93 100644 --- a/typo3/sysext/extensionmanager/Classes/Utility/FileHandlingUtility.php +++ b/typo3/sysext/extensionmanager/Classes/Utility/FileHandlingUtility.php @@ -65,8 +65,6 @@ class FileHandlingUtility implements \TYPO3\CMS\Core\SingletonInterface /** * Initialize method - loads language file - * - * @return void */ public function initializeObject() { @@ -79,7 +77,6 @@ class FileHandlingUtility implements \TYPO3\CMS\Core\SingletonInterface * @param array $extensionData * @param Extension $extension * @param string $pathType - * @return void */ public function unpackExtensionFromExtensionDataArray(array $extensionData, Extension $extension = null, $pathType = 'Local') { @@ -128,7 +125,6 @@ class FileHandlingUtility implements \TYPO3\CMS\Core\SingletonInterface * * @param array $directories * @param string $rootPath - * @return void */ protected function createDirectoriesForExtensionFiles(array $directories, $rootPath) { @@ -160,7 +156,6 @@ class FileHandlingUtility implements \TYPO3\CMS\Core\SingletonInterface * * @param array $files * @param string $rootPath - * @return void */ protected function writeExtensionFiles(array $files, $rootPath) { @@ -216,7 +211,6 @@ class FileHandlingUtility implements \TYPO3\CMS\Core\SingletonInterface * * @param string $extDirPath * @throws ExtensionManagerException - * @return void */ protected function addDirectory($extDirPath) { @@ -294,7 +288,6 @@ class FileHandlingUtility implements \TYPO3\CMS\Core\SingletonInterface * * @param string $extDirPath * @throws ExtensionManagerException - * @return void */ public function removeDirectory($extDirPath) { @@ -320,7 +313,6 @@ class FileHandlingUtility implements \TYPO3\CMS\Core\SingletonInterface * @param array $extensionData * @param string $rootPath * @param Extension $extension - * @return void */ protected function writeEmConfToFile(array $extensionData, $rootPath, Extension $extension = null) { @@ -474,7 +466,6 @@ class FileHandlingUtility implements \TYPO3\CMS\Core\SingletonInterface * @param string $fileName file name * @param string $pathType path type (Local, Global, System) * @throws ExtensionManagerException - * @return void */ public function unzipExtensionFromFile($file, $fileName, $pathType = 'Local') { @@ -509,7 +500,6 @@ class FileHandlingUtility implements \TYPO3\CMS\Core\SingletonInterface * * @param string $fileName * @param string $downloadName - * @return void */ public function sendZipFileToBrowserAndDelete($fileName, $downloadName = '') { @@ -529,7 +519,6 @@ class FileHandlingUtility implements \TYPO3\CMS\Core\SingletonInterface * * @param string $fileName * @param string $downloadName - * @return void */ public function sendSqlDumpFileToBrowserAndDelete($fileName, $downloadName = '') { diff --git a/typo3/sysext/extensionmanager/Classes/Utility/Importer/ExtensionListUtility.php b/typo3/sysext/extensionmanager/Classes/Utility/Importer/ExtensionListUtility.php index bf7a619457ef..988fd916c59b 100644 --- a/typo3/sysext/extensionmanager/Classes/Utility/Importer/ExtensionListUtility.php +++ b/typo3/sysext/extensionmanager/Classes/Utility/Importer/ExtensionListUtility.php @@ -161,7 +161,6 @@ class ExtensionListUtility implements \SplObserver * Method collects and stores extension version details into the database. * * @param \SplSubject|\TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractExtensionXmlParser &$subject a subject notifying this observer - * @return void */ protected function loadIntoDatabase(\SplSubject &$subject) { @@ -208,7 +207,6 @@ class ExtensionListUtility implements \SplObserver * Method receives an update from a subject. * * @param \SplSubject $subject a subject notifying this observer - * @return void */ public function update(\SplSubject $subject) { diff --git a/typo3/sysext/extensionmanager/Classes/Utility/Importer/MirrorListUtility.php b/typo3/sysext/extensionmanager/Classes/Utility/Importer/MirrorListUtility.php index a6c76f972e08..20a41388b7f0 100644 --- a/typo3/sysext/extensionmanager/Classes/Utility/Importer/MirrorListUtility.php +++ b/typo3/sysext/extensionmanager/Classes/Utility/Importer/MirrorListUtility.php @@ -75,7 +75,6 @@ class MirrorListUtility implements \SplObserver * Method receives an update from a subject. * * @param \SplSubject $subject a subject notifying this observer - * @return void */ public function update(\SplSubject $subject) { diff --git a/typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php b/typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php index 6ab6a03cc68c..28c2fec5a2da 100644 --- a/typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php +++ b/typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php @@ -176,7 +176,6 @@ class InstallUtility implements \TYPO3\CMS\Core\SingletonInterface * * @param string $extensionKey * @throws ExtensionManagerException - * @return void */ public function install($extensionKey) { @@ -211,7 +210,6 @@ class InstallUtility implements \TYPO3\CMS\Core\SingletonInterface * * @param string $extensionKey * @throws ExtensionManagerException - * @return void */ public function uninstall($extensionKey) { @@ -253,7 +251,6 @@ class InstallUtility implements \TYPO3\CMS\Core\SingletonInterface * Wrapper function for loading extensions * * @param string $extensionKey - * @return void */ protected function loadExtension($extensionKey) { @@ -264,7 +261,6 @@ class InstallUtility implements \TYPO3\CMS\Core\SingletonInterface * Wrapper function for unloading extensions * * @param string $extensionKey - * @return void */ protected function unloadExtension($extensionKey) { @@ -445,8 +441,6 @@ class InstallUtility implements \TYPO3\CMS\Core\SingletonInterface /** * Reload Cache files and Typo3LoadedExtensions - * - * @return void */ public function reloadCaches() { @@ -469,7 +463,6 @@ class InstallUtility implements \TYPO3\CMS\Core\SingletonInterface * Save default configuration of an extension * * @param string $extensionKey - * @return void */ protected function saveDefaultConfiguration($extensionKey) { @@ -482,7 +475,6 @@ class InstallUtility implements \TYPO3\CMS\Core\SingletonInterface * Update database / process db updates from ext_tables * * @param string $rawDefinitions The raw SQL statements from ext_tables.sql - * @return void */ public function updateDbWithExtTablesSql($rawDefinitions) { @@ -498,7 +490,6 @@ class InstallUtility implements \TYPO3\CMS\Core\SingletonInterface * Import static SQL data (normally used for ext_tables_static+adt.sql) * * @param string $rawDefinitions - * @return void */ public function importStaticSql($rawDefinitions) { @@ -514,7 +505,6 @@ class InstallUtility implements \TYPO3\CMS\Core\SingletonInterface * * @param string $extension * @throws ExtensionManagerException - * @return void */ public function removeExtension($extension) { @@ -614,7 +604,6 @@ class InstallUtility implements \TYPO3\CMS\Core\SingletonInterface * Execution state is saved in the this->registry, so it only happens once * * @param string $extensionSiteRelPath - * @return void */ protected function importT3DFile($extensionSiteRelPath) { @@ -670,7 +659,6 @@ class InstallUtility implements \TYPO3\CMS\Core\SingletonInterface * Execution state is saved in the this->registry, so it only happens once * * @param string $extensionSiteRelPath - * @return void */ protected function importStaticSqlFile($extensionSiteRelPath) { diff --git a/typo3/sysext/extensionmanager/Classes/Utility/Parser/AbstractExtensionXmlParser.php b/typo3/sysext/extensionmanager/Classes/Utility/Parser/AbstractExtensionXmlParser.php index 0bf3745d3ba3..b07ed858545a 100644 --- a/typo3/sysext/extensionmanager/Classes/Utility/Parser/AbstractExtensionXmlParser.php +++ b/typo3/sysext/extensionmanager/Classes/Utility/Parser/AbstractExtensionXmlParser.php @@ -381,7 +381,6 @@ abstract class AbstractExtensionXmlParser extends AbstractXmlParser * Method resets version class properties. * * @param bool $resetAll If TRUE, additionally extension properties are reset - * @return void * @see $extensionKey, $version, $extensionDLCounter, $versionDLCounter, */ protected function resetProperties($resetAll = false) diff --git a/typo3/sysext/extensionmanager/Classes/Utility/Parser/AbstractMirrorXmlParser.php b/typo3/sysext/extensionmanager/Classes/Utility/Parser/AbstractMirrorXmlParser.php index 2d11c1f98d5e..f88a00129273 100644 --- a/typo3/sysext/extensionmanager/Classes/Utility/Parser/AbstractMirrorXmlParser.php +++ b/typo3/sysext/extensionmanager/Classes/Utility/Parser/AbstractMirrorXmlParser.php @@ -179,7 +179,6 @@ abstract class AbstractMirrorXmlParser extends AbstractXmlParser * Method resets version class properties. * * @access protected - * @return void * @see $country, $host, $path, $sponsorlink, $sponsorlogo, $sponsorname, $title */ protected function resetProperties() diff --git a/typo3/sysext/extensionmanager/Classes/Utility/Parser/AbstractXmlParser.php b/typo3/sysext/extensionmanager/Classes/Utility/Parser/AbstractXmlParser.php index 05b0ac17263f..97a0d182b2f1 100644 --- a/typo3/sysext/extensionmanager/Classes/Utility/Parser/AbstractXmlParser.php +++ b/typo3/sysext/extensionmanager/Classes/Utility/Parser/AbstractXmlParser.php @@ -45,7 +45,6 @@ abstract class AbstractXmlParser implements \SplSubject * Method attaches an observer. * * @param \SplObserver $observer an observer to attach - * @return void * @see $observers, detach(), notify() */ public function attach(\SplObserver $observer) @@ -57,7 +56,6 @@ abstract class AbstractXmlParser implements \SplSubject * Method detaches an attached observer * * @param \SplObserver $observer an observer to detach - * @return void * @see $observers, attach(), notify() */ public function detach(\SplObserver $observer) @@ -72,7 +70,6 @@ abstract class AbstractXmlParser implements \SplSubject * Method notifies attached observers. * * @access public - * @return void * @see $observers, attach(), detach() */ public function notify() @@ -112,8 +109,6 @@ abstract class AbstractXmlParser implements \SplSubject /** * Create required parser - * - * @return void */ abstract protected function createParser(); } diff --git a/typo3/sysext/extensionmanager/Classes/Utility/Parser/ExtensionXmlPullParser.php b/typo3/sysext/extensionmanager/Classes/Utility/Parser/ExtensionXmlPullParser.php index 97c6c4c7c69c..ddddf74e1f27 100644 --- a/typo3/sysext/extensionmanager/Classes/Utility/Parser/ExtensionXmlPullParser.php +++ b/typo3/sysext/extensionmanager/Classes/Utility/Parser/ExtensionXmlPullParser.php @@ -32,8 +32,6 @@ class ExtensionXmlPullParser extends AbstractExtensionXmlParser /** * Create required parser - * - * @return void */ protected function createParser() { @@ -44,7 +42,6 @@ class ExtensionXmlPullParser extends AbstractExtensionXmlParser * Method parses an extensions.xml file. * * @param string $file GZIP stream resource - * @return void * @throws \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException in case of parser error */ public function parseXml($file) @@ -77,7 +74,6 @@ class ExtensionXmlPullParser extends AbstractExtensionXmlParser * Method is invoked when parser accesses start tag of an element. * * @param string $elementName element name at parser's current position - * @return void */ protected function startElement($elementName) { @@ -143,7 +139,6 @@ class ExtensionXmlPullParser extends AbstractExtensionXmlParser * Method is invoked when parser accesses end tag of an element. * * @param string $elementName: element name at parser's current position - * @return void */ protected function endElement($elementName) { diff --git a/typo3/sysext/extensionmanager/Classes/Utility/Parser/ExtensionXmlPushParser.php b/typo3/sysext/extensionmanager/Classes/Utility/Parser/ExtensionXmlPushParser.php index 7782f831bf4e..176491b92e79 100644 --- a/typo3/sysext/extensionmanager/Classes/Utility/Parser/ExtensionXmlPushParser.php +++ b/typo3/sysext/extensionmanager/Classes/Utility/Parser/ExtensionXmlPushParser.php @@ -43,8 +43,6 @@ class ExtensionXmlPushParser extends AbstractExtensionXmlParser /** * Create required parser - * - * @return void */ protected function createParser() { @@ -56,7 +54,6 @@ class ExtensionXmlPushParser extends AbstractExtensionXmlParser * Method parses an extensions.xml file. * * @param string $file GZIP stream resource - * @return void * @throws \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException in case of parse errors */ public function parseXml($file) @@ -91,7 +88,6 @@ class ExtensionXmlPushParser extends AbstractExtensionXmlParser * @param resource $parser parser resource * @param string $elementName element name at parser's current position * @param array $attrs array of an element's attributes if available - * @return void */ protected function startElement($parser, $elementName, $attrs) { @@ -112,7 +108,6 @@ class ExtensionXmlPushParser extends AbstractExtensionXmlParser * * @param resource $parser parser resource * @param string $elementName Element name at parser's current position - * @return void */ protected function endElement($parser, $elementName) { @@ -134,7 +129,6 @@ class ExtensionXmlPushParser extends AbstractExtensionXmlParser * * @param resource $parser parser resource * @param string $data An element's value - * @return void */ protected function characterData($parser, $data) { diff --git a/typo3/sysext/extensionmanager/Classes/Utility/Parser/MirrorXmlPullParser.php b/typo3/sysext/extensionmanager/Classes/Utility/Parser/MirrorXmlPullParser.php index 27785832e78c..a308fb7e5a3a 100644 --- a/typo3/sysext/extensionmanager/Classes/Utility/Parser/MirrorXmlPullParser.php +++ b/typo3/sysext/extensionmanager/Classes/Utility/Parser/MirrorXmlPullParser.php @@ -34,8 +34,6 @@ class MirrorXmlPullParser extends AbstractMirrorXmlParser /** * Create required parser - * - * @return void */ protected function createParser() { @@ -46,7 +44,6 @@ class MirrorXmlPullParser extends AbstractMirrorXmlParser * Method parses an extensions.xml file. * * @param string $file file resource, typically a stream - * @return void * @throws \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException in case of XML parser errors */ public function parseXml($file) @@ -76,7 +73,6 @@ class MirrorXmlPullParser extends AbstractMirrorXmlParser * Method is invoked when parser accesses start tag of an element. * * @param string $elementName element name at parser's current position - * @return void * @see endElement() */ protected function startElement($elementName) @@ -112,7 +108,6 @@ class MirrorXmlPullParser extends AbstractMirrorXmlParser * Method is invoked when parser accesses end tag of an element. * * @param string $elementName element name at parser's current position - * @return void * @see startElement() */ protected function endElement($elementName) diff --git a/typo3/sysext/extensionmanager/Classes/Utility/Parser/MirrorXmlPushParser.php b/typo3/sysext/extensionmanager/Classes/Utility/Parser/MirrorXmlPushParser.php index 6e6611f648c2..0f8f13b09021 100644 --- a/typo3/sysext/extensionmanager/Classes/Utility/Parser/MirrorXmlPushParser.php +++ b/typo3/sysext/extensionmanager/Classes/Utility/Parser/MirrorXmlPushParser.php @@ -41,8 +41,6 @@ class MirrorXmlPushParser extends AbstractMirrorXmlParser /** * Create required parser - * - * @return void */ protected function createParser() { @@ -54,7 +52,6 @@ class MirrorXmlPushParser extends AbstractMirrorXmlParser * Method parses a mirror.xml file. * * @param string $file GZIP stream resource - * @return void * @throws \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException in case of XML parser errors */ public function parseXml($file) @@ -89,7 +86,6 @@ class MirrorXmlPushParser extends AbstractMirrorXmlParser * @param resource $parser parser resource * @param string $elementName element name at parser's current position * @param array $attrs array of an element's attributes if available - * @return void */ protected function startElement($parser, $elementName, $attrs) { @@ -107,7 +103,6 @@ class MirrorXmlPushParser extends AbstractMirrorXmlParser * @see xml_set_element_handler * @param resource $parser parser resource * @param string $elementName element name at parser's current position - * @return void */ protected function endElement($parser, $elementName) { @@ -129,7 +124,6 @@ class MirrorXmlPushParser extends AbstractMirrorXmlParser * @see xml_set_character_data_handler * @param resource $parser parser resource * @param string $data an element's value - * @return void */ protected function characterData($parser, $data) { diff --git a/typo3/sysext/extensionmanager/Classes/Utility/Repository/Helper.php b/typo3/sysext/extensionmanager/Classes/Utility/Repository/Helper.php index ab384409f78a..9209789f40df 100644 --- a/typo3/sysext/extensionmanager/Classes/Utility/Repository/Helper.php +++ b/typo3/sysext/extensionmanager/Classes/Utility/Repository/Helper.php @@ -96,7 +96,6 @@ class Helper implements \TYPO3\CMS\Core\SingletonInterface * * @access public * @param \TYPO3\CMS\Extensionmanager\Domain\Model\Repository $repository - * @return void * @see $repository */ public function setRepository(\TYPO3\CMS\Extensionmanager\Domain\Model\Repository $repository) @@ -110,7 +109,6 @@ class Helper implements \TYPO3\CMS\Core\SingletonInterface * Delegates to {@link fetchFile()}. * * @access public - * @return void * @throws ExtensionManagerException * @see fetchFile() */ @@ -125,7 +123,6 @@ class Helper implements \TYPO3\CMS\Core\SingletonInterface * Delegates to {@link fetchFile()}. * * @access public - * @return void * @throws ExtensionManagerException * @see fetchFile() */ @@ -140,7 +137,6 @@ class Helper implements \TYPO3\CMS\Core\SingletonInterface * * @param string $remoteResource remote resource to read contents from * @param string $localResource local resource (absolute file path) to store retrieved contents to (must be within typo3temp/) - * @return void * @see \TYPO3\CMS\Core\Utility\GeneralUtility::getUrl(), \TYPO3\CMS\Core\Utility\GeneralUtility::writeFile() * @throws ExtensionManagerException */ diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Controller/DownloadControllerTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Controller/DownloadControllerTest.php index 298b194349b5..bca9c25cc210 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Controller/DownloadControllerTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Controller/DownloadControllerTest.php @@ -16,14 +16,11 @@ namespace TYPO3\CMS\Extensionmanager\Tests\Unit\Controller; /** * Download from TER controller test - * */ class DownloadControllerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { /** * @test - * - * @return void */ public function installFromTerReturnsArrayWithBooleanResultAndErrorArrayWhenExtensionManagerExceptionIsThrown() { diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Controller/UpdateFromTerControllerTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Controller/UpdateFromTerControllerTest.php index 6768244f60af..2095e887592f 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Controller/UpdateFromTerControllerTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Controller/UpdateFromTerControllerTest.php @@ -19,7 +19,6 @@ use TYPO3\TestingFramework\Core\AccessibleObjectInterface; /** * Update from TER controller test - * */ class UpdateFromTerControllerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { @@ -64,7 +63,6 @@ class UpdateFromTerControllerTest extends \TYPO3\TestingFramework\Core\Unit\Unit /** * @test - * @return void */ public function updateExtensionListFromTerCallsUpdateExtListIfExtensionListIsEmpty() { @@ -90,7 +88,6 @@ class UpdateFromTerControllerTest extends \TYPO3\TestingFramework\Core\Unit\Unit /** * @test - * @return void */ public function updateExtensionListFromTerDoesNotCallsUpdateExtListIfExtensionListIsNotEmpty() { @@ -116,7 +113,6 @@ class UpdateFromTerControllerTest extends \TYPO3\TestingFramework\Core\Unit\Unit /** * @test - * @return void */ public function updateExtensionListFromTerCallsUpdateExtListIfForceUpdateCheckIsSet() { diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Controller/UploadExtensionFileControllerTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Controller/UploadExtensionFileControllerTest.php index ae0bb7bc3e45..eb3174f38dfe 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Controller/UploadExtensionFileControllerTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Controller/UploadExtensionFileControllerTest.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Extensionmanager\Tests\Unit\Controller; /** * Update from TER controller test - * */ class UploadExtensionFileControllerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { @@ -61,7 +60,6 @@ class UploadExtensionFileControllerTest extends \TYPO3\TestingFramework\Core\Uni * @dataProvider getExtensionFromZipFileExtractsExtensionKeyDataProvider * @param string $filename The file name to test * @param string $expectedKey The expected extension key - * @return void */ public function getExtensionFromZipFileExtractsExtensionKey($filename, $expectedKey) { diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/DownloadQueueTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/DownloadQueueTest.php index c8d2f877999b..3036bcadad07 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/DownloadQueueTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/DownloadQueueTest.php @@ -17,7 +17,6 @@ use TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException; /** * Download queue test - * */ class DownloadQueueTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { @@ -32,7 +31,6 @@ class DownloadQueueTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase protected $extensionMock; /** - * @return void */ protected function setUp() { @@ -46,7 +44,6 @@ class DownloadQueueTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * @test - * @return void */ public function addExtensionToQueueAddsExtensionToDownloadStorageArray() { @@ -58,7 +55,6 @@ class DownloadQueueTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * @test - * @return void */ public function addExtensionToQueueAddsExtensionToUpdateStorageArray() { @@ -80,7 +76,6 @@ class DownloadQueueTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * @test - * @return void */ public function addExtensionToQueueThrowsExceptionIfExtensionWithSameKeyAndDifferentValuesAlreadyExists() { @@ -99,7 +94,6 @@ class DownloadQueueTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * @test - * @return void */ public function removeExtensionFromQueueRemovesExtension() { diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/ExtensionTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/ExtensionTest.php index 83d74a3f32a9..b336b497c118 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/ExtensionTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/ExtensionTest.php @@ -79,7 +79,6 @@ class ExtensionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * @dataProvider getCategoryIndexFromStringOrNumberReturnsIndexDataProvider * @param string|int $input Given input * @param int $expected Expected result - * @return void */ public function getCategoryIndexFromStringOrNumberReturnsIndex($input, $expected) { diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Domain/Repository/ConfigurationItemRepositoryTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Domain/Repository/ConfigurationItemRepositoryTest.php index 3e1003938301..481cef12b9ad 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Domain/Repository/ConfigurationItemRepositoryTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Domain/Repository/ConfigurationItemRepositoryTest.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Extensionmanager\Tests\Unit\Domain\Repository; /** * Tests for ConfigurationItemRepository - * */ class ConfigurationItemRepositoryTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { @@ -32,8 +31,6 @@ class ConfigurationItemRepositoryTest extends \TYPO3\TestingFramework\Core\Unit\ /** * Set up - * - * @return void */ protected function setUp() { @@ -177,7 +174,6 @@ class ConfigurationItemRepositoryTest extends \TYPO3\TestingFramework\Core\Unit\ /** * @test - * @return void */ public function addMetaInformationUnsetsOriginalConfigurationMetaKey() { @@ -191,7 +187,6 @@ class ConfigurationItemRepositoryTest extends \TYPO3\TestingFramework\Core\Unit\ /** * @test - * @return void */ public function addMetaInformationReturnsMetaInformation() { @@ -255,7 +250,6 @@ class ConfigurationItemRepositoryTest extends \TYPO3\TestingFramework\Core\Unit\ * @test * @dataProvider extractInformationForConfigFieldsOfTypeUserAddsGenericAndTypeInformationDataProvider * @param $configurationOption - * @return void */ public function extractInformationForConfigFieldsOfTypeUserAddsGenericAndTypeInformation($configurationOption) { @@ -266,7 +260,6 @@ class ConfigurationItemRepositoryTest extends \TYPO3\TestingFramework\Core\Unit\ /** * @test - * @return void */ public function extractInformationForConfigFieldsOfTypeOptionsAddsGenericTypeAndLabelInformation() { @@ -296,7 +289,6 @@ class ConfigurationItemRepositoryTest extends \TYPO3\TestingFramework\Core\Unit\ /** * @test - * @return void */ public function extractInformationForConfigFieldsOfTypeOptionsWithLabelsAndValuesAddsGenericTypeAndLabelInformation() { @@ -326,7 +318,6 @@ class ConfigurationItemRepositoryTest extends \TYPO3\TestingFramework\Core\Unit\ /** * @test - * @return void */ public function mergeDefaultConfigurationCatchesExceptionOfConfigurationManagerIfNoLocalConfigurationExists() { @@ -350,7 +341,6 @@ class ConfigurationItemRepositoryTest extends \TYPO3\TestingFramework\Core\Unit\ /** * @test - * @return void */ public function mergeDefaultConfigurationWithNoCurrentValuesReturnsTheDefaultConfiguration() { @@ -377,7 +367,6 @@ class ConfigurationItemRepositoryTest extends \TYPO3\TestingFramework\Core\Unit\ /** * @test - * @return void */ public function mergeWithExistingConfigurationOverwritesDefaultKeysWithCurrent() { diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Domain/Repository/RepositoryRepositoryTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Domain/Repository/RepositoryRepositoryTest.php index 2e2fec5228f6..171c6306aa07 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Domain/Repository/RepositoryRepositoryTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Domain/Repository/RepositoryRepositoryTest.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Extensionmanager\Tests\Unit\Domain\Repository; /** * Test case - * */ class RepositoryRepositoryTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Service/ExtensionManagementServiceTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Service/ExtensionManagementServiceTest.php index a8a820706b9c..29dd3729afe8 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Service/ExtensionManagementServiceTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Service/ExtensionManagementServiceTest.php @@ -16,13 +16,11 @@ namespace TYPO3\CMS\Extensionmanager\Tests\Unit\Service; /** * Testcase - * */ class ExtensionManagementServiceTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { /** * @test - * @return void */ public function resolveDependenciesCallsDownloadDependenciesIfDownloadKeyExistsInQueue() { @@ -55,7 +53,6 @@ class ExtensionManagementServiceTest extends \TYPO3\TestingFramework\Core\Unit\U /** * @test - * @return void */ public function resolveDependenciesCallsUpdateAndDownloadDependenciesIfUpdateKeyExistsInQueue() { @@ -89,7 +86,6 @@ class ExtensionManagementServiceTest extends \TYPO3\TestingFramework\Core\Unit\U /** * @test - * @return void */ public function downloadDependenciesCallsDownloadUtilityDownloadMethod() { @@ -124,7 +120,6 @@ class ExtensionManagementServiceTest extends \TYPO3\TestingFramework\Core\Unit\U /** * @test - * @return void */ public function downloadDependenciesCallsRemoveExtensionFromQueue() { @@ -162,7 +157,6 @@ class ExtensionManagementServiceTest extends \TYPO3\TestingFramework\Core\Unit\U /** * @test - * @return void */ public function downloadDependenciesReturnsResolvedDependencies() { @@ -198,7 +192,6 @@ class ExtensionManagementServiceTest extends \TYPO3\TestingFramework\Core\Unit\U /** * @test - * @return void */ public function uninstallDependenciesToBeUpdatedCallsUninstall() { @@ -220,7 +213,6 @@ class ExtensionManagementServiceTest extends \TYPO3\TestingFramework\Core\Unit\U /** * @test - * @return void */ public function uninstallDependenciesToBeUpdatedReturnsResolvedDependencies() { @@ -242,7 +234,6 @@ class ExtensionManagementServiceTest extends \TYPO3\TestingFramework\Core\Unit\U /** * @test - * @return void */ public function installDependenciesCallsInstall() { @@ -266,7 +257,6 @@ class ExtensionManagementServiceTest extends \TYPO3\TestingFramework\Core\Unit\U /** * @test - * @return void */ public function installDependenciesReturnsResolvedDependencies() { diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Task/UpdateExtensionListTaskTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Task/UpdateExtensionListTaskTest.php index 64d061e6e5f4..4ce4e56b2f8f 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Task/UpdateExtensionListTaskTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Task/UpdateExtensionListTaskTest.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Extensionmanager\Tests\Unit\Task; /** * Test case - * */ class UpdateExtensionListTaskTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Utility/ConfigurationUtilityTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Utility/ConfigurationUtilityTest.php index ffebb73946a6..8989deb8c99b 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Utility/ConfigurationUtilityTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Utility/ConfigurationUtilityTest.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Extensionmanager\Tests\Unit\Utility; /** * Configuration utility test - * */ class ConfigurationUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { @@ -241,7 +240,6 @@ class ConfigurationUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTes * * @param array $configuration * @param array $expected - * @return void */ public function convertValuedToNestedConfiguration(array $configuration, array $expected) { @@ -309,7 +307,6 @@ class ConfigurationUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTes * * @param array $configuration * @param array $expected - * @return void */ public function convertNestedToValuedConfiguration(array $configuration, array $expected) { diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Utility/DependencyUtilityTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Utility/DependencyUtilityTest.php index 9927f5aacdf9..f03d5401f9b0 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Utility/DependencyUtilityTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Utility/DependencyUtilityTest.php @@ -18,7 +18,6 @@ use TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException; /** * Test for DependencyUtility - * */ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { @@ -28,7 +27,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa protected $objectManagerMock; /** - * @return void */ protected function setUp() { @@ -37,7 +35,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function checkTypo3DependencyThrowsExceptionIfVersionNumberIsTooLow() { @@ -56,7 +53,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function checkTypo3DependencyThrowsExceptionIfVersionNumberIsTooHigh() { @@ -76,7 +72,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function checkTypo3DependencyThrowsExceptionIfIdentifierIsNotTypo3() { @@ -94,7 +89,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function checkTypo3DependencyReturnsTrueIfVersionNumberIsInRange() { @@ -112,7 +106,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function checkTypo3DependencyCanHandleEmptyVersionHighestVersion() { @@ -130,7 +123,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function checkTypo3DependencyCanHandleEmptyVersionLowestVersion() { @@ -148,7 +140,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function checkPhpDependencyThrowsExceptionIfVersionNumberIsTooLow() { @@ -167,7 +158,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function checkPhpDependencyThrowsExceptionIfVersionNumberIsTooHigh() { @@ -187,7 +177,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function checkPhpDependencyThrowsExceptionIfIdentifierIsNotTypo3() { @@ -205,7 +194,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function checkPhpDependencyReturnsTrueIfVersionNumberIsInRange() { @@ -223,7 +211,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function checkPhpDependencyCanHandleEmptyVersionHighestVersion() { @@ -241,7 +228,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function checkPhpDependencyCanHandleEmptyVersionLowestVersion() { @@ -259,7 +245,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function checkDependenciesCallsMethodToCheckPhpDependencies() { @@ -285,7 +270,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function checkDependenciesCallsMethodToCheckTypo3Dependencies() { @@ -312,7 +296,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function isVersionCompatibleReturnsTrueForCompatibleVersion() { @@ -330,7 +313,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function isVersionCompatibleReturnsFalseForIncompatibleVersion() { @@ -348,7 +330,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function isDependentExtensionAvailableReturnsTrueIfExtensionIsAvailable() { @@ -369,7 +350,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function isDependentExtensionAvailableReturnsFalseIfExtensionIsNotAvailable() { @@ -390,7 +370,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function isAvailableVersionCompatibleCallsIsVersionCompatibleWithExtensionVersion() { @@ -419,7 +398,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function isExtensionDownloadableFromTerReturnsTrueIfOneVersionExists() { @@ -437,7 +415,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function isExtensionDownloadableFromTerReturnsFalseIfNoVersionExists() { @@ -455,7 +432,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function isDownloadableVersionCompatibleReturnsTrueIfCompatibleVersionExists() { @@ -479,7 +455,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function isDownloadableVersionCompatibleReturnsFalseIfIncompatibleVersionExists() { @@ -505,7 +480,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function getLowestAndHighestIntegerVersionsReturnsArrayWithVersions() { @@ -527,7 +501,6 @@ class DependencyUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCa /** * @test - * @return void */ public function getLatestCompatibleExtensionByIntegerVersionDependencyWillReturnExtensionModelOfLatestExtension() { diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Utility/ExtensionModelUtilityTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Utility/ExtensionModelUtilityTest.php index 6229f38582e7..0a801b33289b 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Utility/ExtensionModelUtilityTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Utility/ExtensionModelUtilityTest.php @@ -21,7 +21,6 @@ class ExtensionModelUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe { /** * @test - * @return void */ public function convertDependenciesToObjectsCreatesObjectStorage() { @@ -44,7 +43,6 @@ class ExtensionModelUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe /** * @test - * @return void */ public function convertDependenciesToObjectsSetsIdentifier() { @@ -125,7 +123,6 @@ class ExtensionModelUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @dataProvider convertDependenciesToObjectSetsVersionDataProvider * @param array $dependencies * @param array $returnValue - * @return void */ public function convertDependenciesToObjectSetsVersion(array $dependencies, array $returnValue) { diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Utility/FileHandlingUtilityTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Utility/FileHandlingUtilityTest.php index 40e2610bc183..fc755589273b 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Utility/FileHandlingUtilityTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Utility/FileHandlingUtilityTest.php @@ -17,7 +17,6 @@ use TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException; /** * Testcase - * */ class FileHandlingUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { @@ -52,7 +51,6 @@ class FileHandlingUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTest /** * @test - * @return void */ public function makeAndClearExtensionDirRemovesExtensionDirIfAlreadyExists() { @@ -118,7 +116,6 @@ class FileHandlingUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTest /** * @test - * @return void */ public function makeAndClearExtensionDirAddsDir() { @@ -135,7 +132,6 @@ class FileHandlingUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTest /** * @test - * @return void */ public function makeAndClearExtensionDirThrowsExceptionOnInvalidPath() { @@ -149,7 +145,6 @@ class FileHandlingUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTest /** * @test - * @return void */ public function addDirectoryAddsDirectory() { @@ -162,7 +157,6 @@ class FileHandlingUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTest /** * @test - * @return void */ public function removeDirectoryRemovesDirectory() { @@ -175,7 +169,6 @@ class FileHandlingUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTest /** * @test - * @return void */ public function removeDirectoryRemovesSymlink() { @@ -191,7 +184,6 @@ class FileHandlingUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTest /** * @test - * @return void */ public function removeDirectoryDoesNotRemoveContentOfSymlinkedTargetDirectory() { @@ -214,7 +206,6 @@ class FileHandlingUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTest /** * @test - * @return void */ public function unpackExtensionFromExtensionDataArrayCreatesTheExtensionDirectory() { @@ -238,7 +229,6 @@ class FileHandlingUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTest /** * @test - * @return void */ public function unpackExtensionFromExtensionDataArrayStripsDirectoriesFromFilesArray() { @@ -308,7 +298,6 @@ class FileHandlingUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTest /** * @test - * @return void */ public function extractFilesArrayFromExtensionDataReturnsFileArray() { @@ -327,7 +316,6 @@ class FileHandlingUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTest /** * @test - * @return void */ public function writeExtensionFilesWritesFiles() { @@ -355,7 +343,6 @@ class FileHandlingUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTest /** * @test - * @return void */ public function extractDirectoriesFromExtensionDataExtractsDirectories() { @@ -407,7 +394,6 @@ class FileHandlingUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTest /** * @test - * @return void */ public function createDirectoriesForExtensionFilesCreatesDirectories() { @@ -426,7 +412,6 @@ class FileHandlingUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTest /** * @test - * @return void */ public function writeEmConfWritesEmConfFile() { diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Utility/InstallUtilityTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Utility/InstallUtilityTest.php index a36cc0504bde..3d64c7c17e9a 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Utility/InstallUtilityTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Utility/InstallUtilityTest.php @@ -40,7 +40,6 @@ class InstallUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase protected $installMock; /** - * @return void */ protected function setUp() { @@ -90,7 +89,6 @@ class InstallUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase } /** - * @return void */ protected function tearDown() { @@ -327,7 +325,6 @@ class InstallUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase } /** - * * @param string $fileName * @param string $registryNameReturnsFalse * @param string $registryNameReturnsTrue diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Utility/ListUtilityTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Utility/ListUtilityTest.php index ed2ca95bd9f9..8316e0022209 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Utility/ListUtilityTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Utility/ListUtilityTest.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Extensionmanager\Tests\Unit\Utility; /** * List utility test - * */ class ListUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { @@ -26,7 +25,6 @@ class ListUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase protected $subject; /** - * @return void */ protected function setUp() { @@ -122,7 +120,6 @@ class ListUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * @dataProvider getAvailableAndInstalledExtensionsDataProvider * @param $availableExtensions * @param $expectedResult - * @return void */ public function getAvailableAndInstalledExtensionsTest($availableExtensions, $expectedResult) { @@ -161,7 +158,6 @@ class ListUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase * @param $extensions * @param $emConf * @param $expectedResult - * @return void */ public function enrichExtensionsWithEmConfInformation($extensions, $emConf, $expectedResult) { diff --git a/typo3/sysext/feedit/Classes/FrontendEditAssetLoader.php b/typo3/sysext/feedit/Classes/FrontendEditAssetLoader.php index 1d4a88967ece..e88c11ef5c3c 100644 --- a/typo3/sysext/feedit/Classes/FrontendEditAssetLoader.php +++ b/typo3/sysext/feedit/Classes/FrontendEditAssetLoader.php @@ -25,7 +25,6 @@ class FrontendEditAssetLoader { /** * @param EditDocumentController $controller - * @return void */ public function attachAssets(EditDocumentController $controller) { diff --git a/typo3/sysext/felogin/Classes/Controller/FrontendLoginController.php b/typo3/sysext/felogin/Classes/Controller/FrontendLoginController.php index 9295ee091905..9a8bdaecb9b2 100644 --- a/typo3/sysext/felogin/Classes/Controller/FrontendLoginController.php +++ b/typo3/sysext/felogin/Classes/Controller/FrontendLoginController.php @@ -841,8 +841,6 @@ class FrontendLoginController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin /** * Reads flexform configuration and merge it with $this->conf - * - * @return void */ protected function mergeflexFormValuesIntoConf() { diff --git a/typo3/sysext/felogin/Classes/Hooks/CmsLayout.php b/typo3/sysext/felogin/Classes/Hooks/CmsLayout.php index 14ae42d119fd..7e690cd7cf01 100644 --- a/typo3/sysext/felogin/Classes/Hooks/CmsLayout.php +++ b/typo3/sysext/felogin/Classes/Hooks/CmsLayout.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Felogin\Hooks; /** * Hook to display verbose information about the felogin plugin - * */ class CmsLayout implements \TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface { @@ -28,7 +27,6 @@ class CmsLayout implements \TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInt * @param string $headerContent Header content * @param string $itemContent Item content * @param array $row Record row of tt_content - * @return void */ public function preProcess(\TYPO3\CMS\Backend\View\PageLayoutView &$parentObject, &$drawItem, &$headerContent, &$itemContent, array &$row) { diff --git a/typo3/sysext/felogin/Tests/Unit/Controller/FrontendLoginControllerTest.php b/typo3/sysext/felogin/Tests/Unit/Controller/FrontendLoginControllerTest.php index 0c7ef29a07d0..8dade80127b8 100644 --- a/typo3/sysext/felogin/Tests/Unit/Controller/FrontendLoginControllerTest.php +++ b/typo3/sysext/felogin/Tests/Unit/Controller/FrontendLoginControllerTest.php @@ -413,7 +413,6 @@ class FrontendLoginControllerTest extends \TYPO3\TestingFramework\Core\Unit\Unit * @param array $getArray * @param string $preserveVars * @param string $expected - * @return void */ public function getPreserveGetVarsReturnsCorrectResult(array $getArray, $preserveVars, $expected) { diff --git a/typo3/sysext/filelist/Classes/ContextMenu/ItemProviders/FileDragProvider.php b/typo3/sysext/filelist/Classes/ContextMenu/ItemProviders/FileDragProvider.php index 7844f7a44477..f96c904f7419 100644 --- a/typo3/sysext/filelist/Classes/ContextMenu/ItemProviders/FileDragProvider.php +++ b/typo3/sysext/filelist/Classes/ContextMenu/ItemProviders/FileDragProvider.php @@ -19,7 +19,6 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; /** * Drag drop menu provider for legacy tree (used in filelist folder tree) - * */ class FileDragProvider extends \TYPO3\CMS\Backend\ContextMenu\ItemProviders\AbstractProvider { diff --git a/typo3/sysext/filelist/Classes/ContextMenu/ItemProviders/FileStorageProvider.php b/typo3/sysext/filelist/Classes/ContextMenu/ItemProviders/FileStorageProvider.php index 06f8f8805ed5..3b19360d34a5 100644 --- a/typo3/sysext/filelist/Classes/ContextMenu/ItemProviders/FileStorageProvider.php +++ b/typo3/sysext/filelist/Classes/ContextMenu/ItemProviders/FileStorageProvider.php @@ -19,7 +19,6 @@ use TYPO3\CMS\Core\Resource\File; /** * Provides click menu items for file_storage - * */ class FileStorageProvider extends FileProvider { diff --git a/typo3/sysext/filelist/Classes/ContextMenu/ItemProviders/FilemountsProvider.php b/typo3/sysext/filelist/Classes/ContextMenu/ItemProviders/FilemountsProvider.php index cae48eb68a0e..4eca58f9fe85 100644 --- a/typo3/sysext/filelist/Classes/ContextMenu/ItemProviders/FilemountsProvider.php +++ b/typo3/sysext/filelist/Classes/ContextMenu/ItemProviders/FilemountsProvider.php @@ -19,7 +19,6 @@ use TYPO3\CMS\Core\Resource\File; /** * Provides click menu items for filemounts - * */ class FilemountsProvider extends FileProvider { diff --git a/typo3/sysext/filelist/Classes/Controller/FileListController.php b/typo3/sysext/filelist/Classes/Controller/FileListController.php index 8fc523860458..9eb0ce41709c 100644 --- a/typo3/sysext/filelist/Classes/Controller/FileListController.php +++ b/typo3/sysext/filelist/Classes/Controller/FileListController.php @@ -151,7 +151,6 @@ class FileListController extends ActionController * Initialize variables, file object * Incoming GET vars include id, pointer, table, imagemode * - * @return void * @throws \RuntimeException * @throws Exception\InsufficientFolderAccessPermissionsException */ @@ -254,8 +253,6 @@ class FileListController extends ActionController /** * Setting the menu/session variables - * - * @return void */ public function menuConfig() { @@ -282,7 +279,6 @@ class FileListController extends ActionController * Initialize the view * * @param ViewInterface $view The view - * @return void */ public function initializeView(ViewInterface $view) { @@ -296,7 +292,6 @@ class FileListController extends ActionController } /** - * @return void */ public function initializeIndexAction() { @@ -332,7 +327,6 @@ class FileListController extends ActionController } /** - * @return void */ public function indexAction() { @@ -452,7 +446,6 @@ class FileListController extends ActionController } /** - * @return void */ public function missingFolderAction() { @@ -526,7 +519,6 @@ class FileListController extends ActionController /** * Registers the Icons into the docheader * - * @return void * @throws \InvalidArgumentException */ protected function registerDocHeaderButtons() diff --git a/typo3/sysext/filelist/Classes/FileList.php b/typo3/sysext/filelist/Classes/FileList.php index 1484bedc8a31..d68835a29f0e 100644 --- a/typo3/sysext/filelist/Classes/FileList.php +++ b/typo3/sysext/filelist/Classes/FileList.php @@ -204,7 +204,6 @@ class FileList extends AbstractRecordList * @param bool $sortRev Sorting direction * @param bool $clipBoard * @param bool $bigControlPanel Show clipboard flag - * @return void */ public function start(Folder $folderObject, $pointer, $sort, $sortRev, $clipBoard = false, $bigControlPanel = false) { @@ -227,8 +226,6 @@ class FileList extends AbstractRecordList /** * Reading files and directories, counting elements and generating the list in ->HTMLcode - * - * @return void */ public function generateList() { diff --git a/typo3/sysext/filelist/Classes/FileListEditIconHookInterface.php b/typo3/sysext/filelist/Classes/FileListEditIconHookInterface.php index b291fb506f1f..b39b4d40c80c 100644 --- a/typo3/sysext/filelist/Classes/FileListEditIconHookInterface.php +++ b/typo3/sysext/filelist/Classes/FileListEditIconHookInterface.php @@ -24,7 +24,6 @@ interface FileListEditIconHookInterface * * @param array $cells Array of edit icons * @param \TYPO3\CMS\Filelist\FileList $parentObject Parent object - * @return void */ public function manipulateEditIcons(&$cells, &$parentObject); } diff --git a/typo3/sysext/filelist/Classes/Hook/BackendControllerHook.php b/typo3/sysext/filelist/Classes/Hook/BackendControllerHook.php index 487cd0af5490..5c3edbbcde78 100644 --- a/typo3/sysext/filelist/Classes/Hook/BackendControllerHook.php +++ b/typo3/sysext/filelist/Classes/Hook/BackendControllerHook.php @@ -29,7 +29,6 @@ class BackendControllerHook * * @param array $configuration * @param BackendController $backendController - * @return void */ public function addJavaScript(array $configuration, BackendController $backendController) { diff --git a/typo3/sysext/filelist/Classes/ViewHelpers/Link/ClickMenuOnIconViewHelper.php b/typo3/sysext/filelist/Classes/ViewHelpers/Link/ClickMenuOnIconViewHelper.php index a71ba87c842d..e35797c6be6b 100644 --- a/typo3/sysext/filelist/Classes/ViewHelpers/Link/ClickMenuOnIconViewHelper.php +++ b/typo3/sysext/filelist/Classes/ViewHelpers/Link/ClickMenuOnIconViewHelper.php @@ -26,7 +26,6 @@ class ClickMenuOnIconViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\Abstrac /** * Defines additional arguments that are allowed for this view helper. - * @return void */ public function initializeArguments() { diff --git a/typo3/sysext/fluid/Classes/Core/Cache/FluidTemplateCache.php b/typo3/sysext/fluid/Classes/Core/Cache/FluidTemplateCache.php index 6f4586d33eb2..0aa47f63e2a2 100644 --- a/typo3/sysext/fluid/Classes/Core/Cache/FluidTemplateCache.php +++ b/typo3/sysext/fluid/Classes/Core/Cache/FluidTemplateCache.php @@ -30,7 +30,6 @@ class FluidTemplateCache extends PhpFrontend implements FluidCacheInterface { /** * @param null $name - * @return void */ public function flush($name = null) { diff --git a/typo3/sysext/fluid/Classes/Core/Rendering/RenderingContext.php b/typo3/sysext/fluid/Classes/Core/Rendering/RenderingContext.php index e390f8199dff..e7d58325d177 100644 --- a/typo3/sysext/fluid/Classes/Core/Rendering/RenderingContext.php +++ b/typo3/sysext/fluid/Classes/Core/Rendering/RenderingContext.php @@ -152,7 +152,6 @@ class RenderingContext extends \TYPO3Fluid\Fluid\Core\Rendering\RenderingContext * * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 * @param bool $legacyMode - * @return void */ public function setLegacyMode($legacyMode) { @@ -199,7 +198,6 @@ class RenderingContext extends \TYPO3Fluid\Fluid\Core\Rendering\RenderingContext /** * @param string $action - * @return void */ public function setControllerAction($action) { diff --git a/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractConditionViewHelper.php b/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractConditionViewHelper.php index e3eb376138f5..07c243e1f70f 100644 --- a/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractConditionViewHelper.php +++ b/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractConditionViewHelper.php @@ -45,7 +45,6 @@ abstract class AbstractConditionViewHelper extends \TYPO3Fluid\Fluid\Core\ViewHe /** * @param \TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext - * @return void */ public function setRenderingContext(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { diff --git a/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractTagBasedViewHelper.php b/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractTagBasedViewHelper.php index f89200e92c7e..e222e3757869 100644 --- a/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractTagBasedViewHelper.php +++ b/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractTagBasedViewHelper.php @@ -75,7 +75,6 @@ abstract class AbstractTagBasedViewHelper extends AbstractViewHelper * * Will be invoked just before the render method. * - * @return void * @api */ public function initialize() @@ -110,7 +109,6 @@ abstract class AbstractTagBasedViewHelper extends AbstractViewHelper * @param string $description Description of tag attribute * @param bool $required set to TRUE if tag attribute is required. Defaults to FALSE. * @param string $default Default value - * @return void * @api */ protected function registerTagAttribute($name, $type, $description, $required = false, $default = null) @@ -123,7 +121,6 @@ abstract class AbstractTagBasedViewHelper extends AbstractViewHelper * Registers all standard HTML universal attributes. * Should be used inside registerArguments(); * - * @return void * @api */ protected function registerUniversalTagAttributes() diff --git a/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractViewHelper.php b/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractViewHelper.php index 98f02fcc583a..c524f8299b6b 100644 --- a/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractViewHelper.php +++ b/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractViewHelper.php @@ -47,7 +47,6 @@ abstract class AbstractViewHelper extends \TYPO3Fluid\Fluid\Core\ViewHelper\Abst /** * @param \TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext - * @return void */ public function setRenderingContext(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { @@ -113,7 +112,6 @@ abstract class AbstractViewHelper extends \TYPO3Fluid\Fluid\Core\ViewHelper\Abst /** * Register method arguments for "render" by analysing the doc comment above. * - * @return void * @throws \TYPO3Fluid\Fluid\Core\Parser\Exception */ protected function registerRenderMethodArguments() diff --git a/typo3/sysext/fluid/Classes/Core/Widget/AbstractWidgetController.php b/typo3/sysext/fluid/Classes/Core/Widget/AbstractWidgetController.php index accf6c23b0aa..89cc9d8e9bf7 100644 --- a/typo3/sysext/fluid/Classes/Core/Widget/AbstractWidgetController.php +++ b/typo3/sysext/fluid/Classes/Core/Widget/AbstractWidgetController.php @@ -43,7 +43,6 @@ abstract class AbstractWidgetController extends \TYPO3\CMS\Extbase\Mvc\Controlle * * @param \TYPO3\CMS\Extbase\Mvc\RequestInterface $request The request object * @param \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response The response, modified by this handler - * @return void * @api */ public function processRequest(\TYPO3\CMS\Extbase\Mvc\RequestInterface $request, \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response) @@ -57,7 +56,6 @@ abstract class AbstractWidgetController extends \TYPO3\CMS\Extbase\Mvc\Controlle * e.g. plugin.tx_extension.view.widget.<WidgetViewHelperClassName>.templateRootPath * * @param \TYPO3\CMS\Extbase\Mvc\View\ViewInterface $view - * @return void */ protected function setViewConfiguration(\TYPO3\CMS\Extbase\Mvc\View\ViewInterface $view) { diff --git a/typo3/sysext/fluid/Classes/Core/Widget/AbstractWidgetViewHelper.php b/typo3/sysext/fluid/Classes/Core/Widget/AbstractWidgetViewHelper.php index 492ac1901f05..f0b9a60bd5e3 100644 --- a/typo3/sysext/fluid/Classes/Core/Widget/AbstractWidgetViewHelper.php +++ b/typo3/sysext/fluid/Classes/Core/Widget/AbstractWidgetViewHelper.php @@ -66,7 +66,6 @@ abstract class AbstractWidgetViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper /** * @param \TYPO3\CMS\Fluid\Core\Widget\AjaxWidgetContextHolder $ajaxWidgetContextHolder - * @return void */ public function injectAjaxWidgetContextHolder(\TYPO3\CMS\Fluid\Core\Widget\AjaxWidgetContextHolder $ajaxWidgetContextHolder) { @@ -75,7 +74,6 @@ abstract class AbstractWidgetViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper /** * @param \TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager - * @return void */ public function injectObjectManager(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager) { @@ -115,8 +113,6 @@ abstract class AbstractWidgetViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper /** * Initialize the Widget Context, before the Render method is called. - * - * @return void */ private function initializeWidgetContext() { @@ -140,7 +136,6 @@ abstract class AbstractWidgetViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper * rendered with <f:widget.renderChildren> lateron. * * @param array $childNodes The SyntaxTree Child nodes of this ViewHelper. - * @return void */ public function setChildNodes(array $childNodes) { @@ -191,7 +186,6 @@ abstract class AbstractWidgetViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper * Pass the arguments of the widget to the subrequest. * * @param \TYPO3\CMS\Fluid\Core\Widget\WidgetRequest $subRequest - * @return void */ private function passArgumentsToSubRequest(\TYPO3\CMS\Fluid\Core\Widget\WidgetRequest $subRequest) { @@ -211,7 +205,6 @@ abstract class AbstractWidgetViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper * in the URI as a namespace for the widget's arguments. * * @return string the widget identifier for this widget - * @return void * @todo clean up, and make it somehow more routing compatible. */ private function initializeWidgetIdentifier() diff --git a/typo3/sysext/fluid/Classes/Core/Widget/AjaxWidgetContextHolder.php b/typo3/sysext/fluid/Classes/Core/Widget/AjaxWidgetContextHolder.php index 03a90a80cfe6..5fbf1ca22319 100644 --- a/typo3/sysext/fluid/Classes/Core/Widget/AjaxWidgetContextHolder.php +++ b/typo3/sysext/fluid/Classes/Core/Widget/AjaxWidgetContextHolder.php @@ -46,8 +46,6 @@ class AjaxWidgetContextHolder implements \TYPO3\CMS\Core\SingletonInterface /** * Loads the windget contexts from the TYPO3 user session - * - * @return void */ protected function loadWidgetContexts() { @@ -78,7 +76,6 @@ class AjaxWidgetContextHolder implements \TYPO3\CMS\Core\SingletonInterface * AjaxWidgetIdentifier inside the Widget Context correctly. * * @param \TYPO3\CMS\Fluid\Core\Widget\WidgetContext $widgetContext - * @return void */ public function store(\TYPO3\CMS\Fluid\Core\Widget\WidgetContext $widgetContext) { @@ -90,8 +87,6 @@ class AjaxWidgetContextHolder implements \TYPO3\CMS\Core\SingletonInterface /** * Persists the widget contexts in the TYPO3 user session - * - * @return void */ protected function storeWidgetContexts() { diff --git a/typo3/sysext/fluid/Classes/Core/Widget/Bootstrap.php b/typo3/sysext/fluid/Classes/Core/Widget/Bootstrap.php index 501f7207d03e..14d8c6753612 100644 --- a/typo3/sysext/fluid/Classes/Core/Widget/Bootstrap.php +++ b/typo3/sysext/fluid/Classes/Core/Widget/Bootstrap.php @@ -61,7 +61,6 @@ class Bootstrap * Initializes the Object framework. * * @param array $configuration - * @return void * @see initialize() */ public function initializeConfiguration($configuration) @@ -77,7 +76,6 @@ class Bootstrap * Configures the object manager object configuration from * config.tx_extbase.objects * - * @return void * @see initialize() * @todo this is duplicated code (see \TYPO3\CMS\Extbase\Core\Bootstrap::configureObjectManager()) */ diff --git a/typo3/sysext/fluid/Classes/Core/Widget/WidgetContext.php b/typo3/sysext/fluid/Classes/Core/Widget/WidgetContext.php index c6fcff2e9c8c..a0cdb2cfa479 100644 --- a/typo3/sysext/fluid/Classes/Core/Widget/WidgetContext.php +++ b/typo3/sysext/fluid/Classes/Core/Widget/WidgetContext.php @@ -105,7 +105,6 @@ class WidgetContext /** * @param string $widgetIdentifier - * @return void */ public function setWidgetIdentifier($widgetIdentifier) { @@ -122,7 +121,6 @@ class WidgetContext /** * @param string $ajaxWidgetIdentifier - * @return void */ public function setAjaxWidgetIdentifier($ajaxWidgetIdentifier) { @@ -133,7 +131,6 @@ class WidgetContext * Sets the URI namespace of the plugin that contains the widget * * @param string $parentPluginNamespace - * @return void */ public function setParentPluginNamespace($parentPluginNamespace) { @@ -154,7 +151,6 @@ class WidgetContext * Sets the Extension name of the plugin that contains the widget * * @param string $parentExtensionName - * @return void */ public function setParentExtensionName($parentExtensionName) { @@ -175,7 +171,6 @@ class WidgetContext * Sets the name of the plugin that contains the widget * * @param string $parentPluginName - * @return void */ public function setParentPluginName($parentPluginName) { @@ -196,7 +191,6 @@ class WidgetContext * Sets the fully qualified class name of the view helper this context belongs to * * @param string $widgetViewHelperClassName - * @return void */ public function setWidgetViewHelperClassName($widgetViewHelperClassName) { @@ -223,7 +217,6 @@ class WidgetContext /** * @param array $widgetConfiguration - * @return void */ public function setWidgetConfiguration($widgetConfiguration) { @@ -240,7 +233,6 @@ class WidgetContext /** * @param string $controllerObjectName - * @return void */ public function setControllerObjectName($controllerObjectName) { @@ -250,7 +242,6 @@ class WidgetContext /** * @param \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\RootNode $viewHelperChildNodes * @param \TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $viewHelperChildNodeRenderingContext - * @return void */ public function setViewHelperChildNodes(\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\RootNode $viewHelperChildNodes, \TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $viewHelperChildNodeRenderingContext) { diff --git a/typo3/sysext/fluid/Classes/Core/Widget/WidgetRequest.php b/typo3/sysext/fluid/Classes/Core/Widget/WidgetRequest.php index a57767c749a1..635d609a68aa 100644 --- a/typo3/sysext/fluid/Classes/Core/Widget/WidgetRequest.php +++ b/typo3/sysext/fluid/Classes/Core/Widget/WidgetRequest.php @@ -34,7 +34,6 @@ class WidgetRequest extends \TYPO3\CMS\Extbase\Mvc\Web\Request /** * @param \TYPO3\CMS\Fluid\Core\Widget\WidgetContext $widgetContext - * @return void */ public function setWidgetContext(\TYPO3\CMS\Fluid\Core\Widget\WidgetContext $widgetContext) { diff --git a/typo3/sysext/fluid/Classes/Core/Widget/WidgetRequestBuilder.php b/typo3/sysext/fluid/Classes/Core/Widget/WidgetRequestBuilder.php index 58af3921f00f..05bb6e286f70 100644 --- a/typo3/sysext/fluid/Classes/Core/Widget/WidgetRequestBuilder.php +++ b/typo3/sysext/fluid/Classes/Core/Widget/WidgetRequestBuilder.php @@ -28,7 +28,6 @@ class WidgetRequestBuilder extends \TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder /** * @param \TYPO3\CMS\Fluid\Core\Widget\AjaxWidgetContextHolder $ajaxWidgetContextHolder - * @return void */ public function injectAjaxWidgetContextHolder(\TYPO3\CMS\Fluid\Core\Widget\AjaxWidgetContextHolder $ajaxWidgetContextHolder) { diff --git a/typo3/sysext/fluid/Classes/View/AbstractTemplateView.php b/typo3/sysext/fluid/Classes/View/AbstractTemplateView.php index 1e427a64195b..009c057f5f8d 100644 --- a/typo3/sysext/fluid/Classes/View/AbstractTemplateView.php +++ b/typo3/sysext/fluid/Classes/View/AbstractTemplateView.php @@ -35,7 +35,6 @@ abstract class AbstractTemplateView extends TemplateView implements \TYPO3\CMS\E /** * Initializes this view. * - * @return void * @api */ public function initializeView() @@ -72,7 +71,6 @@ abstract class AbstractTemplateView extends TemplateView implements \TYPO3\CMS\E * Sets the current controller context * * @param \TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext - * @return void */ public function setControllerContext(\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext) { diff --git a/typo3/sysext/fluid/Classes/View/StandaloneView.php b/typo3/sysext/fluid/Classes/View/StandaloneView.php index 24dad285e2d9..cd4891ccdcad 100644 --- a/typo3/sysext/fluid/Classes/View/StandaloneView.php +++ b/typo3/sysext/fluid/Classes/View/StandaloneView.php @@ -84,7 +84,6 @@ class StandaloneView extends AbstractTemplateView * Sets the format of the current request (default format is "html") * * @param string $format - * @return void * @throws \RuntimeException * @api */ @@ -130,7 +129,6 @@ class StandaloneView extends AbstractTemplateView * Sets the absolute path to a Fluid template file * * @param string $templatePathAndFilename Fluid template path - * @return void * @api */ public function setTemplatePathAndFilename($templatePathAndFilename) @@ -159,7 +157,6 @@ class StandaloneView extends AbstractTemplateView * You can use setTemplatePathAndFilename() alternatively if you only want to specify the template path * * @param string $templateSource Fluid template source code - * @return void * @api */ public function setTemplateSource($templateSource) @@ -171,7 +168,6 @@ class StandaloneView extends AbstractTemplateView * Set the root path(s) to the templates. * * @param string[] $templateRootPaths Root paths to the templates. - * @return void * @api */ public function setTemplateRootPaths(array $templateRootPaths) @@ -183,7 +179,6 @@ class StandaloneView extends AbstractTemplateView * Set the root path(s) to the layouts. * * @param string[] $layoutRootPaths Root path to the layouts - * @return void * @api */ public function setLayoutRootPaths(array $layoutRootPaths) @@ -208,7 +203,6 @@ class StandaloneView extends AbstractTemplateView * If set, overrides the one determined from $this->partialRootPathPattern * * @param string[] $partialRootPaths Root paths to the partials. If set, overrides the one determined from $this->partialRootPathPattern - * @return void * @api */ public function setPartialRootPaths(array $partialRootPaths) diff --git a/typo3/sysext/fluid/Classes/View/TemplatePaths.php b/typo3/sysext/fluid/Classes/View/TemplatePaths.php index 3e7dc6a38258..ebd8d46fb2ee 100644 --- a/typo3/sysext/fluid/Classes/View/TemplatePaths.php +++ b/typo3/sysext/fluid/Classes/View/TemplatePaths.php @@ -168,7 +168,6 @@ class TemplatePaths extends \TYPO3Fluid\Fluid\View\TemplatePaths * if not defined, uses fallback paths by convention. * * @param string $packageName - * @return void */ public function fillDefaultsByPackageName($packageName) { @@ -179,7 +178,6 @@ class TemplatePaths extends \TYPO3Fluid\Fluid\View\TemplatePaths * Overridden setter with enforced sorting behavior * * @param array $templateRootPaths - * @return void */ public function setTemplateRootPaths(array $templateRootPaths) { @@ -192,7 +190,6 @@ class TemplatePaths extends \TYPO3Fluid\Fluid\View\TemplatePaths * Overridden setter with enforced sorting behavior * * @param array $layoutRootPaths - * @return void */ public function setLayoutRootPaths(array $layoutRootPaths) { @@ -205,7 +202,6 @@ class TemplatePaths extends \TYPO3Fluid\Fluid\View\TemplatePaths * Overridden setter with enforced sorting behavior * * @param array $partialRootPaths - * @return void */ public function setPartialRootPaths(array $partialRootPaths) { diff --git a/typo3/sysext/fluid/Classes/View/TemplateView.php b/typo3/sysext/fluid/Classes/View/TemplateView.php index 4ba2e902973f..187c01b40240 100644 --- a/typo3/sysext/fluid/Classes/View/TemplateView.php +++ b/typo3/sysext/fluid/Classes/View/TemplateView.php @@ -45,7 +45,6 @@ class TemplateView extends AbstractTemplateView * dynamic resolving of a template file. * * @param string $templatePathAndFilename Template file path - * @return void * @api */ public function setTemplatePathAndFilename($templatePathAndFilename) @@ -57,7 +56,6 @@ class TemplateView extends AbstractTemplateView * Sets the path and name of the layout file. Overrides the dynamic resolving of the layout file. * * @param string $layoutPathAndFilename Path and filename of the layout file - * @return void * @api */ public function setLayoutPathAndFilename($layoutPathAndFilename) @@ -80,7 +78,6 @@ class TemplateView extends AbstractTemplateView * If set, overrides the one determined from $this->templateRootPathPattern * * @param array $templateRootPaths Root path(s) to the templates. If set, overrides the one determined from $this->templateRootPathPattern - * @return void * @api */ public function setTemplateRootPaths(array $templateRootPaths) @@ -93,7 +90,6 @@ class TemplateView extends AbstractTemplateView * If set, overrides the one determined from $this->partialRootPathPattern * * @param array $partialRootPaths Root paths to the partials. If set, overrides the one determined from $this->partialRootPathPattern - * @return void * @api */ public function setPartialRootPaths(array $partialRootPaths) @@ -106,7 +102,6 @@ class TemplateView extends AbstractTemplateView * If set, overrides the one determined from $this->layoutRootPathPattern * * @param array $layoutRootPaths Root path to the layouts. If set, overrides the one determined from $this->layoutRootPathPattern - * @return void * @api */ public function setLayoutRootPaths(array $layoutRootPaths) diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Be/Menus/ActionMenuItemGroupViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Be/Menus/ActionMenuItemGroupViewHelper.php index e1da663241f8..0b50f8f3e3d0 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Be/Menus/ActionMenuItemGroupViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Be/Menus/ActionMenuItemGroupViewHelper.php @@ -34,7 +34,6 @@ use TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ViewHelperNode; * <f:be.menus.actionMenuItem label="XClasses" controller="Information" action="xclass" /> * </f:be.menus.actionMenuItemGroup> * </f:be.menus.actionMenu> - * */ class ActionMenuItemGroupViewHelper extends ActionMenuViewHelper { @@ -79,7 +78,6 @@ class ActionMenuItemGroupViewHelper extends ActionMenuViewHelper * @param string $initializationPhpCode * @param ViewHelperNode $node * @param TemplateCompiler $compiler - * @return null */ public function compile($argumentsName, $closureName, &$initializationPhpCode, ViewHelperNode $node, TemplateCompiler $compiler) { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Be/Menus/ActionMenuViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Be/Menus/ActionMenuViewHelper.php index 86b1977956e7..8d95575113f4 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Be/Menus/ActionMenuViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Be/Menus/ActionMenuViewHelper.php @@ -63,7 +63,6 @@ class ActionMenuViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagB * Setter for ChildNodes - as defined in ChildNodeAccessInterface * * @param array $childNodes Child nodes of this syntax tree node - * @return void * @api */ public function setChildNodes(array $childNodes) @@ -107,7 +106,6 @@ class ActionMenuViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagB * @param string $initializationPhpCode * @param ViewHelperNode $node * @param TemplateCompiler $compiler - * @return null */ public function compile($argumentsName, $closureName, &$initializationPhpCode, ViewHelperNode $node, TemplateCompiler $compiler) { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Be/Security/IfHasRoleViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Be/Security/IfHasRoleViewHelper.php index 0e1c291da7b2..580a4468264e 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Be/Security/IfHasRoleViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Be/Security/IfHasRoleViewHelper.php @@ -60,8 +60,6 @@ class IfHasRoleViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractCondi * Initializes the "role" argument. * Renders <f:then> child if the current logged in BE user belongs to the specified role (aka usergroup) * otherwise renders <f:else> child. - * - * @return void */ public function initializeArguments() { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Be/Widget/Controller/PaginateController.php b/typo3/sysext/fluid/Classes/ViewHelpers/Be/Widget/Controller/PaginateController.php index 24c14fbe02dc..374f3592723a 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Be/Widget/Controller/PaginateController.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Be/Widget/Controller/PaginateController.php @@ -56,8 +56,6 @@ class PaginateController extends \TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetCont /** * Initializes necessary variables for all actions. - * - * @return void */ public function initializeAction() { @@ -70,7 +68,6 @@ class PaginateController extends \TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetCont /** * @param int $currentPage - * @return void */ public function indexAction($currentPage = 1) { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/CObjectViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/CObjectViewHelper.php index b7ddbe3ab654..dc26420c20c5 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/CObjectViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/CObjectViewHelper.php @@ -82,7 +82,6 @@ class CObjectViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHel /** * @param \TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager - * @return void */ public function injectConfigurationManager(\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager) { @@ -162,8 +161,6 @@ class CObjectViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHel /** * Sets the $TSFE->cObjectDepthCounter in Backend mode * This somewhat hacky work around is currently needed because the cObjGetSingle() function of \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer relies on this setting - * - * @return void */ protected function simulateFrontendEnvironment() { @@ -175,7 +172,6 @@ class CObjectViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHel /** * Resets $GLOBALS['TSFE'] if it was previously changed by simulateFrontendEnvironment() * - * @return void * @see simulateFrontendEnvironment() */ protected function resetFrontendEnvironment() diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/CaseViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/CaseViewHelper.php index 6b92a9410a96..867b35757cad 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/CaseViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/CaseViewHelper.php @@ -32,8 +32,6 @@ class CaseViewHelper extends AbstractViewHelper /** * Initialize ViewHelper arguments - * - * @return void */ public function initializeArguments() { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Debug/RenderViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Debug/RenderViewHelper.php index 4cbd2c089c10..1624283bfd18 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Debug/RenderViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Debug/RenderViewHelper.php @@ -39,7 +39,6 @@ class RenderViewHelper extends AbstractViewHelper /** * Initializes additional arguments available for this view helper. - * @return void */ public function initializeArguments() { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/FlashMessagesViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/FlashMessagesViewHelper.php index 9832d2833f88..4280c08f1942 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/FlashMessagesViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/FlashMessagesViewHelper.php @@ -89,7 +89,6 @@ class FlashMessagesViewHelper extends AbstractViewHelper /** * Initialize arguments * - * @return void * @api */ public function initializeArguments() diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Form/AbstractFormFieldViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Form/AbstractFormFieldViewHelper.php index 17f0a6f5d806..38b05af9cd06 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Form/AbstractFormFieldViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Form/AbstractFormFieldViewHelper.php @@ -47,7 +47,6 @@ abstract class AbstractFormFieldViewHelper extends AbstractFormViewHelper /** * Initialize arguments. * - * @return void * @api */ public function initializeArguments() @@ -75,7 +74,6 @@ abstract class AbstractFormFieldViewHelper extends AbstractFormViewHelper * Define respectSubmittedDataValue to enable or disable the usage of the submitted values in the viewhelper. * * @param bool $respectSubmittedDataValue - * @return void */ public function setRespectSubmittedDataValue($respectSubmittedDataValue) { @@ -240,8 +238,6 @@ abstract class AbstractFormFieldViewHelper extends AbstractFormViewHelper /** * Add additional identity properties in case the current property is hierarchical (of the form "bla.blubb"). * Then, [bla][__identity] has to be generated as well. - * - * @return void */ protected function addAdditionalIdentityPropertiesIfNeeded() { @@ -316,8 +312,6 @@ abstract class AbstractFormFieldViewHelper extends AbstractFormViewHelper /** * Add an CSS class if this view helper has errors - * - * @return void */ protected function setErrorClassAttribute() { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Form/AbstractFormViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Form/AbstractFormViewHelper.php index 7081f9f20911..63b1404b4d54 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Form/AbstractFormViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Form/AbstractFormViewHelper.php @@ -95,7 +95,6 @@ abstract class AbstractFormViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\A * Register a field name for inclusion in the HMAC / Form Token generation * * @param string $fieldName name of the field to register - * @return void */ protected function registerFieldNameForFormTokenGeneration($fieldName) { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Form/ButtonViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Form/ButtonViewHelper.php index 4ebe9ebf757b..98380eda8e07 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Form/ButtonViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Form/ButtonViewHelper.php @@ -45,7 +45,6 @@ class ButtonViewHelper extends AbstractFormFieldViewHelper /** * Initialize the arguments. * - * @return void * @throws \TYPO3Fluid\Fluid\Core\ViewHelper\Exception * @api */ diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Form/CheckboxViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Form/CheckboxViewHelper.php index 47e6c2a85df6..8981f6e6a7f9 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Form/CheckboxViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Form/CheckboxViewHelper.php @@ -54,7 +54,6 @@ class CheckboxViewHelper extends AbstractFormFieldViewHelper /** * Initialize the arguments. * - * @return void * @api */ public function initializeArguments() diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Form/HiddenViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Form/HiddenViewHelper.php index ce8c4e46646c..3a20b8f00b7a 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Form/HiddenViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Form/HiddenViewHelper.php @@ -41,7 +41,6 @@ class HiddenViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormFie /** * Initialize the arguments. * - * @return void * @api */ public function initializeArguments() diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Form/PasswordViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Form/PasswordViewHelper.php index 06117e5814c0..ae87e9f56ef8 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Form/PasswordViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Form/PasswordViewHelper.php @@ -38,7 +38,6 @@ class PasswordViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormF /** * Initialize the arguments. * - * @return void * @api */ public function initializeArguments() diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Form/RadioViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Form/RadioViewHelper.php index 9d73293c599c..c5374afd0d5c 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Form/RadioViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Form/RadioViewHelper.php @@ -56,7 +56,6 @@ class RadioViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormFiel /** * Initialize the arguments. * - * @return void * @api */ public function initializeArguments() diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Form/Select/OptgroupViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Form/Select/OptgroupViewHelper.php index e6f6938dc788..76880f3debde 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Form/Select/OptgroupViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Form/Select/OptgroupViewHelper.php @@ -29,7 +29,6 @@ class OptgroupViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormF /** * Initialize additional arguments available for this tag view helper. - * @return void */ public function initializeArguments() { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Form/Select/OptionViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Form/Select/OptionViewHelper.php index 37ac254a7689..8884f46dabb1 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Form/Select/OptionViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Form/Select/OptionViewHelper.php @@ -29,7 +29,6 @@ class OptionViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormFie /** * Initialize additional arguments available for this tag view helper. - * @return void */ public function initializeArguments() { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Form/SelectViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Form/SelectViewHelper.php index 3d35fa4e74f0..a172eb2bb3ad 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Form/SelectViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Form/SelectViewHelper.php @@ -90,7 +90,6 @@ class SelectViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormFie /** * Initialize arguments. * - * @return void * @api */ public function initializeArguments() diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Form/SubmitViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Form/SubmitViewHelper.php index 3371688838c6..19e67570a599 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Form/SubmitViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Form/SubmitViewHelper.php @@ -45,7 +45,6 @@ class SubmitViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormFie /** * Initialize the arguments. * - * @return void * @api */ public function initializeArguments() diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Form/TextareaViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Form/TextareaViewHelper.php index cb5dd2025be3..83b1513c87d9 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Form/TextareaViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Form/TextareaViewHelper.php @@ -39,7 +39,6 @@ class TextareaViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormF /** * Initialize the arguments. * - * @return void * @api */ public function initializeArguments() diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Form/TextfieldViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Form/TextfieldViewHelper.php index 95b8e23abf24..6bf35c23ee16 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Form/TextfieldViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Form/TextfieldViewHelper.php @@ -38,7 +38,6 @@ class TextfieldViewHelper extends AbstractFormFieldViewHelper /** * Initialize the arguments. * - * @return void * @throws \TYPO3Fluid\Fluid\Core\ViewHelper\Exception * @api */ diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Form/UploadViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Form/UploadViewHelper.php index aae034e8edb4..7516bd3a4882 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Form/UploadViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Form/UploadViewHelper.php @@ -39,7 +39,6 @@ class UploadViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormFie /** * Initialize the arguments. * - * @return void * @api */ public function initializeArguments() diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Form/ValidationResultsViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Form/ValidationResultsViewHelper.php index f2c8e0005224..dda72daa070c 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Form/ValidationResultsViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Form/ValidationResultsViewHelper.php @@ -73,7 +73,6 @@ class ValidationResultsViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\Abstr /** * Initialize arguments * - * @return void * @api */ public function initializeArguments() diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Format/BytesViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Format/BytesViewHelper.php index 2fff265792fa..f76c184617ec 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Format/BytesViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Format/BytesViewHelper.php @@ -65,8 +65,6 @@ class BytesViewHelper extends AbstractViewHelper /** * Initialize ViewHelper arguments - * - * @return void */ public function initializeArguments() { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Format/CaseViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Format/CaseViewHelper.php index a803e1a4b94c..7fdecc9c793d 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Format/CaseViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Format/CaseViewHelper.php @@ -100,8 +100,6 @@ class CaseViewHelper extends AbstractViewHelper /** * Initialize ViewHelper arguments - * - * @return void */ public function initializeArguments() { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Format/HtmlentitiesViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Format/HtmlentitiesViewHelper.php index ca74cc3132e0..bb5188d43fd1 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Format/HtmlentitiesViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Format/HtmlentitiesViewHelper.php @@ -56,8 +56,6 @@ class HtmlentitiesViewHelper extends AbstractEncodingViewHelper implements Singl /** * Initialize ViewHelper arguments - * - * @return void */ public function initializeArguments() { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Format/StripTagsViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Format/StripTagsViewHelper.php index 66556c0997b4..e6b52e568ca3 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Format/StripTagsViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Format/StripTagsViewHelper.php @@ -52,7 +52,6 @@ class StripTagsViewHelper extends AbstractViewHelper /** * Initialize ViewHelper arguments * - * @return void * @throws \TYPO3Fluid\Fluid\Core\ViewHelper\Exception */ public function initializeArguments() diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Format/UrlencodeViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Format/UrlencodeViewHelper.php index 868bf51d1692..f3579dd58318 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Format/UrlencodeViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Format/UrlencodeViewHelper.php @@ -39,7 +39,6 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithContentArgumentAndRenderS * <output> * Url encoded text (rawurlencode() applied) * </output> - * */ class UrlencodeViewHelper extends AbstractViewHelper { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/ImageViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/ImageViewHelper.php index 54ecf2def711..375a61c184af 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/ImageViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/ImageViewHelper.php @@ -83,8 +83,6 @@ class ImageViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBasedV /** * Initialize arguments. - * - * @return void */ public function initializeArguments() { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Link/ActionViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Link/ActionViewHelper.php index 37d6a26e5855..2b1cbd52d4a7 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Link/ActionViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Link/ActionViewHelper.php @@ -36,8 +36,6 @@ class ActionViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBased /** * Arguments initialization - * - * @return void */ public function initializeArguments() { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Link/EmailViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Link/EmailViewHelper.php index 25f6733e087e..80263fa108e8 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Link/EmailViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Link/EmailViewHelper.php @@ -44,8 +44,6 @@ class EmailViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBasedV /** * Arguments initialization - * - * @return void */ public function initializeArguments() { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Link/ExternalViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Link/ExternalViewHelper.php index be7c991deb99..79845374fe92 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Link/ExternalViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Link/ExternalViewHelper.php @@ -45,7 +45,6 @@ class ExternalViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBas /** * Initialize arguments * - * @return void * @api */ public function initializeArguments() diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Link/PageViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Link/PageViewHelper.php index a5b0f7d0c7fa..3edd96418895 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Link/PageViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Link/PageViewHelper.php @@ -52,8 +52,6 @@ class PageViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBasedVi /** * Arguments initialization - * - * @return void */ public function initializeArguments() { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Link/TypolinkViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Link/TypolinkViewHelper.php index 6ef31fbba6cf..ac02693f27ed 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Link/TypolinkViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Link/TypolinkViewHelper.php @@ -49,7 +49,6 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic; * Linktext * </a> * </output> - * */ class TypolinkViewHelper extends AbstractViewHelper { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/MediaViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/MediaViewHelper.php index 0e8f6e732222..81a1b27dec09 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/MediaViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/MediaViewHelper.php @@ -60,8 +60,6 @@ class MediaViewHelper extends AbstractTagBasedViewHelper /** * Initialize arguments. - * - * @return void */ public function initializeArguments() { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/RenderChildrenViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/RenderChildrenViewHelper.php index e4edb26f7fea..333b6a7be45e 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/RenderChildrenViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/RenderChildrenViewHelper.php @@ -86,7 +86,6 @@ class RenderChildrenViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\Abstract * Add the given arguments to the TemplateVariableContainer of the widget. * * @param array $arguments - * @return void */ protected function addArgumentsToTemplateVariableContainer(array $arguments) { @@ -100,7 +99,6 @@ class RenderChildrenViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\Abstract * Remove the given arguments from the TemplateVariableContainer of the widget. * * @param array $arguments - * @return void */ protected function removeArgumentsFromTemplateVariableContainer(array $arguments) { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Security/IfHasRoleViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Security/IfHasRoleViewHelper.php index 365bccd1e8ed..5ebebebd0878 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Security/IfHasRoleViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Security/IfHasRoleViewHelper.php @@ -60,8 +60,6 @@ class IfHasRoleViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractCondi * Initializes the "role" argument. * Renders <f:then> child if the current logged in FE user belongs to the specified role (aka usergroup) * otherwise renders <f:else> child. - * - * @return void */ public function initializeArguments() { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Uri/ActionViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Uri/ActionViewHelper.php index 409e030d1909..85101d4aa53d 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Uri/ActionViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Uri/ActionViewHelper.php @@ -32,7 +32,6 @@ class ActionViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelp /** * Initialize arguments * - * @return void * @api */ public function initializeArguments() @@ -58,7 +57,6 @@ class ActionViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelp } /** - * * @return string Rendered link */ public function render() diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Uri/EmailViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Uri/EmailViewHelper.php index b0fa6c142758..42ae3f985625 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Uri/EmailViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Uri/EmailViewHelper.php @@ -38,7 +38,6 @@ class EmailViewHelper extends AbstractViewHelper /** * Initialize arguments * - * @return void * @api */ public function initializeArguments() diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Uri/ResourceViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Uri/ResourceViewHelper.php index 047f07c52981..ad18723ac25e 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Uri/ResourceViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Uri/ResourceViewHelper.php @@ -37,7 +37,6 @@ class ResourceViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHe /** * Initialize arguments * - * @return void * @api */ public function initializeArguments() diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Uri/TypolinkViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Uri/TypolinkViewHelper.php index 5cb6947e5f27..43dfe3534a22 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Uri/TypolinkViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Uri/TypolinkViewHelper.php @@ -43,7 +43,6 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic; * <output> * index.php?id=19&X=y&u=b * </output> - * */ class TypolinkViewHelper extends AbstractViewHelper { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Widget/Controller/AutocompleteController.php b/typo3/sysext/fluid/Classes/ViewHelpers/Widget/Controller/AutocompleteController.php index a8c558389c34..b324133b0a95 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Widget/Controller/AutocompleteController.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Widget/Controller/AutocompleteController.php @@ -21,8 +21,6 @@ class AutocompleteController extends \TYPO3\CMS\Fluid\Core\Widget\AbstractWidget { /** * Simply assigns the ID of the widget. - * - * @return void */ public function indexAction() { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Widget/Controller/PaginateController.php b/typo3/sysext/fluid/Classes/ViewHelpers/Widget/Controller/PaginateController.php index 26f558a8e980..59e51c6a4bd7 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Widget/Controller/PaginateController.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Widget/Controller/PaginateController.php @@ -67,7 +67,6 @@ class PaginateController extends AbstractWidgetController /** * Initializes the current information on which page the visitor is. - * @return void */ public function initializeAction() { @@ -80,7 +79,6 @@ class PaginateController extends AbstractWidgetController /** * @param int $currentPage - * @return void */ public function indexAction($currentPage = 1) { @@ -111,8 +109,6 @@ class PaginateController extends AbstractWidgetController /** * If a certain number of links should be displayed, adjust before and after * amounts accordingly. - * - * @return void */ protected function calculateDisplayRange() { diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Widget/LinkViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Widget/LinkViewHelper.php index b5b475140908..8bb3848071a4 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Widget/LinkViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Widget/LinkViewHelper.php @@ -39,7 +39,6 @@ class LinkViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBasedVi /** * Initialize arguments * - * @return void * @api */ public function initializeArguments() diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Widget/UriViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Widget/UriViewHelper.php index cb19ca86199b..fe7b110a1afc 100644 --- a/typo3/sysext/fluid/Classes/ViewHelpers/Widget/UriViewHelper.php +++ b/typo3/sysext/fluid/Classes/ViewHelpers/Widget/UriViewHelper.php @@ -34,7 +34,6 @@ class UriViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper /** * Initialize arguments * - * @return void * @api */ public function initializeArguments() diff --git a/typo3/sysext/fluid/Tests/Unit/Core/Widget/AbstractWidgetViewHelperTest.php b/typo3/sysext/fluid/Tests/Unit/Core/Widget/AbstractWidgetViewHelperTest.php index c76a2af19b07..fe1683e8b173 100644 --- a/typo3/sysext/fluid/Tests/Unit/Core/Widget/AbstractWidgetViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Unit/Core/Widget/AbstractWidgetViewHelperTest.php @@ -103,8 +103,6 @@ class AbstractWidgetViewHelperTest extends \TYPO3\TestingFramework\Core\Unit\Uni /** * Calls the ViewHelper, and emulates a rendering. - * - * @return void */ public function callViewHelper() { diff --git a/typo3/sysext/fluid/Tests/Unit/View/AbstractTemplateViewTest.php b/typo3/sysext/fluid/Tests/Unit/View/AbstractTemplateViewTest.php index 4b0ebe305b83..7af107de3191 100644 --- a/typo3/sysext/fluid/Tests/Unit/View/AbstractTemplateViewTest.php +++ b/typo3/sysext/fluid/Tests/Unit/View/AbstractTemplateViewTest.php @@ -40,8 +40,6 @@ class AbstractTemplateViewTest extends \TYPO3\TestingFramework\Core\Unit\UnitTes /** * Sets up this test case - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/fluid/Tests/Unit/View/StandaloneViewTest.php b/typo3/sysext/fluid/Tests/Unit/View/StandaloneViewTest.php index c9e164ed2758..1b6f97c1adaf 100644 --- a/typo3/sysext/fluid/Tests/Unit/View/StandaloneViewTest.php +++ b/typo3/sysext/fluid/Tests/Unit/View/StandaloneViewTest.php @@ -100,8 +100,6 @@ class StandaloneViewTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Sets up this test case - * - * @return void */ protected function setUp() { @@ -139,7 +137,6 @@ class StandaloneViewTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase } /** - * @return void */ protected function tearDown() { diff --git a/typo3/sysext/fluid/Tests/Unit/ViewHelpers/FlashMessagesViewHelperTest.php b/typo3/sysext/fluid/Tests/Unit/ViewHelpers/FlashMessagesViewHelperTest.php index e2e1cb8b08fe..08713dba34a9 100644 --- a/typo3/sysext/fluid/Tests/Unit/ViewHelpers/FlashMessagesViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Unit/ViewHelpers/FlashMessagesViewHelperTest.php @@ -36,8 +36,6 @@ class FlashMessagesViewHelperTest extends ViewHelperBaseTestcase /** * Sets up this test case - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/AbstractFormFieldViewHelperTest.php b/typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/AbstractFormFieldViewHelperTest.php index 915fe487ce6c..77e725bc4599 100644 --- a/typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/AbstractFormFieldViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/AbstractFormFieldViewHelperTest.php @@ -257,7 +257,6 @@ class AbstractFormFieldViewHelperTest extends FormFieldViewHelperBaseTestcase /** * @test - * */ public function addAdditionalIdentityPropertiesIfNeededCallsRenderIdentityFieldWithTheRightParameters() { diff --git a/typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/FormFieldViewHelperBaseTestcase.php b/typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/FormFieldViewHelperBaseTestcase.php index 54eb82a4dc9e..6004174a89ea 100644 --- a/typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/FormFieldViewHelperBaseTestcase.php +++ b/typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/FormFieldViewHelperBaseTestcase.php @@ -28,7 +28,6 @@ abstract class FormFieldViewHelperBaseTestcase extends ViewHelperBaseTestcase protected $mockConfigurationManager; /** - * @return void */ protected function setUp() { @@ -38,7 +37,6 @@ abstract class FormFieldViewHelperBaseTestcase extends ViewHelperBaseTestcase /** * @param ViewHelperInterface $viewHelper - * @return void */ protected function injectDependenciesIntoViewHelper(ViewHelperInterface $viewHelper) { diff --git a/typo3/sysext/fluid/Tests/Unit/ViewHelpers/FormViewHelperTest.php b/typo3/sysext/fluid/Tests/Unit/ViewHelpers/FormViewHelperTest.php index ea7cd1bf3538..7bdebe88dc45 100644 --- a/typo3/sysext/fluid/Tests/Unit/ViewHelpers/FormViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Unit/ViewHelpers/FormViewHelperTest.php @@ -76,7 +76,6 @@ class FormViewHelperTest extends ViewHelperBaseTestcase /** * @param ViewHelperInterface $viewHelper - * @return void */ protected function injectDependenciesIntoViewHelper(ViewHelperInterface $viewHelper) { diff --git a/typo3/sysext/fluid/Tests/Unit/ViewHelpers/Widget/Controller/PaginateControllerTest.php b/typo3/sysext/fluid/Tests/Unit/ViewHelpers/Widget/Controller/PaginateControllerTest.php index 48b041595454..6e96808037bb 100644 --- a/typo3/sysext/fluid/Tests/Unit/ViewHelpers/Widget/Controller/PaginateControllerTest.php +++ b/typo3/sysext/fluid/Tests/Unit/ViewHelpers/Widget/Controller/PaginateControllerTest.php @@ -52,8 +52,6 @@ class PaginateControllerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestC /** * Sets up this test case - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/fluid_styled_content/Classes/ViewHelpers/Link/ClickEnlargeViewHelper.php b/typo3/sysext/fluid_styled_content/Classes/ViewHelpers/Link/ClickEnlargeViewHelper.php index 345e366380ff..cf9a06a71244 100644 --- a/typo3/sysext/fluid_styled_content/Classes/ViewHelpers/Link/ClickEnlargeViewHelper.php +++ b/typo3/sysext/fluid_styled_content/Classes/ViewHelpers/Link/ClickEnlargeViewHelper.php @@ -44,8 +44,6 @@ class ClickEnlargeViewHelper extends AbstractViewHelper /** * Initialize ViewHelper arguments - * - * @return void */ public function initializeArguments() { diff --git a/typo3/sysext/form/Classes/Controller/AbstractBackendController.php b/typo3/sysext/form/Classes/Controller/AbstractBackendController.php index 0f028e4982f7..8ac0902a26d1 100644 --- a/typo3/sysext/form/Classes/Controller/AbstractBackendController.php +++ b/typo3/sysext/form/Classes/Controller/AbstractBackendController.php @@ -40,7 +40,6 @@ abstract class AbstractBackendController extends ActionController /** * @param \TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface $formPersistenceManager - * @return void * @internal */ public function injectFormPersistenceManager(\TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface $formPersistenceManager) diff --git a/typo3/sysext/form/Classes/Controller/FormEditorController.php b/typo3/sysext/form/Classes/Controller/FormEditorController.php index de2af3e7f271..3a15aa862d92 100644 --- a/typo3/sysext/form/Classes/Controller/FormEditorController.php +++ b/typo3/sysext/form/Classes/Controller/FormEditorController.php @@ -55,7 +55,6 @@ class FormEditorController extends AbstractBackendController * * @param string $formPersistenceIdentifier * @param string $prototypeName - * @return void * @throws PersistenceManagerException * @internal */ diff --git a/typo3/sysext/form/Classes/Controller/FormFrontendController.php b/typo3/sysext/form/Classes/Controller/FormFrontendController.php index d69e2c255803..3d27737e2321 100644 --- a/typo3/sysext/form/Classes/Controller/FormFrontendController.php +++ b/typo3/sysext/form/Classes/Controller/FormFrontendController.php @@ -35,7 +35,6 @@ class FormFrontendController extends ActionController /** * @param \TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface $formPersistenceManager - * @return void * @internal */ public function injectFormPersistenceManager(\TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface $formPersistenceManager) @@ -50,7 +49,6 @@ class FormFrontendController extends ActionController * This method is used directly to display the first page from the * formDefinition because its cached. * - * @return void * @internal */ public function renderAction() @@ -69,7 +67,6 @@ class FormFrontendController extends ActionController * This method is used to display all pages / finishers except the * first page because its non cached. * - * @return void * @internal */ public function performAction() diff --git a/typo3/sysext/form/Classes/Controller/FormManagerController.php b/typo3/sysext/form/Classes/Controller/FormManagerController.php index a6a5c53e9d52..46cb2fb2c57a 100644 --- a/typo3/sysext/form/Classes/Controller/FormManagerController.php +++ b/typo3/sysext/form/Classes/Controller/FormManagerController.php @@ -51,7 +51,6 @@ class FormManagerController extends AbstractBackendController * Initialize the references action. * This action use the Fluid JsonView::class as view. * - * @return void * @internal */ public function initializeReferencesAction() @@ -62,7 +61,6 @@ class FormManagerController extends AbstractBackendController /** * Displays the Form Manager * - * @return void * @internal */ public function indexAction() @@ -169,7 +167,6 @@ class FormManagerController extends AbstractBackendController * Show references to this persistence identifier * * @param string $formPersistenceIdentifier persistence identifier of the form to duplicate - * @return void * @internal */ public function referencesAction(string $formPersistenceIdentifier) @@ -188,7 +185,6 @@ class FormManagerController extends AbstractBackendController * Delete a formDefinition identified by the $formPersistenceIdentifier. * * @param string $formPersistenceIdentifier persistence identifier to delete - * @return void * @internal */ public function deleteAction(string $formPersistenceIdentifier) diff --git a/typo3/sysext/form/Classes/Domain/Factory/AbstractFormFactory.php b/typo3/sysext/form/Classes/Domain/Factory/AbstractFormFactory.php index 23b0e4259986..b71952047545 100644 --- a/typo3/sysext/form/Classes/Domain/Factory/AbstractFormFactory.php +++ b/typo3/sysext/form/Classes/Domain/Factory/AbstractFormFactory.php @@ -57,7 +57,6 @@ abstract class AbstractFormFactory implements FormFactoryInterface * hook on all form elements. * * @param FormDefinition $form - * @return void * @api */ protected function triggerFormBuildingFinished(FormDefinition $form) diff --git a/typo3/sysext/form/Classes/Domain/Finishers/AbstractFinisher.php b/typo3/sysext/form/Classes/Domain/Finishers/AbstractFinisher.php index 79b818c0ff14..1b560fb972d8 100644 --- a/typo3/sysext/form/Classes/Domain/Finishers/AbstractFinisher.php +++ b/typo3/sysext/form/Classes/Domain/Finishers/AbstractFinisher.php @@ -79,7 +79,6 @@ abstract class AbstractFinisher implements FinisherInterface /** * @param array $options configuration options in the format ['option1' => 'value1', 'option2' => 'value2', ...] - * @return void * @api */ public function setOptions(array $options) @@ -92,7 +91,6 @@ abstract class AbstractFinisher implements FinisherInterface * * @param string $optionName name of the option to be set * @param mixed $optionValue value of the option - * @return void * @api */ public function setOption(string $optionName, $optionValue) @@ -104,7 +102,6 @@ abstract class AbstractFinisher implements FinisherInterface * Executes the finisher * * @param FinisherContext $finisherContext The Finisher context that contains the current Form Runtime and Response - * @return void * @api */ final public function execute(FinisherContext $finisherContext) @@ -120,7 +117,6 @@ abstract class AbstractFinisher implements FinisherInterface * * Override and fill with your own implementation! * - * @return void * @api */ abstract protected function executeInternal(); diff --git a/typo3/sysext/form/Classes/Domain/Finishers/ClosureFinisher.php b/typo3/sysext/form/Classes/Domain/Finishers/ClosureFinisher.php index ab0826254047..eba195d37ca4 100644 --- a/typo3/sysext/form/Classes/Domain/Finishers/ClosureFinisher.php +++ b/typo3/sysext/form/Classes/Domain/Finishers/ClosureFinisher.php @@ -48,7 +48,6 @@ class ClosureFinisher extends AbstractFinisher * Executes this finisher * @see AbstractFinisher::execute() * - * @return void * @throws FinisherException */ protected function executeInternal() diff --git a/typo3/sysext/form/Classes/Domain/Finishers/ConfirmationFinisher.php b/typo3/sysext/form/Classes/Domain/Finishers/ConfirmationFinisher.php index 1d609a186a79..07188b0d6912 100644 --- a/typo3/sysext/form/Classes/Domain/Finishers/ConfirmationFinisher.php +++ b/typo3/sysext/form/Classes/Domain/Finishers/ConfirmationFinisher.php @@ -53,7 +53,6 @@ class ConfirmationFinisher extends AbstractFinisher * Executes this finisher * @see AbstractFinisher::execute() * - * @return void * @throws FinisherException */ protected function executeInternal() diff --git a/typo3/sysext/form/Classes/Domain/Finishers/DeleteUploadsFinisher.php b/typo3/sysext/form/Classes/Domain/Finishers/DeleteUploadsFinisher.php index 46af39856706..8df9f5a51f8b 100644 --- a/typo3/sysext/form/Classes/Domain/Finishers/DeleteUploadsFinisher.php +++ b/typo3/sysext/form/Classes/Domain/Finishers/DeleteUploadsFinisher.php @@ -31,8 +31,6 @@ class DeleteUploadsFinisher extends AbstractFinisher /** * Executes this finisher * @see AbstractFinisher::execute() - * - * @return void */ protected function executeInternal() { diff --git a/typo3/sysext/form/Classes/Domain/Finishers/EmailFinisher.php b/typo3/sysext/form/Classes/Domain/Finishers/EmailFinisher.php index e3aeef79e8d7..cd6958eb21d9 100644 --- a/typo3/sysext/form/Classes/Domain/Finishers/EmailFinisher.php +++ b/typo3/sysext/form/Classes/Domain/Finishers/EmailFinisher.php @@ -69,7 +69,6 @@ class EmailFinisher extends AbstractFinisher * Executes this finisher * @see AbstractFinisher::execute() * - * @return void * @throws FinisherException */ protected function executeInternal() diff --git a/typo3/sysext/form/Classes/Domain/Finishers/FinisherContext.php b/typo3/sysext/form/Classes/Domain/Finishers/FinisherContext.php index 54ca2a8b1453..d6b78532be1d 100644 --- a/typo3/sysext/form/Classes/Domain/Finishers/FinisherContext.php +++ b/typo3/sysext/form/Classes/Domain/Finishers/FinisherContext.php @@ -84,7 +84,6 @@ class FinisherContext /** * Cancels the finisher invocation after the current finisher * - * @return void * @api */ public function cancel() diff --git a/typo3/sysext/form/Classes/Domain/Finishers/FinisherInterface.php b/typo3/sysext/form/Classes/Domain/Finishers/FinisherInterface.php index 6d882995275b..b6330a2a00be 100644 --- a/typo3/sysext/form/Classes/Domain/Finishers/FinisherInterface.php +++ b/typo3/sysext/form/Classes/Domain/Finishers/FinisherInterface.php @@ -30,14 +30,12 @@ interface FinisherInterface * Executes the finisher * * @param FinisherContext $finisherContext The Finisher context that contains the current Form Runtime and Response - * @return void * @api */ public function execute(FinisherContext $finisherContext); /** * @param array $options configuration options in the format ['option1' => 'value1', 'option2' => 'value2', ...] - * @return void * @api */ public function setOptions(array $options); @@ -47,7 +45,6 @@ interface FinisherInterface * * @param string $optionName name of the option to be set * @param mixed $optionValue value of the option - * @return void * @api */ public function setOption(string $optionName, $optionValue); diff --git a/typo3/sysext/form/Classes/Domain/Finishers/FinisherVariableProvider.php b/typo3/sysext/form/Classes/Domain/Finishers/FinisherVariableProvider.php index c5fabeae0130..1cee140e1c1a 100644 --- a/typo3/sysext/form/Classes/Domain/Finishers/FinisherVariableProvider.php +++ b/typo3/sysext/form/Classes/Domain/Finishers/FinisherVariableProvider.php @@ -41,7 +41,6 @@ final class FinisherVariableProvider implements \ArrayAccess * @param string $finisherIdentifier * @param string $key * @param mixed $value - * @return void * @api */ public function add(string $finisherIdentifier, string $key, $value) @@ -56,7 +55,6 @@ final class FinisherVariableProvider implements \ArrayAccess * @param string $finisherIdentifier * @param string $key * @param mixed $value - * @return void */ public function addOrUpdate(string $finisherIdentifier, string $key, $value) { @@ -111,7 +109,6 @@ final class FinisherVariableProvider implements \ArrayAccess * * @param string $finisherIdentifier * @param string $key - * @return void * @api */ public function remove(string $finisherIdentifier, string $key) @@ -165,7 +162,6 @@ final class FinisherVariableProvider implements \ArrayAccess * @link http://php.net/manual/en/arrayaccess.offsetset.php * @param mixed $offset The offset to assign the value to. * @param mixed $value The value to set. - * @return void */ public function offsetSet($offset, $value) { @@ -177,7 +173,6 @@ final class FinisherVariableProvider implements \ArrayAccess * * @link http://php.net/manual/en/arrayaccess.offsetunset.php * @param mixed $offset The offset to unset. - * @return void */ public function offsetUnset($offset) { diff --git a/typo3/sysext/form/Classes/Domain/Finishers/FlashMessageFinisher.php b/typo3/sysext/form/Classes/Domain/Finishers/FlashMessageFinisher.php index 810c468d4ddc..62cde2daf62a 100644 --- a/typo3/sysext/form/Classes/Domain/Finishers/FlashMessageFinisher.php +++ b/typo3/sysext/form/Classes/Domain/Finishers/FlashMessageFinisher.php @@ -62,7 +62,6 @@ class FlashMessageFinisher extends AbstractFinisher * Executes this finisher * @see AbstractFinisher::execute() * - * @return void * @throws FinisherException */ protected function executeInternal() diff --git a/typo3/sysext/form/Classes/Domain/Finishers/RedirectFinisher.php b/typo3/sysext/form/Classes/Domain/Finishers/RedirectFinisher.php index 0d20268f11b5..e5e77e8cfed1 100644 --- a/typo3/sysext/form/Classes/Domain/Finishers/RedirectFinisher.php +++ b/typo3/sysext/form/Classes/Domain/Finishers/RedirectFinisher.php @@ -58,8 +58,6 @@ class RedirectFinisher extends AbstractFinisher /** * Executes this finisher * @see AbstractFinisher::execute() - * - * @return void */ protected function executeInternal() { @@ -91,7 +89,6 @@ class RedirectFinisher extends AbstractFinisher * @param string $additionalParameters * @param int $delay (optional) The delay in seconds. Default is no delay. * @param int $statusCode (optional) The HTTP status code for the redirect. Default is "303 See Other - * @return void * @throws UnsupportedRequestTypeException If the request is not a web request * @see forward() */ diff --git a/typo3/sysext/form/Classes/Domain/Finishers/SaveToDatabaseFinisher.php b/typo3/sysext/form/Classes/Domain/Finishers/SaveToDatabaseFinisher.php index 1402251b1049..ef6ddb38ce88 100644 --- a/typo3/sysext/form/Classes/Domain/Finishers/SaveToDatabaseFinisher.php +++ b/typo3/sysext/form/Classes/Domain/Finishers/SaveToDatabaseFinisher.php @@ -192,7 +192,6 @@ class SaveToDatabaseFinisher extends AbstractFinisher * Executes this finisher * @see AbstractFinisher::execute() * - * @return void * @throws FinisherException */ protected function executeInternal() @@ -213,7 +212,6 @@ class SaveToDatabaseFinisher extends AbstractFinisher * Perform the current database operation * * @param int $iterationCount - * @return void */ protected function process(int $iterationCount) { @@ -283,7 +281,6 @@ class SaveToDatabaseFinisher extends AbstractFinisher * @param [] $databaseData * @param string $table * @param int $iterationCount - * @return void */ protected function saveToDatabase(array $databaseData, string $table, int $iterationCount) { @@ -314,7 +311,6 @@ class SaveToDatabaseFinisher extends AbstractFinisher * Throws an exception if some inconsistent configuration * are detected. * - * @return void * @throws FinisherException */ protected function throwExceptionOnInconsistentConfiguration() diff --git a/typo3/sysext/form/Classes/Domain/Model/FormDefinition.php b/typo3/sysext/form/Classes/Domain/Model/FormDefinition.php index ff6cdd5e4372..2bee2f5a1d2c 100644 --- a/typo3/sysext/form/Classes/Domain/Model/FormDefinition.php +++ b/typo3/sysext/form/Classes/Domain/Model/FormDefinition.php @@ -324,7 +324,6 @@ class FormDefinition extends AbstractCompositeRenderable /** * Initialize the form defaults of the current type * - * @return void * @throws TypeDefinitionNotFoundException * @internal */ @@ -343,7 +342,6 @@ class FormDefinition extends AbstractCompositeRenderable * the passed $options array. * * @param array $options - * @return void * @internal */ public function setOptions(array $options) @@ -427,7 +425,6 @@ class FormDefinition extends AbstractCompositeRenderable * Instead of this method, you should often use {@link createPage} instead. * * @param Page $page - * @return void * @throws FormDefinitionConsistencyException if Page is already added to a FormDefinition * @see createPage * @api @@ -482,7 +479,6 @@ class FormDefinition extends AbstractCompositeRenderable * Adds the specified finisher to this form * * @param FinisherInterface $finisher - * @return void * @api */ public function addFinisher(FinisherInterface $finisher) @@ -528,7 +524,6 @@ class FormDefinition extends AbstractCompositeRenderable * Add an element to the ElementsByIdentifier Cache. * * @param RenderableInterface $renderable - * @return void * @throws DuplicateFormElementException * @internal */ @@ -546,7 +541,6 @@ class FormDefinition extends AbstractCompositeRenderable * Remove an element from the ElementsByIdentifier cache * * @param RenderableInterface $renderable - * @return void * @internal */ public function unregisterRenderable(RenderableInterface $renderable) @@ -575,7 +569,6 @@ class FormDefinition extends AbstractCompositeRenderable * * @param string $elementIdentifier identifier of the form element. This supports property paths! * @param mixed $defaultValue - * @return void * @internal */ public function addElementDefaultValue(string $elementIdentifier, $defaultValue) @@ -606,7 +599,6 @@ class FormDefinition extends AbstractCompositeRenderable * * @param Page $pageToMove * @param Page $referencePage - * @return void * @api */ public function movePageBefore(Page $pageToMove, Page $referencePage) @@ -619,7 +611,6 @@ class FormDefinition extends AbstractCompositeRenderable * * @param Page $pageToMove * @param Page $referencePage - * @return void * @api */ public function movePageAfter(Page $pageToMove, Page $referencePage) @@ -631,7 +622,6 @@ class FormDefinition extends AbstractCompositeRenderable * Remove $pageToRemove from form * * @param Page $pageToRemove - * @return void * @api */ public function removePage(Page $pageToRemove) @@ -710,7 +700,6 @@ class FormDefinition extends AbstractCompositeRenderable * Set the renderer class name * * @param string $rendererClassName - * @return void * @api */ public function setRendererClassName(string $rendererClassName) diff --git a/typo3/sysext/form/Classes/Domain/Model/FormElements/AbstractFormElement.php b/typo3/sysext/form/Classes/Domain/Model/FormElements/AbstractFormElement.php index 43cc590905e2..737f0e83c3ba 100644 --- a/typo3/sysext/form/Classes/Domain/Model/FormElements/AbstractFormElement.php +++ b/typo3/sysext/form/Classes/Domain/Model/FormElements/AbstractFormElement.php @@ -70,7 +70,6 @@ abstract class AbstractFormElement extends AbstractRenderable implements FormEle /** * Override this method in your custom FormElements if needed * - * @return void * @api */ public function initializeFormElement() @@ -120,7 +119,6 @@ abstract class AbstractFormElement extends AbstractRenderable implements FormEle * Set the default value of the element * * @param mixed $defaultValue - * @return void * @api */ public function setDefaultValue($defaultValue) @@ -150,7 +148,6 @@ abstract class AbstractFormElement extends AbstractRenderable implements FormEle * * @param string $key * @param mixed $value - * @return void * @api */ public function setProperty(string $key, $value) @@ -175,7 +172,6 @@ abstract class AbstractFormElement extends AbstractRenderable implements FormEle * @param FormRuntime $formRuntime * @param mixed $elementValue * @param array $requestArguments submitted raw request values - * @return void * @api * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 */ diff --git a/typo3/sysext/form/Classes/Domain/Model/FormElements/AbstractSection.php b/typo3/sysext/form/Classes/Domain/Model/FormElements/AbstractSection.php index 312f582279ed..3ccf1b05f62e 100644 --- a/typo3/sysext/form/Classes/Domain/Model/FormElements/AbstractSection.php +++ b/typo3/sysext/form/Classes/Domain/Model/FormElements/AbstractSection.php @@ -84,7 +84,6 @@ abstract class AbstractSection extends AbstractCompositeRenderable * Add a new form element at the end of the section * * @param FormElementInterface $formElement The form element to add - * @return void * @throws FormDefinitionConsistencyException if FormElement is already added to a section * @api */ @@ -155,7 +154,6 @@ abstract class AbstractSection extends AbstractCompositeRenderable * * @param FormElementInterface $elementToMove * @param FormElementInterface $referenceElement - * @return void * @api */ public function moveElementBefore(FormElementInterface $elementToMove, FormElementInterface $referenceElement) @@ -170,7 +168,6 @@ abstract class AbstractSection extends AbstractCompositeRenderable * * @param FormElementInterface $elementToMove * @param FormElementInterface $referenceElement - * @return void * @api */ public function moveElementAfter(FormElementInterface $elementToMove, FormElementInterface $referenceElement) @@ -182,7 +179,6 @@ abstract class AbstractSection extends AbstractCompositeRenderable * Remove $elementToRemove from this Section/Page * * @param FormElementInterface $elementToRemove - * @return void * @api */ public function removeElement(FormElementInterface $elementToRemove) @@ -198,7 +194,6 @@ abstract class AbstractSection extends AbstractCompositeRenderable * @param FormRuntime $formRuntime * @param mixed $elementValue submitted value of the element *before post processing* * @param array $requestArguments submitted raw request values - * @return void * @api * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 */ diff --git a/typo3/sysext/form/Classes/Domain/Model/FormElements/AdvancedPassword.php b/typo3/sysext/form/Classes/Domain/Model/FormElements/AdvancedPassword.php index fb94c6e8fcf9..67bb855ad696 100644 --- a/typo3/sysext/form/Classes/Domain/Model/FormElements/AdvancedPassword.php +++ b/typo3/sysext/form/Classes/Domain/Model/FormElements/AdvancedPassword.php @@ -36,7 +36,6 @@ class AdvancedPassword extends AbstractFormElement * @param FormRuntime $formRuntime * @param mixed $elementValue submitted value of the element *before post processing* * @param array $requestArguments submitted raw request values - * @return void * @see FormRuntime::mapAndValidate() * @internal * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 diff --git a/typo3/sysext/form/Classes/Domain/Model/FormElements/DatePicker.php b/typo3/sysext/form/Classes/Domain/Model/FormElements/DatePicker.php index ebf32ae10797..430831dd6118 100644 --- a/typo3/sysext/form/Classes/Domain/Model/FormElements/DatePicker.php +++ b/typo3/sysext/form/Classes/Domain/Model/FormElements/DatePicker.php @@ -27,7 +27,6 @@ class DatePicker extends AbstractFormElement /** * Initializes the Form Element by setting the data type to "DateTime" - * @return void * @internal */ public function initializeFormElement() diff --git a/typo3/sysext/form/Classes/Domain/Model/FormElements/FileUpload.php b/typo3/sysext/form/Classes/Domain/Model/FormElements/FileUpload.php index 480118fc177a..7d4f00398be9 100644 --- a/typo3/sysext/form/Classes/Domain/Model/FormElements/FileUpload.php +++ b/typo3/sysext/form/Classes/Domain/Model/FormElements/FileUpload.php @@ -27,7 +27,6 @@ class FileUpload extends AbstractFormElement /** * Initializes the Form Element by setting the data type to a Extbase File Reference - * @return void * @internal */ public function initializeFormElement() @@ -37,7 +36,6 @@ class FileUpload extends AbstractFormElement } /** - * @return void * @internal * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 */ diff --git a/typo3/sysext/form/Classes/Domain/Model/FormElements/FormElementInterface.php b/typo3/sysext/form/Classes/Domain/Model/FormElements/FormElementInterface.php index 80b43e616570..b5b0e6688ef5 100644 --- a/typo3/sysext/form/Classes/Domain/Model/FormElements/FormElementInterface.php +++ b/typo3/sysext/form/Classes/Domain/Model/FormElements/FormElementInterface.php @@ -40,7 +40,6 @@ interface FormElementInterface extends RenderableInterface * Will be called as soon as the element is (tried to be) added to a form * @see registerInFormIfPossible() * - * @return void * @internal */ public function initializeFormElement(); @@ -78,7 +77,6 @@ interface FormElementInterface extends RenderableInterface * * @param string $key * @param mixed $value - * @return void * @api */ public function setProperty(string $key, $value); @@ -112,7 +110,6 @@ interface FormElementInterface extends RenderableInterface * Registers a validator for this element * * @param ValidatorInterface $validator - * @return void * @api */ public function addValidator(ValidatorInterface $validator); @@ -121,7 +118,6 @@ interface FormElementInterface extends RenderableInterface * Set the target data type for this element * * @param string $dataType the target data type - * @return void * @api */ public function setDataType(string $dataType); @@ -141,7 +137,6 @@ interface FormElementInterface extends RenderableInterface * @param FormRuntime $formRuntime * @param mixed $elementValue submitted value of the element *before post processing* * @param array $requestArguments submitted raw request values - * @return void * @see FormRuntime::mapAndValidate() * @api * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 diff --git a/typo3/sysext/form/Classes/Domain/Model/FormElements/GridContainer.php b/typo3/sysext/form/Classes/Domain/Model/FormElements/GridContainer.php index 84a1a125b92f..909ff1658609 100644 --- a/typo3/sysext/form/Classes/Domain/Model/FormElements/GridContainer.php +++ b/typo3/sysext/form/Classes/Domain/Model/FormElements/GridContainer.php @@ -31,7 +31,6 @@ class GridContainer extends Section implements GridContainerInterface /** * Register this element at the parent form, if there is a connection to the parent form. * - * @return void * @throws TypeDefinitionNotValidException * @internal */ @@ -52,7 +51,6 @@ class GridContainer extends Section implements GridContainerInterface * Add a new row element at the end of the grid container * * @param FormElementInterface $formElement The form element to add - * @return void * @api */ public function addElement(FormElementInterface $formElement) diff --git a/typo3/sysext/form/Classes/Domain/Model/FormElements/GridRow.php b/typo3/sysext/form/Classes/Domain/Model/FormElements/GridRow.php index 5be61bd435c1..739b33683b33 100644 --- a/typo3/sysext/form/Classes/Domain/Model/FormElements/GridRow.php +++ b/typo3/sysext/form/Classes/Domain/Model/FormElements/GridRow.php @@ -34,7 +34,6 @@ class GridRow extends Section implements GridRowInterface * Add a new form element at the end of the grid row * * @param FormElementInterface $formElement The form element to add - * @return void * @throws TypeDefinitionNotValidException if FormElement is already added to a section * @api */ diff --git a/typo3/sysext/form/Classes/Domain/Model/FormElements/Page.php b/typo3/sysext/form/Classes/Domain/Model/FormElements/Page.php index 20fcdb7c2876..ae507e49c4a6 100644 --- a/typo3/sysext/form/Classes/Domain/Model/FormElements/Page.php +++ b/typo3/sysext/form/Classes/Domain/Model/FormElements/Page.php @@ -56,7 +56,6 @@ class Page extends AbstractSection * Set the parent renderable * * @param CompositeRenderableInterface $parentRenderable - * @return void * @throws FormException * @api */ diff --git a/typo3/sysext/form/Classes/Domain/Model/FormElements/Section.php b/typo3/sysext/form/Classes/Domain/Model/FormElements/Section.php index 3522334ecd8b..b36a8ae109f6 100644 --- a/typo3/sysext/form/Classes/Domain/Model/FormElements/Section.php +++ b/typo3/sysext/form/Classes/Domain/Model/FormElements/Section.php @@ -43,7 +43,6 @@ class Section extends AbstractSection implements FormElementInterface * Will be called as soon as the element is (tried to be) added to a form * @see registerInFormIfPossible() * - * @return void * @internal */ public function initializeFormElement() @@ -118,7 +117,6 @@ class Section extends AbstractSection implements FormElementInterface * * @param string $key * @param mixed $value - * @return void * @api */ public function setProperty(string $key, $value) @@ -155,7 +153,6 @@ class Section extends AbstractSection implements FormElementInterface * Add a validator to the element * * @param ValidatorInterface $validator - * @return void * @api */ public function addValidator(ValidatorInterface $validator) diff --git a/typo3/sysext/form/Classes/Domain/Model/FormElements/UnknownFormElement.php b/typo3/sysext/form/Classes/Domain/Model/FormElements/UnknownFormElement.php index 465e4f2990cd..8a8cd79e1f0c 100644 --- a/typo3/sysext/form/Classes/Domain/Model/FormElements/UnknownFormElement.php +++ b/typo3/sysext/form/Classes/Domain/Model/FormElements/UnknownFormElement.php @@ -48,7 +48,6 @@ class UnknownFormElement extends AbstractRenderable implements FormElementInterf } /** - * @return void * @api */ public function initializeFormElement() @@ -119,7 +118,6 @@ class UnknownFormElement extends AbstractRenderable implements FormElementInterf * * @param string $key * @param mixed $value - * @return void * @internal */ public function setProperty(string $key, $value) @@ -150,7 +148,6 @@ class UnknownFormElement extends AbstractRenderable implements FormElementInterf * @param FormRuntime $formRuntime * @param mixed $elementValue submitted value of the element *before post processing* * @param array $requestArguments submitted raw request values - * @return void * @see FormRuntime::mapAndValidate() * @internal * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 diff --git a/typo3/sysext/form/Classes/Domain/Model/Renderable/AbstractCompositeRenderable.php b/typo3/sysext/form/Classes/Domain/Model/Renderable/AbstractCompositeRenderable.php index bfeaaa1dd994..5274f85b8203 100644 --- a/typo3/sysext/form/Classes/Domain/Model/Renderable/AbstractCompositeRenderable.php +++ b/typo3/sysext/form/Classes/Domain/Model/Renderable/AbstractCompositeRenderable.php @@ -43,7 +43,6 @@ abstract class AbstractCompositeRenderable extends AbstractRenderable implements * or "addElement" method with the correct type hint. * * @param RenderableInterface $renderable - * @return void * @throws FormDefinitionConsistencyException * @internal */ @@ -65,7 +64,6 @@ abstract class AbstractCompositeRenderable extends AbstractRenderable implements * * @param RenderableInterface $renderableToMove * @param RenderableInterface $referenceRenderable - * @return void * @throws FormDefinitionConsistencyException * @internal */ @@ -102,7 +100,6 @@ abstract class AbstractCompositeRenderable extends AbstractRenderable implements * * @param RenderableInterface $renderableToMove * @param RenderableInterface $referenceRenderable - * @return void * @throws FormDefinitionConsistencyException * @internal */ @@ -157,7 +154,6 @@ abstract class AbstractCompositeRenderable extends AbstractRenderable implements * or "removeElement" method with the correct type hint. * * @param RenderableInterface $renderableToRemove - * @return void * @throws FormDefinitionConsistencyException * @internal */ @@ -183,7 +179,6 @@ abstract class AbstractCompositeRenderable extends AbstractRenderable implements /** * Register this element at the parent form, if there is a connection to the parent form. * - * @return void * @internal */ public function registerInFormIfPossible() @@ -199,7 +194,6 @@ abstract class AbstractCompositeRenderable extends AbstractRenderable implements * renderable. * This just passes the event down to all child renderables of this composite renderable. * - * @return void * @internal */ public function onRemoveFromParentRenderable() diff --git a/typo3/sysext/form/Classes/Domain/Model/Renderable/AbstractRenderable.php b/typo3/sysext/form/Classes/Domain/Model/Renderable/AbstractRenderable.php index 9a1569725ab2..668ca265ae24 100644 --- a/typo3/sysext/form/Classes/Domain/Model/Renderable/AbstractRenderable.php +++ b/typo3/sysext/form/Classes/Domain/Model/Renderable/AbstractRenderable.php @@ -114,7 +114,6 @@ abstract class AbstractRenderable implements RenderableInterface * Set the identifier of the element * * @param string $identifier - * @return void * @api */ public function setIdentifier(string $identifier) @@ -128,7 +127,6 @@ abstract class AbstractRenderable implements RenderableInterface * the passed $options array. * * @param array $options - * @return void * @api */ public function setOptions(array $options) @@ -208,7 +206,6 @@ abstract class AbstractRenderable implements RenderableInterface * Add a validator to the element * * @param ValidatorInterface $validator - * @return void * @api */ public function addValidator(ValidatorInterface $validator) @@ -233,7 +230,6 @@ abstract class AbstractRenderable implements RenderableInterface * Set the datatype * * @param string $dataType - * @return void * @api */ public function setDataType(string $dataType) @@ -281,7 +277,6 @@ abstract class AbstractRenderable implements RenderableInterface * Get the parent renderable * * @return null|CompositeRenderableInterface - * @return void * @api */ public function getParentRenderable() @@ -293,7 +288,6 @@ abstract class AbstractRenderable implements RenderableInterface * Set the parent renderable * * @param CompositeRenderableInterface $parentRenderable - * @return void * @api */ public function setParentRenderable(CompositeRenderableInterface $parentRenderable) @@ -325,7 +319,6 @@ abstract class AbstractRenderable implements RenderableInterface /** * Register this element at the parent form, if there is a connection to the parent form. * - * @return void * @internal */ public function registerInFormIfPossible() @@ -340,7 +333,6 @@ abstract class AbstractRenderable implements RenderableInterface /** * Triggered when the renderable is removed from it's parent * - * @return void * @internal */ public function onRemoveFromParentRenderable() @@ -382,7 +374,6 @@ abstract class AbstractRenderable implements RenderableInterface * Set the index of the renderable * * @param int $index - * @return void * @internal */ public function setIndex(int $index) @@ -405,7 +396,6 @@ abstract class AbstractRenderable implements RenderableInterface * Set the label which shall be displayed next to the form element * * @param string $label - * @return void * @api */ public function setLabel(string $label) @@ -430,7 +420,6 @@ abstract class AbstractRenderable implements RenderableInterface * Override this method in your custom Renderable if needed * * @param FormRuntime $formRuntime - * @return void * @api * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 */ @@ -445,7 +434,6 @@ abstract class AbstractRenderable implements RenderableInterface * * Override this method in your custom Renderable if needed. * - * @return void * @api * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 */ diff --git a/typo3/sysext/form/Classes/Domain/Model/Renderable/RenderableInterface.php b/typo3/sysext/form/Classes/Domain/Model/Renderable/RenderableInterface.php index 7b185c797f50..ddbc66ba257f 100644 --- a/typo3/sysext/form/Classes/Domain/Model/Renderable/RenderableInterface.php +++ b/typo3/sysext/form/Classes/Domain/Model/Renderable/RenderableInterface.php @@ -42,7 +42,6 @@ interface RenderableInterface extends RootRenderableInterface * This method should also register itself at the parent form, if possible. * * @param CompositeRenderableInterface $renderable - * @return void * @internal */ public function setParentRenderable(CompositeRenderableInterface $renderable); @@ -51,7 +50,6 @@ interface RenderableInterface extends RootRenderableInterface * Set the index of this renderable inside the parent renderable * * @param int $index - * @return void * @internal */ public function setIndex(int $index); @@ -70,7 +68,6 @@ interface RenderableInterface extends RootRenderableInterface * like reseting $this->parentRenderable or deregistering the renderable * at the form. * - * @return void * @internal */ public function onRemoveFromParentRenderable(); @@ -79,7 +76,6 @@ interface RenderableInterface extends RootRenderableInterface * This is a callback that is invoked by the Form Factory after the whole form has been built. * It can be used to add new form elements as children for complex form elements. * - * @return void * @api * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 */ @@ -88,7 +84,6 @@ interface RenderableInterface extends RootRenderableInterface /** * Register this element at the parent form, if there is a connection to the parent form. * - * @return void * @internal */ public function registerInFormIfPossible(); diff --git a/typo3/sysext/form/Classes/Domain/Model/Renderable/RootRenderableInterface.php b/typo3/sysext/form/Classes/Domain/Model/Renderable/RootRenderableInterface.php index cf75cf359179..c142ca020ee3 100644 --- a/typo3/sysext/form/Classes/Domain/Model/Renderable/RootRenderableInterface.php +++ b/typo3/sysext/form/Classes/Domain/Model/Renderable/RootRenderableInterface.php @@ -60,7 +60,6 @@ interface RootRenderableInterface * is outputted to the browser. * * @param FormRuntime $formRuntime - * @return void * @api * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 */ diff --git a/typo3/sysext/form/Classes/Domain/Renderer/AbstractElementRenderer.php b/typo3/sysext/form/Classes/Domain/Renderer/AbstractElementRenderer.php index 88526134603c..350b8e6ed568 100644 --- a/typo3/sysext/form/Classes/Domain/Renderer/AbstractElementRenderer.php +++ b/typo3/sysext/form/Classes/Domain/Renderer/AbstractElementRenderer.php @@ -56,7 +56,6 @@ abstract class AbstractElementRenderer implements RendererInterface /** * @param FormRuntime $formRuntime - * @return void * @api */ public function setFormRuntime(FormRuntime $formRuntime) diff --git a/typo3/sysext/form/Classes/Domain/Renderer/RendererInterface.php b/typo3/sysext/form/Classes/Domain/Renderer/RendererInterface.php index 50840c34bd7d..8ad7af001483 100644 --- a/typo3/sysext/form/Classes/Domain/Renderer/RendererInterface.php +++ b/typo3/sysext/form/Classes/Domain/Renderer/RendererInterface.php @@ -49,7 +49,6 @@ interface RendererInterface /** * @param FormRuntime $formRuntime - * @return void * @api */ public function setFormRuntime(FormRuntime $formRuntime); diff --git a/typo3/sysext/form/Classes/Domain/Runtime/FormRuntime.php b/typo3/sysext/form/Classes/Domain/Runtime/FormRuntime.php index 501d5474315b..9988dfbb88fa 100644 --- a/typo3/sysext/form/Classes/Domain/Runtime/FormRuntime.php +++ b/typo3/sysext/form/Classes/Domain/Runtime/FormRuntime.php @@ -133,7 +133,6 @@ class FormRuntime implements RootRenderableInterface, \ArrayAccess /** * @param \TYPO3\CMS\Extbase\Security\Cryptography\HashService $hashService - * @return void * @internal */ public function injectHashService(\TYPO3\CMS\Extbase\Security\Cryptography\HashService $hashService) @@ -170,7 +169,6 @@ class FormRuntime implements RootRenderableInterface, \ArrayAccess } /** - * @return void * @internal */ public function initializeObject() @@ -188,7 +186,6 @@ class FormRuntime implements RootRenderableInterface, \ArrayAccess /** * Initializes the current state of the form, based on the request - * @return void */ protected function initializeFormStateFromRequest() { @@ -203,7 +200,6 @@ class FormRuntime implements RootRenderableInterface, \ArrayAccess /** * Initializes the current page data based on the current request, also modifiable by a hook - * @return void */ protected function initializeCurrentPageFromRequest() { @@ -264,8 +260,6 @@ class FormRuntime implements RootRenderableInterface, \ArrayAccess /** * Checks if the honey pot is active, and adds a validator if so. - * - * @return void */ protected function initializeHoneypotFromRequest() { @@ -293,8 +287,6 @@ class FormRuntime implements RootRenderableInterface, \ArrayAccess /** * Renders a hidden field if the honey pot is active. - * - * @return void */ protected function renderHoneypot() { @@ -362,7 +354,6 @@ class FormRuntime implements RootRenderableInterface, \ArrayAccess /** * @param Page $page * @param string $honeypotName - * @return void */ protected function setHoneypotNameInSession(Page $page, string $honeypotName) { @@ -403,7 +394,6 @@ class FormRuntime implements RootRenderableInterface, \ArrayAccess /** * Runs throuh all validations - * @return void */ protected function processSubmittedFormValues() { @@ -533,7 +523,6 @@ class FormRuntime implements RootRenderableInterface, \ArrayAccess * some kind of "preview" of the form. * * @param int $pageIndex - * @return void * @api */ public function overrideCurrentPage(int $pageIndex) @@ -575,8 +564,6 @@ class FormRuntime implements RootRenderableInterface, \ArrayAccess /** * Executes all finishers of this form - * - * @return void */ protected function invokeFinishers() { @@ -746,7 +733,6 @@ class FormRuntime implements RootRenderableInterface, \ArrayAccess /** * @param string $identifier * @param mixed $value - * @return void * @internal */ public function offsetSet($identifier, $value) @@ -756,7 +742,6 @@ class FormRuntime implements RootRenderableInterface, \ArrayAccess /** * @param string $identifier - * @return void * @internal */ public function offsetUnset($identifier) @@ -860,7 +845,6 @@ class FormRuntime implements RootRenderableInterface, \ArrayAccess * is outputted to the browser. * * @param FormRuntime $formRuntime - * @return void * @api * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 */ diff --git a/typo3/sysext/form/Classes/Domain/Runtime/FormState.php b/typo3/sysext/form/Classes/Domain/Runtime/FormState.php index e07bcf23a42f..0aacc83f8a63 100644 --- a/typo3/sysext/form/Classes/Domain/Runtime/FormState.php +++ b/typo3/sysext/form/Classes/Domain/Runtime/FormState.php @@ -66,7 +66,6 @@ class FormState /** * @param int $lastDisplayedPageIndex - * @return void */ public function setLastDisplayedPageIndex(int $lastDisplayedPageIndex) { @@ -84,7 +83,6 @@ class FormState /** * @param string $propertyPath * @param mixed $value - * @return void */ public function setFormValue(string $propertyPath, $value) { diff --git a/typo3/sysext/form/Classes/Hooks/FormElementsOnSubmitHooks.php b/typo3/sysext/form/Classes/Hooks/FormElementsOnSubmitHooks.php index 9e1e104c3a6a..4df3b1ad9e6f 100644 --- a/typo3/sysext/form/Classes/Hooks/FormElementsOnSubmitHooks.php +++ b/typo3/sysext/form/Classes/Hooks/FormElementsOnSubmitHooks.php @@ -35,7 +35,6 @@ class FormElementsOnSubmitHooks * @param RenderableInterface $renderable * @param mixed $elementValue submitted value of the element *before post processing* * @param array $requestArguments submitted raw request values - * @return void * @see FormRuntime::mapAndValidate() * @internal */ diff --git a/typo3/sysext/form/Classes/Hooks/FormPagePreviewRenderer.php b/typo3/sysext/form/Classes/Hooks/FormPagePreviewRenderer.php index 4da54f3d2749..565e8a605506 100644 --- a/typo3/sysext/form/Classes/Hooks/FormPagePreviewRenderer.php +++ b/typo3/sysext/form/Classes/Hooks/FormPagePreviewRenderer.php @@ -37,7 +37,6 @@ class FormPagePreviewRenderer implements PageLayoutViewDrawItemHookInterface * @param string $headerContent Header content * @param string $itemContent Item content * @param array $row Record row of tt_content - * @return void */ public function preProcess( \TYPO3\CMS\Backend\View\PageLayoutView &$parentObject, diff --git a/typo3/sysext/form/Classes/Mvc/Configuration/InheritancesResolverService.php b/typo3/sysext/form/Classes/Mvc/Configuration/InheritancesResolverService.php index b4b0823b53ac..66619b150a5b 100644 --- a/typo3/sysext/form/Classes/Mvc/Configuration/InheritancesResolverService.php +++ b/typo3/sysext/form/Classes/Mvc/Configuration/InheritancesResolverService.php @@ -252,7 +252,6 @@ class InheritancesResolverService * @toDo: More description * @param string $path * @param string $pathToCheck - * @return void * @throws CycleInheritancesException */ protected function throwExceptionIfCycleInheritances(string $path, string $pathToCheck) diff --git a/typo3/sysext/form/Classes/Mvc/Configuration/YamlSource.php b/typo3/sysext/form/Classes/Mvc/Configuration/YamlSource.php index e8defe72e547..31afdd3a4afc 100644 --- a/typo3/sysext/form/Classes/Mvc/Configuration/YamlSource.php +++ b/typo3/sysext/form/Classes/Mvc/Configuration/YamlSource.php @@ -116,7 +116,6 @@ class YamlSource * * @param File|string $fileToSave The file to write to. * @param array $configuration The configuration to save - * @return void * @internal */ public function save($fileToSave, array $configuration) diff --git a/typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManager.php b/typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManager.php index 6516b85f5966..da132935decc 100644 --- a/typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManager.php +++ b/typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManager.php @@ -118,7 +118,6 @@ class FormPersistenceManager implements FormPersistenceManagerInterface * * @param string $persistenceIdentifier * @param array $formDefinition - * @return void * @throws PersistenceManagerException * @internal */ @@ -148,7 +147,6 @@ class FormPersistenceManager implements FormPersistenceManagerInterface * Only files with the extension .yaml are removed. * * @param string $persistenceIdentifier - * @return void * @throws PersistenceManagerException * @internal */ diff --git a/typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManagerInterface.php b/typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManagerInterface.php index a8f00942b5cc..859b87a24e8c 100644 --- a/typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManagerInterface.php +++ b/typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManagerInterface.php @@ -58,7 +58,6 @@ interface FormPersistenceManagerInterface * Delete the form representation identified by $persistenceIdentifier * * @param string $persistenceIdentifier - * @return void * @api */ public function delete(string $persistenceIdentifier); diff --git a/typo3/sysext/form/Classes/Mvc/ProcessingRule.php b/typo3/sysext/form/Classes/Mvc/ProcessingRule.php index 6b8949a420b5..aac4fa8c88b9 100644 --- a/typo3/sysext/form/Classes/Mvc/ProcessingRule.php +++ b/typo3/sysext/form/Classes/Mvc/ProcessingRule.php @@ -62,7 +62,6 @@ class ProcessingRule /** * @param \TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration $propertyMappingConfiguration - * @return void * @internal */ public function injectPropertyMappingConfiguration(\TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration $propertyMappingConfiguration) @@ -72,7 +71,6 @@ class ProcessingRule /** * @param \TYPO3\CMS\Extbase\Validation\Validator\ConjunctionValidator $validator - * @return void * @internal */ public function injectConjunctionValidator(\TYPO3\CMS\Extbase\Validation\Validator\ConjunctionValidator $validator) @@ -82,7 +80,6 @@ class ProcessingRule /** * @param \TYPO3\CMS\Extbase\Property\PropertyMapper $propertyMapper - * @return void * @internal */ public function injectPropertyMapper(\TYPO3\CMS\Extbase\Property\PropertyMapper $propertyMapper) @@ -140,7 +137,6 @@ class ProcessingRule /** * @param ValidatorInterface $validator - * @return void * @internal */ public function addValidator(ValidatorInterface $validator) diff --git a/typo3/sysext/form/Classes/Mvc/Property/PropertyMappingConfiguration.php b/typo3/sysext/form/Classes/Mvc/Property/PropertyMappingConfiguration.php index 0be67089305d..bde3904d820e 100644 --- a/typo3/sysext/form/Classes/Mvc/Property/PropertyMappingConfiguration.php +++ b/typo3/sysext/form/Classes/Mvc/Property/PropertyMappingConfiguration.php @@ -44,7 +44,6 @@ class PropertyMappingConfiguration * persistence identifier exist the default storage "1:/user_upload/" will be used. * * @param RenderableInterface $renderable - * @return void * @internal * @todo: could we find a not so ugly solution for that? */ diff --git a/typo3/sysext/form/Classes/Mvc/Property/TypeConverter/UploadedFileReferenceConverter.php b/typo3/sysext/form/Classes/Mvc/Property/TypeConverter/UploadedFileReferenceConverter.php index 1b6211067a85..0a257e99a57e 100644 --- a/typo3/sysext/form/Classes/Mvc/Property/TypeConverter/UploadedFileReferenceConverter.php +++ b/typo3/sysext/form/Classes/Mvc/Property/TypeConverter/UploadedFileReferenceConverter.php @@ -101,7 +101,6 @@ class UploadedFileReferenceConverter extends AbstractTypeConverter /** * @param \TYPO3\CMS\Core\Resource\ResourceFactory $resourceFactory - * @return void * @internal */ public function injectResourceFactory(\TYPO3\CMS\Core\Resource\ResourceFactory $resourceFactory) @@ -111,7 +110,6 @@ class UploadedFileReferenceConverter extends AbstractTypeConverter /** * @param \TYPO3\CMS\Extbase\Security\Cryptography\HashService $hashService - * @return void * @internal */ public function injectHashService(\TYPO3\CMS\Extbase\Security\Cryptography\HashService $hashService) @@ -121,7 +119,6 @@ class UploadedFileReferenceConverter extends AbstractTypeConverter /** * @param \TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface $persistenceManager - * @return void * @internal */ public function injectPersistenceManager(\TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface $persistenceManager) diff --git a/typo3/sysext/form/Classes/Mvc/Validation/CountValidator.php b/typo3/sysext/form/Classes/Mvc/Validation/CountValidator.php index b9508ea45344..e336cdd58122 100644 --- a/typo3/sysext/form/Classes/Mvc/Validation/CountValidator.php +++ b/typo3/sysext/form/Classes/Mvc/Validation/CountValidator.php @@ -39,7 +39,6 @@ class CountValidator extends AbstractValidator * The given value is valid if it is an array or \Countable that contains the specified amount of elements. * * @param mixed $value - * @return void * @api */ public function isValid($value) diff --git a/typo3/sysext/form/Classes/Mvc/Validation/EmptyValidator.php b/typo3/sysext/form/Classes/Mvc/Validation/EmptyValidator.php index 5e1204a5520e..2d8fb3e3a708 100644 --- a/typo3/sysext/form/Classes/Mvc/Validation/EmptyValidator.php +++ b/typo3/sysext/form/Classes/Mvc/Validation/EmptyValidator.php @@ -37,7 +37,6 @@ class EmptyValidator extends AbstractValidator * Checks if the given property ($propertyValue) is empty (NULL, empty string, empty array or empty object). * * @param mixed $value The value that should be validated - * @return void * @api */ public function isValid($value) diff --git a/typo3/sysext/form/Classes/Mvc/Validation/MimeTypeValidator.php b/typo3/sysext/form/Classes/Mvc/Validation/MimeTypeValidator.php index 4cf7b93a030e..7f3781874ec6 100644 --- a/typo3/sysext/form/Classes/Mvc/Validation/MimeTypeValidator.php +++ b/typo3/sysext/form/Classes/Mvc/Validation/MimeTypeValidator.php @@ -42,7 +42,6 @@ class MimeTypeValidator extends AbstractValidator * Note: a value of NULL or empty string ('') is considered valid * * @param FileReference|File $resource The resource that should be validated - * @return void * @api */ public function isValid($resource) @@ -78,7 +77,6 @@ class MimeTypeValidator extends AbstractValidator /** * Checks if this validator is correctly configured * - * @return void * @throws InvalidValidationOptionsException if the configured validation options are incorrect */ protected function validateOptions() diff --git a/typo3/sysext/form/Classes/Service/TranslationService.php b/typo3/sysext/form/Classes/Service/TranslationService.php index 397313cae2ec..d1e5e71bf646 100644 --- a/typo3/sysext/form/Classes/Service/TranslationService.php +++ b/typo3/sysext/form/Classes/Service/TranslationService.php @@ -476,7 +476,6 @@ class TranslationService implements SingletonInterface /** * @param string $locallangPathAndFilename - * @return void */ protected function initializeLocalization(string $locallangPathAndFilename) { @@ -502,8 +501,6 @@ class TranslationService implements SingletonInterface /** * Sets the currently active language/language_alt keys. * Default values are "default" for language key and "" for language_alt key. - * - * @return void */ protected function setLanguageKeys() { @@ -536,8 +533,6 @@ class TranslationService implements SingletonInterface * Overwrites labels that are set via TypoScript. * TS locallang labels have to be configured like: * plugin.tx_form._LOCAL_LANG.languageKey.key = value - * - * @return void */ protected function loadTypoScriptLabels() { diff --git a/typo3/sysext/form/Classes/ViewHelpers/Be/RenderContentElementPreviewViewHelper.php b/typo3/sysext/form/Classes/ViewHelpers/Be/RenderContentElementPreviewViewHelper.php index 6b481f78e3cf..aeb0dff53b0f 100644 --- a/typo3/sysext/form/Classes/ViewHelpers/Be/RenderContentElementPreviewViewHelper.php +++ b/typo3/sysext/form/Classes/ViewHelpers/Be/RenderContentElementPreviewViewHelper.php @@ -43,7 +43,6 @@ class RenderContentElementPreviewViewHelper extends AbstractViewHelper /** * Initialize arguments. * - * @return void * @internal */ public function initializeArguments() diff --git a/typo3/sysext/form/Classes/ViewHelpers/Form/DatePickerViewHelper.php b/typo3/sysext/form/Classes/ViewHelpers/Form/DatePickerViewHelper.php index 3d81be8582a0..45d79bdb4a4d 100644 --- a/typo3/sysext/form/Classes/ViewHelpers/Form/DatePickerViewHelper.php +++ b/typo3/sysext/form/Classes/ViewHelpers/Form/DatePickerViewHelper.php @@ -46,7 +46,6 @@ class DatePickerViewHelper extends AbstractFormFieldViewHelper /** * @param \TYPO3\CMS\Extbase\Property\PropertyMapper $propertyMapper - * @return void * @internal */ public function injectPropertyMapper(\TYPO3\CMS\Extbase\Property\PropertyMapper $propertyMapper) @@ -57,7 +56,6 @@ class DatePickerViewHelper extends AbstractFormFieldViewHelper /** * Initialize the arguments. * - * @return void * @api */ public function initializeArguments() @@ -178,7 +176,6 @@ class DatePickerViewHelper extends AbstractFormFieldViewHelper /** * @param string $uniqueIdentifier * @param string $datePickerDateFormat - * @return void */ protected function renderInlineJavascript(string $uniqueIdentifier, string $datePickerDateFormat) { diff --git a/typo3/sysext/form/Classes/ViewHelpers/Form/TimePickerViewHelper.php b/typo3/sysext/form/Classes/ViewHelpers/Form/TimePickerViewHelper.php index 4c5003faa5ac..79b38aac6117 100644 --- a/typo3/sysext/form/Classes/ViewHelpers/Form/TimePickerViewHelper.php +++ b/typo3/sysext/form/Classes/ViewHelpers/Form/TimePickerViewHelper.php @@ -42,7 +42,6 @@ class TimePickerViewHelper extends AbstractFormFieldViewHelper /** * @param \TYPO3\CMS\Extbase\Property\PropertyMapper $propertyMapper - * @return void * @internal */ public function injectPropertyMapper(\TYPO3\CMS\Extbase\Property\PropertyMapper $propertyMapper) @@ -53,7 +52,6 @@ class TimePickerViewHelper extends AbstractFormFieldViewHelper /** * Initialize the arguments. * - * @return void * @internal */ public function initializeArguments() diff --git a/typo3/sysext/form/Classes/ViewHelpers/Form/UploadedResourceViewHelper.php b/typo3/sysext/form/Classes/ViewHelpers/Form/UploadedResourceViewHelper.php index 988c3114d131..ea8f319d071e 100644 --- a/typo3/sysext/form/Classes/ViewHelpers/Form/UploadedResourceViewHelper.php +++ b/typo3/sysext/form/Classes/ViewHelpers/Form/UploadedResourceViewHelper.php @@ -44,7 +44,6 @@ class UploadedResourceViewHelper extends UploadViewHelper /** * @param HashService $hashService - * @return void * @internal */ public function injectHashService(\TYPO3\CMS\Extbase\Security\Cryptography\HashService $hashService) @@ -54,7 +53,6 @@ class UploadedResourceViewHelper extends UploadViewHelper /** * @param \TYPO3\CMS\Extbase\Property\PropertyMapper $propertyMapper - * @return void * @internal */ public function injectPropertyMapper(\TYPO3\CMS\Extbase\Property\PropertyMapper $propertyMapper) @@ -65,7 +63,6 @@ class UploadedResourceViewHelper extends UploadViewHelper /** * Initialize the arguments. * - * @return void * @internal */ public function initializeArguments() diff --git a/typo3/sysext/form/Classes/ViewHelpers/GridColumnClassAutoConfigurationViewHelper.php b/typo3/sysext/form/Classes/ViewHelpers/GridColumnClassAutoConfigurationViewHelper.php index 93bf6e28afae..f1140f52c162 100644 --- a/typo3/sysext/form/Classes/ViewHelpers/GridColumnClassAutoConfigurationViewHelper.php +++ b/typo3/sysext/form/Classes/ViewHelpers/GridColumnClassAutoConfigurationViewHelper.php @@ -37,7 +37,6 @@ class GridColumnClassAutoConfigurationViewHelper extends AbstractViewHelper /** * Initialize the arguments. * - * @return void * @internal */ public function initializeArguments() diff --git a/typo3/sysext/form/Classes/ViewHelpers/PlainTextMailViewHelper.php b/typo3/sysext/form/Classes/ViewHelpers/PlainTextMailViewHelper.php index d63e7c697de9..fbc404678bf0 100644 --- a/typo3/sysext/form/Classes/ViewHelpers/PlainTextMailViewHelper.php +++ b/typo3/sysext/form/Classes/ViewHelpers/PlainTextMailViewHelper.php @@ -32,7 +32,6 @@ class PlainTextMailViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractV /** * Initialize the arguments. * - * @return void * @internal */ public function initializeArguments() diff --git a/typo3/sysext/form/Classes/ViewHelpers/RenderAllFormValuesViewHelper.php b/typo3/sysext/form/Classes/ViewHelpers/RenderAllFormValuesViewHelper.php index a11e44fcd77d..86b25bc705e2 100644 --- a/typo3/sysext/form/Classes/ViewHelpers/RenderAllFormValuesViewHelper.php +++ b/typo3/sysext/form/Classes/ViewHelpers/RenderAllFormValuesViewHelper.php @@ -45,7 +45,6 @@ class RenderAllFormValuesViewHelper extends AbstractViewHelper /** * Initialize the arguments. * - * @return void * @internal */ public function initializeArguments() diff --git a/typo3/sysext/form/Classes/ViewHelpers/RenderRenderableViewHelper.php b/typo3/sysext/form/Classes/ViewHelpers/RenderRenderableViewHelper.php index c72a9097c6a9..75933d1f5cc7 100644 --- a/typo3/sysext/form/Classes/ViewHelpers/RenderRenderableViewHelper.php +++ b/typo3/sysext/form/Classes/ViewHelpers/RenderRenderableViewHelper.php @@ -46,7 +46,6 @@ class RenderRenderableViewHelper extends AbstractViewHelper /** * Initialize the arguments. * - * @return void * @internal */ public function initializeArguments() diff --git a/typo3/sysext/form/Classes/ViewHelpers/RenderViewHelper.php b/typo3/sysext/form/Classes/ViewHelpers/RenderViewHelper.php index fd4f8989f21b..7882ba6ae60d 100644 --- a/typo3/sysext/form/Classes/ViewHelpers/RenderViewHelper.php +++ b/typo3/sysext/form/Classes/ViewHelpers/RenderViewHelper.php @@ -53,7 +53,6 @@ class RenderViewHelper extends AbstractViewHelper /** * Initialize the arguments. * - * @return void * @internal */ public function initializeArguments() diff --git a/typo3/sysext/form/Classes/ViewHelpers/TranslateElementErrorViewHelper.php b/typo3/sysext/form/Classes/ViewHelpers/TranslateElementErrorViewHelper.php index 2c8a8858686e..9d839f88aea1 100644 --- a/typo3/sysext/form/Classes/ViewHelpers/TranslateElementErrorViewHelper.php +++ b/typo3/sysext/form/Classes/ViewHelpers/TranslateElementErrorViewHelper.php @@ -35,7 +35,6 @@ class TranslateElementErrorViewHelper extends AbstractViewHelper /** * Initialize arguments. * - * @return void * @internal */ public function initializeArguments() diff --git a/typo3/sysext/form/Classes/ViewHelpers/TranslateElementPropertyViewHelper.php b/typo3/sysext/form/Classes/ViewHelpers/TranslateElementPropertyViewHelper.php index 5932920a7932..3e401d111ef6 100644 --- a/typo3/sysext/form/Classes/ViewHelpers/TranslateElementPropertyViewHelper.php +++ b/typo3/sysext/form/Classes/ViewHelpers/TranslateElementPropertyViewHelper.php @@ -35,7 +35,6 @@ class TranslateElementPropertyViewHelper extends AbstractViewHelper /** * Initialize arguments. * - * @return void * @internal */ public function initializeArguments() diff --git a/typo3/sysext/form/Tests/Unit/Mvc/Validation/Fixtures/TestValidator.php b/typo3/sysext/form/Tests/Unit/Mvc/Validation/Fixtures/TestValidator.php index 1ddc62cea40f..f01ede7c08f0 100644 --- a/typo3/sysext/form/Tests/Unit/Mvc/Validation/Fixtures/TestValidator.php +++ b/typo3/sysext/form/Tests/Unit/Mvc/Validation/Fixtures/TestValidator.php @@ -25,7 +25,6 @@ class TestValidator extends AbstractValidator { /** * @param mixed $value - * @return void */ public function isValid($value) { diff --git a/typo3/sysext/form/Tests/Unit/ViewHelpers/Form/DatePickerViewHelperTest.php b/typo3/sysext/form/Tests/Unit/ViewHelpers/Form/DatePickerViewHelperTest.php index c464481bbe87..c86c0f727910 100644 --- a/typo3/sysext/form/Tests/Unit/ViewHelpers/Form/DatePickerViewHelperTest.php +++ b/typo3/sysext/form/Tests/Unit/ViewHelpers/Form/DatePickerViewHelperTest.php @@ -30,8 +30,6 @@ class DatePickerViewHelperTest extends \TYPO3\TestingFramework\Core\Unit\UnitTes /** * Set up - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/frontend/Classes/Aspect/FileMetadataOverlayAspect.php b/typo3/sysext/frontend/Classes/Aspect/FileMetadataOverlayAspect.php index 9e1dd3c097f6..d9614fdfb720 100644 --- a/typo3/sysext/frontend/Classes/Aspect/FileMetadataOverlayAspect.php +++ b/typo3/sysext/frontend/Classes/Aspect/FileMetadataOverlayAspect.php @@ -30,7 +30,6 @@ class FileMetadataOverlayAspect * Do translation and workspace overlay * * @param \ArrayObject $data - * @return void */ public function languageAndWorkspaceOverlay(\ArrayObject $data) { diff --git a/typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php b/typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php index 11715757925b..5b8aa80f4f26 100644 --- a/typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php +++ b/typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php @@ -156,7 +156,6 @@ class FrontendUserAuthentication extends AbstractUserAuthentication /** * Starts a user session * - * @return void * @see AbstractUserAuthentication::start() */ public function start() @@ -379,7 +378,6 @@ class FrontendUserAuthentication extends AbstractUserAuthentication * If the flag $this->userData_change has been set, the function ->writeUC is called (which will save persistent user session data) * If the flag $this->sesData_change has been set, the current session record is updated with the content of $this->sessionData * - * @return void * @see getKey(), setKey() */ public function storeSessionData() @@ -418,8 +416,6 @@ class FrontendUserAuthentication extends AbstractUserAuthentication /** * Removes data of the current session. - * - * @return void */ public function removeSessionData() { @@ -446,8 +442,6 @@ class FrontendUserAuthentication extends AbstractUserAuthentication * Additionally the cookie is removed, but only if there is no session data. * If session data exists, only the user information is removed and the session * gets converted into an anonymous session. - * - * @return void */ protected function performLogoff() { @@ -531,7 +525,6 @@ class FrontendUserAuthentication extends AbstractUserAuthentication * @param string $type Session data type; Either "user" (persistent, bound to fe_users profile) or "ses" (temporary, bound to current session cookie) * @param string $key Key from the data array to store incoming data in; The session data (in either case) is an array ($this->uc / $this->sessionData) and this value determines in which key the $data value will be stored. * @param mixed $data The data value to store in $key - * @return void * @see setKey(), storeSessionData(), record_registration() */ public function setKey($type, $key, $data) @@ -562,7 +555,6 @@ class FrontendUserAuthentication extends AbstractUserAuthentication * * @param string $key A non empty string to store the data under * @param mixed $data Data store store in session - * @return void */ public function setSessionData($key, $data) { @@ -579,7 +571,6 @@ class FrontendUserAuthentication extends AbstractUserAuthentication * * @param string $key * @param mixed $data - * @return void */ public function setAndSaveSessionData($key, $data) { @@ -594,7 +585,6 @@ class FrontendUserAuthentication extends AbstractUserAuthentication * * @param array $recs The data array to merge into/override the current recs values. The $recs array is constructed as [table]][uid] = scalar-value (eg. string/integer). * @param int $maxSizeOfSessionData The maximum size of stored session data. If zero, no limit is applied and even confirmation of cookie session is discarded. - * @return void * @deprecated since TYPO3 v8, will be removed in TYPO3 v9. Automatically feeding a "basket" by magic GET/POST keyword "recs" has been deprecated. */ public function record_registration($recs, $maxSizeOfSessionData = 0) @@ -628,7 +618,6 @@ class FrontendUserAuthentication extends AbstractUserAuthentication /** * Garbage collector, removing old expired sessions. * - * @return void * @internal */ public function gc() @@ -641,8 +630,6 @@ class FrontendUserAuthentication extends AbstractUserAuthentication * * This is used by the fe_login_mode feature for pages. * A current login is unset, but we remember that there has been one. - * - * @return void */ public function hideActiveLogin() { diff --git a/typo3/sysext/frontend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php b/typo3/sysext/frontend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php index 23a76a0bd687..e161508021c5 100644 --- a/typo3/sysext/frontend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php +++ b/typo3/sysext/frontend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php @@ -178,7 +178,6 @@ class ConditionMatcher extends AbstractConditionMatcher * Set/write a log message. * * @param string $message The log message to set/write - * @return void */ protected function log($message) { diff --git a/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php b/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php index 2f1e4f50d30a..625ca50f5d6a 100644 --- a/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php +++ b/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php @@ -553,7 +553,6 @@ class ContentObjectRenderer * * @param array $data The record data that is rendered. * @param string $table The table that the data record is from. - * @return void */ public function start($data, $table = '') { @@ -626,7 +625,6 @@ class ContentObjectRenderer * * @param array $data The record array * @param string $currentRecord This is set to the [table]:[uid] of the record delivered in the $data-array, if the cObjects CONTENT or RECORD is in operation. Note that $GLOBALS['TSFE']->currentRecord is set to an equal value but always indicating the latest record rendered. - * @return void * @access private */ public function setParent($data, $currentRecord) @@ -659,7 +657,6 @@ class ContentObjectRenderer * Sets the "current" value. * * @param mixed $value The variable that you want to set as "current - * @return void * @see getCurrentVal() */ public function setCurrentVal($value) @@ -943,7 +940,6 @@ class ContentObjectRenderer * Sets the user object type * * @param mixed $userObjectType - * @return void */ public function setUserObjectType($userObjectType) { @@ -952,8 +948,6 @@ class ContentObjectRenderer /** * Requests the current USER object to be converted to USER_INT. - * - * @return void */ public function convertToUserIntObject() { @@ -975,7 +969,6 @@ class ContentObjectRenderer * @param string|array $flexData Flexform data * @param array $conf Array to write the data into, by reference * @param bool $recursive Is set if called recursive. Don't call function with this parameter, it's used inside the function only - * @return void */ public function readFlexformIntoConf($flexData, &$conf, $recursive = false) { @@ -1408,7 +1401,6 @@ class ContentObjectRenderer * Therefore you should call this function with the last-changed timestamp of any element you display. * * @param int $tstamp Unix timestamp (number of seconds since 1970) - * @return void * @see TypoScriptFrontendController::setSysLastChanged() */ public function lastChanged($tstamp) diff --git a/typo3/sysext/frontend/Classes/ContentObject/FluidTemplateContentObject.php b/typo3/sysext/frontend/Classes/ContentObject/FluidTemplateContentObject.php index 4d63e7171ec3..3368d0d0373c 100644 --- a/typo3/sysext/frontend/Classes/ContentObject/FluidTemplateContentObject.php +++ b/typo3/sysext/frontend/Classes/ContentObject/FluidTemplateContentObject.php @@ -134,8 +134,6 @@ class FluidTemplateContentObject extends AbstractContentObject * are not always re-created by the content object rendered for every * usage, but can be re-used. Thus, we need a fresh instance of * StandaloneView every time render() is called. - * - * @return void */ protected function initializeStandaloneViewInstance() { @@ -146,7 +144,6 @@ class FluidTemplateContentObject extends AbstractContentObject * Set template * * @param array $conf With possibly set file resource - * @return void * @throws \InvalidArgumentException */ protected function setTemplate(array $conf) @@ -180,7 +177,6 @@ class FluidTemplateContentObject extends AbstractContentObject * Set layout root path if given in configuration * * @param array $conf Configuration array - * @return void */ protected function setLayoutRootPath(array $conf) { @@ -204,7 +200,6 @@ class FluidTemplateContentObject extends AbstractContentObject * Set partial root path if given in configuration * * @param array $conf Configuration array - * @return void */ protected function setPartialRootPath(array $conf) { @@ -227,7 +222,6 @@ class FluidTemplateContentObject extends AbstractContentObject * Set different format if given in configuration * * @param array $conf Configuration array - * @return void */ protected function setFormat(array $conf) { @@ -241,7 +235,6 @@ class FluidTemplateContentObject extends AbstractContentObject * Set some extbase variables if given * * @param array $conf Configuration array - * @return void */ protected function setExtbaseVariables(array $conf) { @@ -326,7 +319,6 @@ class FluidTemplateContentObject extends AbstractContentObject * default MVC action controller in extbase. * * @param array $conf Configuration - * @return void */ protected function assignSettings(array $conf) { diff --git a/typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php b/typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php index 5f8934bdf66f..156af2b18e76 100644 --- a/typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php +++ b/typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php @@ -420,8 +420,6 @@ abstract class AbstractMenuContentObject * Basically this will read the page records needed and fill in the internal $this->menuArr * Based on a hash of this array and some other variables the $this->result variable will be * loaded either from cache OR by calling the generate() method of the class to create the menu for real. - * - * @return void */ public function makeMenu() { @@ -519,8 +517,6 @@ abstract class AbstractMenuContentObject * Generates the the menu data. * * Subclasses should overwrite this method. - * - * @return void */ public function generate() { @@ -1216,7 +1212,6 @@ abstract class AbstractMenuContentObject * Analyzes the parameters to find if the link needs a cHash parameter. * * @param string $queryString - * @return void */ protected function analyzeCacheHashRequirements($queryString) { @@ -1762,7 +1757,6 @@ abstract class AbstractMenuContentObject * @param array $page Page array * @param string $mainTarget Main target value * @param string $typeOverride Type number override if any - * @return void ($LD passed by reference might be changed.) */ public function changeLinksForAccessRestrictedPages(&$LD, $page, $mainTarget, $typeOverride) { @@ -2050,7 +2044,6 @@ abstract class AbstractMenuContentObject /** * Creates the <A> tag parts for the current item (in $this->I, [A1] and [A2]) based on other information in this array (like $this->I['linkHREF']) * - * @return void * @internal */ public function setATagParts() diff --git a/typo3/sysext/frontend/Classes/ContentObject/Menu/GraphicalMenuContentObject.php b/typo3/sysext/frontend/Classes/ContentObject/Menu/GraphicalMenuContentObject.php index 237af0787787..5048d67bb2b1 100644 --- a/typo3/sysext/frontend/Classes/ContentObject/Menu/GraphicalMenuContentObject.php +++ b/typo3/sysext/frontend/Classes/ContentObject/Menu/GraphicalMenuContentObject.php @@ -27,7 +27,6 @@ class GraphicalMenuContentObject extends AbstractMenuContentObject * Calls procesItemStates() so that the common configuration for the menu items are resolved into individual configuration per item. * Calls makeGifs() for all "normal" items and if configured for, also the "rollover" items. * - * @return void * @see AbstractMenuContentObject::procesItemStates(), makeGifs() */ public function generate() @@ -71,7 +70,6 @@ class GraphicalMenuContentObject extends AbstractMenuContentObject * * @param array $conf Array with configuration for each item. * @param string $resKey Type of images: normal ("NO") or rollover ("RO"). Valid values are "NO" and "RO - * @return void * @internal * @see generate() */ @@ -474,7 +472,6 @@ class GraphicalMenuContentObject extends AbstractMenuContentObject * Called right before the traversing of $this->result begins. * Can be used for various initialization * - * @return void * @internal * @see writeMenu() */ @@ -486,7 +483,6 @@ class GraphicalMenuContentObject extends AbstractMenuContentObject * Called after all processing for RollOver of an element has been done. * * @param int $key Pointer to $this->menuArr[$key] where the current menu element record is found OR $this->result['RO'][$key] where the configuration for that elements RO version is found! - * @return void * @internal * @see writeMenu() */ @@ -498,7 +494,6 @@ class GraphicalMenuContentObject extends AbstractMenuContentObject * Called right before the creation of the link for the menu item * * @param int $key Pointer to $this->menuArr[$key] where the current menu element record is found - * @return void * @internal * @see writeMenu() */ @@ -513,7 +508,6 @@ class GraphicalMenuContentObject extends AbstractMenuContentObject * Further this calls the subMenu function in the parent class to create any submenu there might be. * * @param int $key Pointer to $this->menuArr[$key] where the current menu element record is found - * @return void * @internal * @see writeMenu(), AbstractMenuContentObject::subMenu() */ diff --git a/typo3/sysext/frontend/Classes/ContentObject/Menu/ImageMenuContentObject.php b/typo3/sysext/frontend/Classes/ContentObject/Menu/ImageMenuContentObject.php index 14cd6ca66682..396a94b51dd4 100644 --- a/typo3/sysext/frontend/Classes/ContentObject/Menu/ImageMenuContentObject.php +++ b/typo3/sysext/frontend/Classes/ContentObject/Menu/ImageMenuContentObject.php @@ -28,7 +28,6 @@ class ImageMenuContentObject extends AbstractMenuContentObject * Calls procesItemStates() so that the common configuration for the menu items are resolved into individual configuration per item. * Calls makeImageMap() to generate the image map image-file * - * @return void * @see AbstractMenuContentObject::procesItemStates(), makeImageMap() */ public function generate() @@ -50,7 +49,6 @@ class ImageMenuContentObject extends AbstractMenuContentObject * The data of the files are stored in $this->result * * @param array $conf Array with configuration for each item. - * @return void * @access private * @see generate() */ diff --git a/typo3/sysext/frontend/Classes/ContentObject/Menu/TextMenuContentObject.php b/typo3/sysext/frontend/Classes/ContentObject/Menu/TextMenuContentObject.php index 312250f10927..0d4ea4e64d05 100644 --- a/typo3/sysext/frontend/Classes/ContentObject/Menu/TextMenuContentObject.php +++ b/typo3/sysext/frontend/Classes/ContentObject/Menu/TextMenuContentObject.php @@ -23,7 +23,6 @@ class TextMenuContentObject extends AbstractMenuContentObject * Calls procesItemStates() so that the common configuration for the menu items are resolved into individual configuration per item. * Sets the result for the new "normal state" in $this->result * - * @return void * @see AbstractMenuContentObject::procesItemStates() */ public function generate() @@ -202,7 +201,6 @@ class TextMenuContentObject extends AbstractMenuContentObject * Called right before the traversing of $this->result begins. * Can be used for various initialization * - * @return void * @access private * @see writeMenu() */ @@ -214,7 +212,6 @@ class TextMenuContentObject extends AbstractMenuContentObject * Called right before the creation of the link for the menu item * * @param int $key Pointer to $this->menuArr[$key] where the current menu element record is found - * @return void * @access private * @see writeMenu() */ @@ -227,7 +224,6 @@ class TextMenuContentObject extends AbstractMenuContentObject * This function MUST set $this->WMresult.=[HTML for menu item] to add the generated menu item to the internal accumulation of items. * * @param int $key Pointer to $this->menuArr[$key] where the current menu element record is found - * @return void * @access private * @see writeMenu() */ diff --git a/typo3/sysext/frontend/Classes/ContentObject/RecordsContentObject.php b/typo3/sysext/frontend/Classes/ContentObject/RecordsContentObject.php index 1e9ec67d3e91..6140213aebd3 100644 --- a/typo3/sysext/frontend/Classes/ContentObject/RecordsContentObject.php +++ b/typo3/sysext/frontend/Classes/ContentObject/RecordsContentObject.php @@ -144,7 +144,6 @@ class RecordsContentObject extends AbstractContentObject * * @param string $source Source of records * @param array $tables List of tables - * @return void */ protected function collectRecordsFromSource($source, array $tables) { @@ -168,7 +167,6 @@ class RecordsContentObject extends AbstractContentObject * @param string $selectedCategories Comma-separated list of categories * @param array $tables List of tables * @param string $relationField Name of the field containing the categories relation - * @return void */ protected function collectRecordsFromCategories($selectedCategories, array $tables, $relationField) { diff --git a/typo3/sysext/frontend/Classes/Controller/ShowImageController.php b/typo3/sysext/frontend/Classes/Controller/ShowImageController.php index b7b47d24b7d5..62748b0d80aa 100644 --- a/typo3/sysext/frontend/Classes/Controller/ShowImageController.php +++ b/typo3/sysext/frontend/Classes/Controller/ShowImageController.php @@ -100,7 +100,6 @@ EOF; /** * Init function, setting the input vars in the global space. * - * @return void * @throws \InvalidArgumentException * @throws \TYPO3\CMS\Core\Resource\Exception\FileDoesNotExistException */ @@ -141,8 +140,6 @@ EOF; /** * Main function which creates the image if needed and outputs the HTML code for the page displaying the image. * Accumulates the content in $this->content - * - * @return void */ public function main() { diff --git a/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php b/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php index 3d969597343c..8a25201cbe3a 100644 --- a/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php +++ b/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php @@ -912,7 +912,6 @@ class TypoScriptFrontendController * * @throws \RuntimeException * @throws ServiceUnavailableException - * @return void */ public function connectToDB() { @@ -943,8 +942,6 @@ class TypoScriptFrontendController * found to be associated with a redirect URL then the redirection * is carried out with a 'Location:' header * May exit after sending a location-header. - * - * @return void */ public function sendRedirect() { @@ -979,8 +976,6 @@ class TypoScriptFrontendController ********************************************/ /** * Initializes the caching system. - * - * @return void */ protected function initCaches() { @@ -989,8 +984,6 @@ class TypoScriptFrontendController /** * Initializes the front-end login user. - * - * @return void */ public function initFEuser() { @@ -1052,8 +1045,6 @@ class TypoScriptFrontendController /** * Initializes the front-end user groups. * Sets ->loginUser and ->gr_list based on front-end user status. - * - * @return void */ public function initUserGroups() { @@ -1108,8 +1099,6 @@ class TypoScriptFrontendController * Two options: * 1) Use PATH_INFO (also Apache) to extract id and type from that var. Does not require any special modules compiled with apache. (less typical) * 2) Using hook which enables features like those provided from "realurl" extension (AKA "Speaking URLs") - * - * @return void */ public function checkAlternativeIdMethods() { @@ -1127,8 +1116,6 @@ class TypoScriptFrontendController * Clears the preview-flags, sets sim_exec_time to current time. * Hidden pages must be hidden as default, $GLOBALS['SIM_EXEC_TIME'] is set to $GLOBALS['EXEC_TIME'] * in bootstrap initializeGlobalTimeVariables(). Alter it by adding or subtracting seconds. - * - * @return void */ public function clear_preview() { @@ -1206,8 +1193,6 @@ class TypoScriptFrontendController * Basically this function is about determining whether a backend user is logged in, * if he has read access to the page and if he's previewing the page. * That all determines which id to show and how to initialize the id. - * - * @return void */ public function determineId() { @@ -1391,7 +1376,6 @@ class TypoScriptFrontendController * Sets variables such as $this->sys_page, $this->loginUser, $this->gr_list, $this->id, $this->type, $this->domainStartPage * * @throws ServiceUnavailableException - * @return void * @access private */ public function fetch_the_id() @@ -1489,7 +1473,6 @@ class TypoScriptFrontendController * * @throws ServiceUnavailableException * @throws PageNotFoundException - * @return void * @access private */ public function getPageAndRootline() @@ -1862,7 +1845,6 @@ class TypoScriptFrontendController * If not inside domain, then default to first page in domain. * * @param int $domainStartPage Page uid of the page where the found domain record is (pid of the domain record) - * @return void * @access private */ public function getPageAndRootlineWithDomain($domainStartPage) @@ -1890,7 +1872,6 @@ class TypoScriptFrontendController /** * Sets sys_page where-clause * - * @return void * @access private */ public function setSysPageWhereClause() @@ -1936,7 +1917,6 @@ class TypoScriptFrontendController * * @param string $reason Reason text * @param string $header HTTP header to send - * @return void Function exits. */ public function pageUnavailableAndExit($reason = '', $header = '') { @@ -1950,7 +1930,6 @@ class TypoScriptFrontendController * * @param string $reason Reason text * @param string $header HTTP header to send - * @return void Function exits. */ public function pageNotFoundAndExit($reason = '', $header = '') { @@ -1987,7 +1966,6 @@ class TypoScriptFrontendController * @param mixed $code Which type of handling; If a true PHP-boolean or TRUE then a \TYPO3\CMS\Core\Messaging\ErrorpageMessage is outputted. If integer an error message with that number is shown. Otherwise the $code value is expected to be a "Location:" header value. * @param string $header If set, this is passed directly to the PHP function, header() * @param string $reason If set, error messages will also mention this as the reason for the page-not-found. - * @return void (The function exits!) */ public function pageUnavailableHandler($code, $header, $reason) { @@ -2000,7 +1978,6 @@ class TypoScriptFrontendController * @param mixed $code Which type of handling; If a true PHP-boolean or TRUE then a \TYPO3\CMS\Core\Messaging\ErrorpageMessage is outputted. If integer an error message with that number is shown. Otherwise the $code value is expected to be a "Location:" header value. * @param string $header If set, this is passed directly to the PHP function, header() * @param string $reason If set, error messages will also mention this as the reason for the page-not-found. - * @return void (The function exits!) */ public function pageNotFoundHandler($code, $header = '', $reason = '') { @@ -2015,7 +1992,6 @@ class TypoScriptFrontendController * @param string $header If set, this is passed directly to the PHP function, header() * @param string $reason If set, error messages will also mention this as the reason for the page-not-found. * @throws \RuntimeException - * @return void (The function exits!) */ public function pageErrorHandler($code, $header = '', $reason = '') { @@ -2148,7 +2124,6 @@ class TypoScriptFrontendController * Fetches the integer page id for a page alias. * Looks if ->id is not an integer and if so it will search for a page alias and if found the page uid of that page is stored in $this->id * - * @return void * @access private */ public function checkAndSetAlias() @@ -2167,7 +2142,6 @@ class TypoScriptFrontendController * Merging values into the global $_GET * * @param array $GET_VARS Array of key/value pairs that will be merged into the current GET-vars. (Non-escaped values) - * @return void */ public function mergingWithGetVars($GET_VARS) { @@ -2208,7 +2182,6 @@ class TypoScriptFrontendController * Calculated hash is stored in $this->cHash_array. * This is used to cache pages with more parameters than just id and type. * - * @return void * @see reqCHash() */ public function makeCacheHash() @@ -2243,7 +2216,6 @@ class TypoScriptFrontendController * Will disable caching if the cHash value was not set. * This function should be called to check the _existence_ of "&cHash" whenever a plugin generating cacheable output is using extra GET variables. If there _is_ a cHash value the validation of it automatically takes place in makeCacheHash() (see above) * - * @return void * @see makeCacheHash(), \TYPO3\CMS\Frontend\Plugin\AbstractPlugin::pi_cHashCheck() */ public function reqCHash() @@ -2263,8 +2235,6 @@ class TypoScriptFrontendController /** * Initialize the TypoScript template parser - * - * @return void */ public function initTemplate() { @@ -2507,7 +2477,6 @@ class TypoScriptFrontendController * Checks if config-array exists already but if not, gets it * * @throws ServiceUnavailableException - * @return void */ public function getConfigArray() { @@ -2617,7 +2586,6 @@ class TypoScriptFrontendController * Setting the language key that will be used by the current page. * In this function it should be checked, 1) that this language exists, 2) that a page_overlay_record exists, .. and if not the default language, 0 (zero), should be set. * - * @return void * @access private */ public function settingLanguage() @@ -2734,8 +2702,6 @@ class TypoScriptFrontendController /** * Setting locale for frontend rendering - * - * @return void */ public function settingLocale() { @@ -2766,8 +2732,6 @@ class TypoScriptFrontendController * target than the original language page. * If that is the case, things get corrected to follow that alternative * shortcut - * - * @return void */ protected function checkTranslatedShortcut() { @@ -2789,8 +2753,6 @@ class TypoScriptFrontendController /** * Handle data submission * This is done at this point, because we need the config values - * - * @return void */ public function handleDataSubmission() { @@ -2861,7 +2823,6 @@ class TypoScriptFrontendController * Sets the URL_ID_TOKEN in the internal var, $this->getMethodUrlIdToken * This feature allows sessions to use a GET-parameter instead of a cookie. * - * @return void * @access private */ public function setUrlIdToken() @@ -2876,8 +2837,6 @@ class TypoScriptFrontendController /** * Calculates and sets the internal linkVars based upon the current * $_GET parameters and the setting "config.linkVars". - * - * @return void */ public function calculateLinkVars() { @@ -2919,8 +2878,6 @@ class TypoScriptFrontendController * * If the current page is of type mountpoint and should be overlaid with the contents of the mountpoint page * and is accessed directly, the user will be redirected to the mountpoint context. - * - * @return void */ public function checkPageForMountpointRedirect() { @@ -2934,8 +2891,6 @@ class TypoScriptFrontendController * * If the current page is of type shortcut and accessed directly via its URL, this function redirects to the * Shortcut target using a Location header. - * - * @return void If page is not a Shortcut, redirects and exits otherwise */ public function checkPageForShortcutRedirect() { @@ -2947,8 +2902,6 @@ class TypoScriptFrontendController /** * Builds a typolink to the current page, appends the type paremeter if required * and redirects the user to the generated URL using a Location header. - * - * @return void */ protected function redirectToCurrentPage() { @@ -2990,8 +2943,6 @@ class TypoScriptFrontendController /** * Temp cache content * The temporary cache will expire after a few seconds (typ. 30) or will be cleared by the rendered page, which will also clear and rewrite the cache. - * - * @return void */ public function tempPageCacheContent() { @@ -3046,8 +2997,6 @@ class TypoScriptFrontendController /** * Set cache content to $this->content - * - * @return void */ public function realPageCacheContent() { @@ -3084,7 +3033,6 @@ class TypoScriptFrontendController * @param string $content The content to store in the HTML field of the cache table * @param mixed $data The additional cache_data array, fx. $this->config * @param int $expirationTstamp Expiration timestamp - * @return void * @see realPageCacheContent(), tempPageCacheContent() */ public function setPageCacheContent($content, $data, $expirationTstamp) @@ -3119,8 +3067,6 @@ class TypoScriptFrontendController /** * Clears cache content (for $this->newHash) - * - * @return void */ public function clearPageCacheContent() { @@ -3131,7 +3077,6 @@ class TypoScriptFrontendController * Clears cache content for a list of page ids * * @param string $pidList A list of INTEGER numbers which points to page uids for which to clear entries in the cache_pages cache (page content cache) - * @return void */ public function clearPageCacheContent_pidList($pidList) { @@ -3145,7 +3090,6 @@ class TypoScriptFrontendController * Sets sys last changed * Setting the SYS_LASTCHANGED value in the pagerecord: This value will thus be set to the highest tstamp of records rendered on the page. This includes all records with no regard to hidden records, userprotection and so on. * - * @return void * @see ContentObjectRenderer::lastChanged() */ public function setSysLastChanged() @@ -3170,7 +3114,6 @@ class TypoScriptFrontendController * Release pending locks * * @internal - * @return void */ public function releaseLocks() { @@ -3183,7 +3126,6 @@ class TypoScriptFrontendController * entries by tag * * @param array $tags An array of tag - * @return void */ public function addCacheTags(array $tags) { @@ -3197,8 +3139,6 @@ class TypoScriptFrontendController *******************************************/ /** * Does some processing BEFORE the pagegen script is included. - * - * @return void */ public function generatePage_preProcessing() { @@ -3400,8 +3340,6 @@ class TypoScriptFrontendController /** * Does some processing AFTER the pagegen script is included. * This includes caching the page, indexing the page (if configured) and setting sysLastChanged - * - * @return void */ public function generatePage_postProcessing() { @@ -3453,8 +3391,6 @@ class TypoScriptFrontendController /** * Generate the page title again as TSFE->altPageTitle might have been modified by an inc script - * - * @return void */ protected function regeneratePageTitle() { @@ -3463,8 +3399,6 @@ class TypoScriptFrontendController /** * Processes the INTinclude-scripts - * - * @return void */ public function INTincScript() { @@ -3528,7 +3462,6 @@ class TypoScriptFrontendController * Processes the INTinclude-scripts and substitue in content. * * @param array $INTiS_config $GLOBALS['TSFE']->config['INTincScript'] or part of it - * @return void * @see INTincScript() */ protected function INTincScript_process($INTiS_config) @@ -3576,8 +3509,6 @@ class TypoScriptFrontendController /** * Loads the JavaScript code for INTincScript - * - * @return void */ public function INTincScript_loadJSCode() { @@ -3650,8 +3581,6 @@ class TypoScriptFrontendController * This includes substituting the "username" comment, sending additional headers * (as defined in the TypoScript "config.additionalheaders" object), XHTML cleaning content (if configured) * Works on $this->content. - * - * @return void */ public function processOutput() { @@ -3713,7 +3642,6 @@ class TypoScriptFrontendController * Send cache headers good for client/reverse proxy caching * This function should not be called if the page content is temporary (like for "Page is being generated..." message, but in that case it is ok because the config-variables are not yet available and so will not allow to send cache headers) * - * @return void * @co-author Ole Tange, Forbrugernes Hus, Denmark */ public function sendCacheHeaders() @@ -3776,8 +3704,6 @@ class TypoScriptFrontendController /** * Substitute various tokens in content. This should happen only if the content is not cached by proxies or client browsers. - * - * @return void */ public function contentStrReplace() { @@ -3821,8 +3747,6 @@ class TypoScriptFrontendController /** * Stores session data for the front end user - * - * @return void */ public function storeSessionData() { @@ -3832,7 +3756,6 @@ class TypoScriptFrontendController /** * Sets the parsetime of the page. * - * @return void * @access private * @deprecated since TYPO3 v8, will be removed in TYPO3 v9, as the Request Handler is taking care of that now */ @@ -3850,8 +3773,6 @@ class TypoScriptFrontendController /** * Outputs preview info. - * - * @return void */ public function previewInfo() { @@ -3869,8 +3790,6 @@ class TypoScriptFrontendController /** * End-Of-Frontend hook - * - * @return void */ public function hook_eofe() { @@ -3910,8 +3829,6 @@ class TypoScriptFrontendController /** * Sends HTTP headers for temporary content. These headers prevent search engines from caching temporary content and asks them to revisit this page again. - * - * @return void */ public function addTempContentHttpHeaders() { @@ -3995,7 +3912,6 @@ class TypoScriptFrontendController * Creates an instance of ContentObjectRenderer in $this->cObj * This instance is used to start the rendering of the TypoScript template structure * - * @return void * @see pagegen.php */ public function newCObj() @@ -4007,7 +3923,6 @@ class TypoScriptFrontendController /** * Converts relative paths in the HTML source to absolute paths for fileadmin/, typo3conf/ext/ and media/ folders. * - * @return void * @access private * @see pagegen.php, INTincScript() */ @@ -4076,7 +3991,6 @@ class TypoScriptFrontendController * * @param string $typoScriptProperty Deprecated object or property * @param string $explanation Message or additional information - * @return void */ public function logDeprecatedTyposcript($typoScriptProperty, $explanation = '') { @@ -4089,7 +4003,6 @@ class TypoScriptFrontendController * Updates the tstamp field of a cache_md5params record to the current time. * * @param string $hash The hash string identifying the cache_md5params record for which to update the "tstamp" field to the current time. - * @return void * @access private */ public function updateMD5paramsRecord($hash) @@ -4167,7 +4080,6 @@ class TypoScriptFrontendController * Includes a comma-separated list of library files by PHP function include_once. * * @param array $libraries The libraries to be included. - * @return void * @deprecated since TYPO3 v8, will be removed in TYPO3 v9, use proper class loading instead. */ public function includeLibraries(array $libraries) @@ -4230,7 +4142,6 @@ class TypoScriptFrontendController * * @param string $key is the key in the array, for num-key let the value be empty. Note reserved keys 'openPic' and 'mouseOver' * @param string $content is the content if you want any - * @return void * @see \TYPO3\CMS\Frontend\ContentObject\Menu\GraphicalMenuContentObject::writeMenu(), ContentObjectRenderer::imageLinkWrap() */ public function setJS($key, $content = '') @@ -4268,7 +4179,6 @@ class TypoScriptFrontendController * * @param string $key Is the key in the array, for num-key let the value be empty * @param string $content Is the content if you want any - * @return void * @see setJS() */ public function setCSS($key, $content) @@ -4295,7 +4205,6 @@ class TypoScriptFrontendController * * @param string $reason An optional reason to be written to the syslog. * @param bool $internal Whether the call is done from core itself (should only be used by core). - * @return void */ public function set_no_cache($reason = '', $internal = false) { @@ -4334,7 +4243,6 @@ class TypoScriptFrontendController /** * Disables caching of the current page. * - * @return void * @internal */ protected function disableCache() @@ -4346,7 +4254,6 @@ class TypoScriptFrontendController * Sets the cache-timeout in seconds * * @param int $seconds Cache-timeout in seconds - * @return void */ public function set_cache_timeout_default($seconds) { @@ -4514,8 +4421,6 @@ class TypoScriptFrontendController /** * Initializing the getLL variables needed. - * - * @return void */ public function initLLvars() { @@ -4590,8 +4495,6 @@ class TypoScriptFrontendController /** * Converts the $_POST array from metaCharset (page HTML charset from input form) to utf-8 (internal processing) IF the two charsets are different. - * - * @return void */ public function convPOSTCharset() { diff --git a/typo3/sysext/frontend/Classes/DataProcessing/GalleryProcessor.php b/typo3/sysext/frontend/Classes/DataProcessing/GalleryProcessor.php index 24a998833306..3d351fd5bb4f 100644 --- a/typo3/sysext/frontend/Classes/DataProcessing/GalleryProcessor.php +++ b/typo3/sysext/frontend/Classes/DataProcessing/GalleryProcessor.php @@ -91,7 +91,6 @@ use TYPO3\CMS\Frontend\ContentObject\Exception\ContentRenderingException; * padding = 0 * } * } - * */ class GalleryProcessor implements DataProcessorInterface { @@ -314,8 +313,6 @@ class GalleryProcessor implements DataProcessorInterface * * Gallery has a horizontal and a vertical position towards the text * and a possible wrapping of the text around the gallery. - * - * @return void */ protected function determineGalleryPosition() { @@ -334,8 +331,6 @@ class GalleryProcessor implements DataProcessorInterface /** * Get the gallery width based on vertical position - * - * @return void */ protected function determineMaximumGalleryWidth() { @@ -348,8 +343,6 @@ class GalleryProcessor implements DataProcessorInterface /** * Calculate the amount of rows and columns - * - * @return void */ protected function calculateRowsAndColumns() { @@ -380,8 +373,6 @@ class GalleryProcessor implements DataProcessorInterface * the use of a border, defined by user, where the border width and padding are taken into account * * File objects MUST already be filtered. They need a height and width to be shown in the gallery - * - * @return void */ protected function calculateMediaWidthsAndHeights() { @@ -495,8 +486,6 @@ class GalleryProcessor implements DataProcessorInterface * Prepare the gallery data * * Make an array for rows, columns and configuration - * - * @return void */ protected function prepareGalleryData() { diff --git a/typo3/sysext/frontend/Classes/DataProcessing/MenuProcessor.php b/typo3/sysext/frontend/Classes/DataProcessing/MenuProcessor.php index d95596a04b65..0888d5631198 100644 --- a/typo3/sysext/frontend/Classes/DataProcessing/MenuProcessor.php +++ b/typo3/sysext/frontend/Classes/DataProcessing/MenuProcessor.php @@ -54,7 +54,6 @@ use TYPO3\CMS\Frontend\ContentObject\DataProcessorInterface; * } * } * } - * */ class MenuProcessor implements DataProcessorInterface { @@ -293,7 +292,6 @@ class MenuProcessor implements DataProcessorInterface /** * Prepare configuration for a certain menu level in the hierarchy - * @return void */ public function prepareLevelConfiguration() { @@ -309,7 +307,6 @@ class MenuProcessor implements DataProcessorInterface /** * Prepare the configuration when rendering a language menu - * @return void */ public function prepareLevelLanguageConfiguration() { @@ -341,8 +338,6 @@ class MenuProcessor implements DataProcessorInterface /** * Build the menu configuration so it can be treated by HMENU cObject - * - * @return void */ public function buildConfiguration() { @@ -492,7 +487,6 @@ class MenuProcessor implements DataProcessorInterface * * @param array $menuItem * @param array $conf - * @return void */ public function replacePlaceholderInRenderedMenuItem($menuItem, $conf) { diff --git a/typo3/sysext/frontend/Classes/Hooks/MediaItemHooks.php b/typo3/sysext/frontend/Classes/Hooks/MediaItemHooks.php index 7677d7ad8cf0..85a8b91c380e 100644 --- a/typo3/sysext/frontend/Classes/Hooks/MediaItemHooks.php +++ b/typo3/sysext/frontend/Classes/Hooks/MediaItemHooks.php @@ -26,7 +26,6 @@ class MediaItemHooks implements \TYPO3\CMS\Core\SingletonInterface * * @param array $params Existing types by reference * @param array $conf Config array - * @return void */ public function customMediaRenderTypes(&$params, $conf) { @@ -43,7 +42,6 @@ class MediaItemHooks implements \TYPO3\CMS\Core\SingletonInterface * * @param array $params Existing types by reference * @param array $conf Config array - * @return void */ public function customMediaParams(&$params, $conf) { diff --git a/typo3/sysext/frontend/Classes/Hooks/PageLayoutView/ImagePreviewRenderer.php b/typo3/sysext/frontend/Classes/Hooks/PageLayoutView/ImagePreviewRenderer.php index 10b5c079d80c..bb2312f70999 100644 --- a/typo3/sysext/frontend/Classes/Hooks/PageLayoutView/ImagePreviewRenderer.php +++ b/typo3/sysext/frontend/Classes/Hooks/PageLayoutView/ImagePreviewRenderer.php @@ -27,7 +27,6 @@ class ImagePreviewRenderer implements \TYPO3\CMS\Backend\View\PageLayoutViewDraw * @param string $headerContent Header content * @param string $itemContent Item content * @param array $row Record row of tt_content - * @return void */ public function preProcess( \TYPO3\CMS\Backend\View\PageLayoutView &$parentObject, diff --git a/typo3/sysext/frontend/Classes/Hooks/PageLayoutView/TextPreviewRenderer.php b/typo3/sysext/frontend/Classes/Hooks/PageLayoutView/TextPreviewRenderer.php index a1f2ffa101ac..20df23924eed 100644 --- a/typo3/sysext/frontend/Classes/Hooks/PageLayoutView/TextPreviewRenderer.php +++ b/typo3/sysext/frontend/Classes/Hooks/PageLayoutView/TextPreviewRenderer.php @@ -27,7 +27,6 @@ class TextPreviewRenderer implements \TYPO3\CMS\Backend\View\PageLayoutViewDrawI * @param string $headerContent Header content * @param string $itemContent Item content * @param array $row Record row of tt_content - * @return void */ public function preProcess( \TYPO3\CMS\Backend\View\PageLayoutView &$parentObject, diff --git a/typo3/sysext/frontend/Classes/Hooks/PageLayoutView/TextmediaPreviewRenderer.php b/typo3/sysext/frontend/Classes/Hooks/PageLayoutView/TextmediaPreviewRenderer.php index 9010f2339b06..c4736da79f2a 100644 --- a/typo3/sysext/frontend/Classes/Hooks/PageLayoutView/TextmediaPreviewRenderer.php +++ b/typo3/sysext/frontend/Classes/Hooks/PageLayoutView/TextmediaPreviewRenderer.php @@ -31,8 +31,6 @@ class TextmediaPreviewRenderer implements PageLayoutViewDrawItemHookInterface * @param string $headerContent Header content * @param string $itemContent Item content * @param array $row Record row of tt_content - * - * @return void */ public function preProcess( PageLayoutView &$parentObject, diff --git a/typo3/sysext/frontend/Classes/Hooks/PageLayoutView/TextpicPreviewRenderer.php b/typo3/sysext/frontend/Classes/Hooks/PageLayoutView/TextpicPreviewRenderer.php index 5639e5478862..e6e37e05d07e 100644 --- a/typo3/sysext/frontend/Classes/Hooks/PageLayoutView/TextpicPreviewRenderer.php +++ b/typo3/sysext/frontend/Classes/Hooks/PageLayoutView/TextpicPreviewRenderer.php @@ -27,7 +27,6 @@ class TextpicPreviewRenderer implements \TYPO3\CMS\Backend\View\PageLayoutViewDr * @param string $headerContent Header content * @param string $itemContent Item content * @param array $row Record row of tt_content - * @return void */ public function preProcess( \TYPO3\CMS\Backend\View\PageLayoutView &$parentObject, diff --git a/typo3/sysext/frontend/Classes/Hooks/TreelistCacheUpdateHooks.php b/typo3/sysext/frontend/Classes/Hooks/TreelistCacheUpdateHooks.php index 0bf670aaadb7..34a8560dd732 100644 --- a/typo3/sysext/frontend/Classes/Hooks/TreelistCacheUpdateHooks.php +++ b/typo3/sysext/frontend/Classes/Hooks/TreelistCacheUpdateHooks.php @@ -67,7 +67,6 @@ class TreelistCacheUpdateHooks * @param mixed $recordId The record's uid for update records, a string to look the record's uid up after it has been created * @param array $updatedFields Array of changed fields and their new values * @param DataHandler $dataHandler DataHandler parent object - * @return void */ public function processDatamap_afterDatabaseOperations($status, $table, $recordId, array $updatedFields, DataHandler $dataHandler) { @@ -101,7 +100,6 @@ class TreelistCacheUpdateHooks * @param int $recordId The record's uid * @param array $commandValue The commands value, typically an array with more detailed command information * @param DataHandler $dataHandler The DataHandler parent object - * @return void */ public function processCmdmap_postProcess($command, $table, $recordId, $commandValue, DataHandler $dataHandler) { @@ -138,7 +136,6 @@ class TreelistCacheUpdateHooks * @param array $movedRecord The record that moved * @param array $updatedFields Array of changed fields * @param DataHandler $dataHandler DataHandler parent object - * @return void */ public function moveRecord_firstElementPostProcess($table, $recordId, $destinationPid, array $movedRecord, array $updatedFields, DataHandler $dataHandler) { @@ -165,7 +162,6 @@ class TreelistCacheUpdateHooks * @param array $movedRecord The record that moved * @param array $updatedFields Array of changed fields * @param DataHandler $dataHandler DataHandler parent object - * @return void */ public function moveRecord_afterAnotherElementPostProcess($table, $recordId, $destinationPid, $originalDestinationPid, array $movedRecord, array $updatedFields, DataHandler $dataHandler) { @@ -207,7 +203,6 @@ class TreelistCacheUpdateHooks * @param int $affectedParentPage parent uid of the affected page * @param array $updatedFields Array of updated fields and their new values * @param array $actions Array of actions to carry out - * @return void */ protected function processClearCacheActions($affectedPage, $affectedParentPage, $updatedFields, array $actions) { @@ -240,7 +235,6 @@ class TreelistCacheUpdateHooks * gets called after creating a new page and after moving a page * * @param int $affectedParentPage Parent page id of the changed page, the page to start clearing from - * @return void */ protected function clearCacheForAllParents($affectedParentPage) { @@ -271,7 +265,6 @@ class TreelistCacheUpdateHooks * in the treelist * * @param int $affectedPage ID of the changed page - * @return void */ protected function clearCacheWhereUidInTreelist($affectedPage) { @@ -291,7 +284,6 @@ class TreelistCacheUpdateHooks * * @param int $affectedPage Uid of the changed page * @param int $expirationTime - * @return void */ protected function setCacheExpiration($affectedPage, $expirationTime) { @@ -308,8 +300,6 @@ class TreelistCacheUpdateHooks /** * Removes all expired treelist cache entries - * - * @return void */ protected function removeExpiredCacheEntries() { diff --git a/typo3/sysext/frontend/Classes/Http/Application.php b/typo3/sysext/frontend/Classes/Http/Application.php index a3015ea26c99..d9b33fadd837 100644 --- a/typo3/sysext/frontend/Classes/Http/Application.php +++ b/typo3/sysext/frontend/Classes/Http/Application.php @@ -73,7 +73,6 @@ class Application implements ApplicationInterface * Starting point * * @param callable $execute - * @return void */ public function run(callable $execute = null) { diff --git a/typo3/sysext/frontend/Classes/Http/RequestHandler.php b/typo3/sysext/frontend/Classes/Http/RequestHandler.php index 59a53c52e270..ecc129ed79d8 100644 --- a/typo3/sysext/frontend/Classes/Http/RequestHandler.php +++ b/typo3/sysext/frontend/Classes/Http/RequestHandler.php @@ -315,8 +315,6 @@ class RequestHandler implements RequestHandlerInterface /** * Timetracking started depending if a Backend User is logged in - * - * @return void */ protected function initializeTimeTracker() { @@ -329,8 +327,6 @@ class RequestHandler implements RequestHandlerInterface /** * Creates an instance of TSFE and sets it as a global variable - * - * @return void */ protected function initializeController() { diff --git a/typo3/sysext/frontend/Classes/Http/UrlHandlerInterface.php b/typo3/sysext/frontend/Classes/Http/UrlHandlerInterface.php index f3870164e452..248b2ec7f651 100644 --- a/typo3/sysext/frontend/Classes/Http/UrlHandlerInterface.php +++ b/typo3/sysext/frontend/Classes/Http/UrlHandlerInterface.php @@ -40,7 +40,6 @@ interface UrlHandlerInterface * This hook will be called BEFORE the user is redirected to an external URL configured in the page properties. * * @see \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::redirectToExternalUrl() - * @return void */ public function handle(); } diff --git a/typo3/sysext/frontend/Classes/Imaging/GifBuilder.php b/typo3/sysext/frontend/Classes/Imaging/GifBuilder.php index 08645599d67d..77b1ca1552c8 100644 --- a/typo3/sysext/frontend/Classes/Imaging/GifBuilder.php +++ b/typo3/sysext/frontend/Classes/Imaging/GifBuilder.php @@ -107,7 +107,6 @@ class GifBuilder extends GraphicalFunctions * * @param array $conf TypoScript properties for the GIFBUILDER session. Stored internally in the variable ->setup * @param array $data The current data record from \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer. Stored internally in the variable ->data - * @return void * @see ContentObjectRenderer::getImgResource(), \TYPO3\CMS\Frontend\ContentObject\Menu\GraphicalMenuContentObject::makeGifs(), \TYPO3\CMS\Frontend\ContentObject\Menu\GraphicalMenuContentObject::findLargestDims() */ public function start($conf, $data) @@ -365,7 +364,6 @@ class GifBuilder extends GraphicalFunctions * Creates a GDlib resource in $this->im and works on that * Called by gifBuild() * - * @return void * @access private * @see gifBuild() */ diff --git a/typo3/sysext/frontend/Classes/Page/ExternalPageUrlHandler.php b/typo3/sysext/frontend/Classes/Page/ExternalPageUrlHandler.php index efbbf86cfcca..1448930f8c24 100644 --- a/typo3/sysext/frontend/Classes/Page/ExternalPageUrlHandler.php +++ b/typo3/sysext/frontend/Classes/Page/ExternalPageUrlHandler.php @@ -49,8 +49,6 @@ class ExternalPageUrlHandler implements \TYPO3\CMS\Frontend\Http\UrlHandlerInter /** * Redirects the user to the detected external URL. - * - * @return void */ public function handle() { diff --git a/typo3/sysext/frontend/Classes/Page/PageGenerator.php b/typo3/sysext/frontend/Classes/Page/PageGenerator.php index 22ebcfa2024d..311ca3a6b81f 100644 --- a/typo3/sysext/frontend/Classes/Page/PageGenerator.php +++ b/typo3/sysext/frontend/Classes/Page/PageGenerator.php @@ -42,7 +42,6 @@ class PageGenerator * Setting some vars in TSFE, primarily based on TypoScript config settings. * * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 - * @return void */ public static function pagegenInit() { @@ -172,8 +171,6 @@ class PageGenerator /** * Rendering the page content - * - * @return void */ public static function renderContent() { @@ -208,7 +205,6 @@ class PageGenerator * Rendering normal HTML-page with header by wrapping the generated content ($pageContent) in body-tags and setting the header accordingly. * * @param string $pageContent The page content which TypoScript objects has generated - * @return void */ public static function renderContentWithHeader($pageContent) { @@ -1025,8 +1021,6 @@ class PageGenerator * Takes the settings [config][noPageTitle], [config][pageTitleFirst], [config][titleTagFunction] * [config][pageTitleSeparator] and [config][noPageTitle] into account. * Furthermore $GLOBALS[TSFE]->altPageTitle is observed. - * - * @return void */ public static function generatePageTitle() { diff --git a/typo3/sysext/frontend/Classes/Page/PageRepository.php b/typo3/sysext/frontend/Classes/Page/PageRepository.php index e89557e686f9..dad992888d04 100644 --- a/typo3/sysext/frontend/Classes/Page/PageRepository.php +++ b/typo3/sysext/frontend/Classes/Page/PageRepository.php @@ -175,7 +175,6 @@ class PageRepository * into account * * @param bool $show_hidden If $show_hidden is TRUE, the hidden-field is ignored!! Normally this should be FALSE. Is used for previewing. - * @return void * @see \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::fetch_the_id(), \TYPO3\CMS\Tstemplate\Controller\TemplateAnalyzerModuleFunctionController::initialize_editor() */ public function init($show_hidden) @@ -1283,7 +1282,6 @@ class PageRepository * @param mixed $data The data to store * @param string $ident Is just a textual identification in order to inform about the content! * @param int $lifetime The lifetime for the cache entry in seconds - * @return void * @see tslib_TStemplate::start(), getHash() */ public static function storeHash($hash, $data, $ident, $lifetime = 0) @@ -1469,7 +1467,6 @@ class PageRepository * * @param string $table Table name * @param array $rr Record array passed by reference. As minimum, "pid" and "uid" fields must exist! "t3ver_oid" and "t3ver_wsid" is nice and will save you a DB query. - * @return void (Passed by ref). * @see BackendUtility::fixVersioningPid(), versionOL(), getRootLine() */ public function fixVersioningPid($table, &$rr) @@ -1529,7 +1526,6 @@ class PageRepository * @param array $row Record array passed by reference. As minimum, the "uid", "pid" and "t3ver_state" fields must exist! The record MAY be set to FALSE in which case the calling function should act as if the record is forbidden to access! * @param bool $unsetMovePointers If set, the $row is cleared in case it is a move-pointer. This is only for preview of moved records (to remove the record from the original location so it appears only in the new location) * @param bool $bypassEnableFieldsCheck Unless this option is TRUE, the $row is unset if enablefields for BOTH the version AND the online record deselects it. This is because when versionOL() is called it is assumed that the online record is already selected with no regards to it's enablefields. However, after looking for a new version the online record enablefields must ALSO be evaluated of course. This is done all by this function! - * @return void (Passed by ref). * @see fixVersioningPid(), BackendUtility::workspaceOL() */ public function versionOL($table, &$row, $unsetMovePointers = false, $bypassEnableFieldsCheck = false) diff --git a/typo3/sysext/frontend/Classes/Page/PageRepositoryGetPageHookInterface.php b/typo3/sysext/frontend/Classes/Page/PageRepositoryGetPageHookInterface.php index 3660ce2aae14..67af1df1fee3 100644 --- a/typo3/sysext/frontend/Classes/Page/PageRepositoryGetPageHookInterface.php +++ b/typo3/sysext/frontend/Classes/Page/PageRepositoryGetPageHookInterface.php @@ -25,7 +25,6 @@ interface PageRepositoryGetPageHookInterface * @param int $uid The page ID * @param bool $disableGroupAccessCheck If set, the check for group access is disabled. VERY rarely used * @param \TYPO3\CMS\Frontend\Page\PageRepository $parentObject Parent object - * @return void */ public function getPage_preProcess(&$uid, &$disableGroupAccessCheck, PageRepository $parentObject); } diff --git a/typo3/sysext/frontend/Classes/Page/PageRepositoryGetPageOverlayHookInterface.php b/typo3/sysext/frontend/Classes/Page/PageRepositoryGetPageOverlayHookInterface.php index 27ce7e839e31..ef901d79ae03 100644 --- a/typo3/sysext/frontend/Classes/Page/PageRepositoryGetPageOverlayHookInterface.php +++ b/typo3/sysext/frontend/Classes/Page/PageRepositoryGetPageOverlayHookInterface.php @@ -25,7 +25,6 @@ interface PageRepositoryGetPageOverlayHookInterface * @param array $pageInput The page record * @param int $lUid The overlay language * @param \TYPO3\CMS\Frontend\Page\PageRepository $parent The calling parent object - * @return void */ public function getPageOverlay_preProcess(&$pageInput, &$lUid, PageRepository $parent); } diff --git a/typo3/sysext/frontend/Classes/Page/PageRepositoryInitHookInterface.php b/typo3/sysext/frontend/Classes/Page/PageRepositoryInitHookInterface.php index 2b5ddceb844f..8f3f08fd657c 100644 --- a/typo3/sysext/frontend/Classes/Page/PageRepositoryInitHookInterface.php +++ b/typo3/sysext/frontend/Classes/Page/PageRepositoryInitHookInterface.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Frontend\Page; /** * Interface for classes which hook into pageSelect and do additional getPage processing - * */ interface PageRepositoryInitHookInterface { @@ -24,7 +23,6 @@ interface PageRepositoryInitHookInterface * Modifies the DB params * * @param \TYPO3\CMS\Frontend\Page\PageRepository $parentObject Parent object - * @return void */ public function init_postProcess(PageRepository $parentObject); } diff --git a/typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php b/typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php index 72b120750e66..53661a0074c6 100644 --- a/typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php +++ b/typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php @@ -317,8 +317,6 @@ class AbstractPlugin /** * If internal TypoScript property "_DEFAULT_PI_VARS." is set then it will merge the current $this->piVars array onto these default values. - * - * @return void */ public function pi_setPiVarDefaults() { @@ -989,7 +987,6 @@ class AbstractPlugin * Supported file extensions xlf, xml * * @param string $languageFilePath path to the plugin language file in format EXT:.... - * @return void */ public function pi_loadLL($languageFilePath = '') { @@ -1362,7 +1359,6 @@ class AbstractPlugin * Converts $this->cObj->data['pi_flexform'] from XML string to flexForm array. * * @param string $field Field name to convert - * @return void */ public function pi_initPIflexForm($field = 'pi_flexform') { diff --git a/typo3/sysext/frontend/Classes/Resource/FileCollector.php b/typo3/sysext/frontend/Classes/Resource/FileCollector.php index dbfc5536c523..b2fe32fe12a7 100644 --- a/typo3/sysext/frontend/Classes/Resource/FileCollector.php +++ b/typo3/sysext/frontend/Classes/Resource/FileCollector.php @@ -89,7 +89,6 @@ class FileCollector implements \Countable * @param string $relationTable The table of the relation (e.g. tt_content or pages) * @param string $relationField The field which holds the files (e.g. media or images) * @param array $referenceRecord the record which is referencing the files - * @return void */ public function addFilesFromRelation($relationTable, $relationField, array $referenceRecord) { @@ -108,7 +107,6 @@ class FileCollector implements \Countable * Add files from UIDs of a reference * * @param array $fileReferenceUids - * @return void */ public function addFileReferences(array $fileReferenceUids = []) { @@ -122,7 +120,6 @@ class FileCollector implements \Countable * Add files to the collection from multiple file collections * * @param array $fileCollectionUids The file collections uids - * @return void */ public function addFilesFromFileCollections(array $fileCollectionUids = []) { @@ -135,7 +132,6 @@ class FileCollector implements \Countable * Add files to the collection from one single file collection * * @param int $fileCollectionUid The file collections uid - * @return void */ public function addFilesFromFileCollection($fileCollectionUid = null) { @@ -164,7 +160,6 @@ class FileCollector implements \Countable * * @param array $folderIdentifiers The folder identifiers * @param bool $recursive Add files recursive from given folders - * @return void */ public function addFilesFromFolders(array $folderIdentifiers = [], $recursive = false) { @@ -203,7 +198,6 @@ class FileCollector implements \Countable * * @param string $sortingProperty The sorting property * @param string $sortingOrder can be ascending or descending or "random" - * @return void */ public function sort($sortingProperty = '', $sortingOrder = 'ascending') { @@ -239,7 +233,6 @@ class FileCollector implements \Countable * Add a file object to the collection * * @param FileInterface $file The file object - * @return void */ public function addFileObject(FileInterface $file) { @@ -250,7 +243,6 @@ class FileCollector implements \Countable * Add multiple file objects to the collection * * @param FileInterface[] $files The file objects - * @return void */ public function addFileObjects($files) { diff --git a/typo3/sysext/frontend/Classes/Utility/EidUtility.php b/typo3/sysext/frontend/Classes/Utility/EidUtility.php index 92cc6c66e46e..07345a9ec7cb 100644 --- a/typo3/sysext/frontend/Classes/Utility/EidUtility.php +++ b/typo3/sysext/frontend/Classes/Utility/EidUtility.php @@ -53,7 +53,6 @@ class EidUtility * Initializes $GLOBALS['LANG'] for use in eID scripts. * * @param string $language TYPO3 language code - * @return void */ public static function initLanguage($language = 'default') { @@ -65,8 +64,6 @@ class EidUtility /** * Makes TCA available inside eID - * - * @return void */ public static function initTCA() { @@ -84,7 +81,6 @@ class EidUtility * you need not to include the whole $GLOBALS['TCA']. * * @param string $extensionKey Extension key - * @return void */ public static function initExtensionTCA($extensionKey) { diff --git a/typo3/sysext/frontend/Classes/View/AdminPanelView.php b/typo3/sysext/frontend/Classes/View/AdminPanelView.php index e2da71f68b08..b6491395b64a 100644 --- a/typo3/sysext/frontend/Classes/View/AdminPanelView.php +++ b/typo3/sysext/frontend/Classes/View/AdminPanelView.php @@ -72,8 +72,6 @@ class AdminPanelView /** * Initializes settings for the admin panel. - * - * @return void */ public function initialize() { @@ -145,8 +143,6 @@ class AdminPanelView /** * Saves any change in settings made in the Admin Panel. * Called from \TYPO3\CMS\Frontend\Http\RequestHandler right after access check for the Admin Panel - * - * @return void */ public function saveConfigOptions() { @@ -222,8 +218,6 @@ class AdminPanelView /** * Enables the force preview option. - * - * @return void */ public function forcePreview() { diff --git a/typo3/sysext/frontend/Tests/Unit/Authentication/FrontendUserAuthenticationTest.php b/typo3/sysext/frontend/Tests/Unit/Authentication/FrontendUserAuthenticationTest.php index f72d749c5bc8..a4bf7310cefa 100644 --- a/typo3/sysext/frontend/Tests/Unit/Authentication/FrontendUserAuthenticationTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Authentication/FrontendUserAuthenticationTest.php @@ -505,7 +505,6 @@ class FrontendUserAuthenticationTest extends UnitTestCase * @test * * If a user has an anonymous session, and its data is set to null, then the record is removed - * */ public function destroysAnonymousSessionIfDataIsNull() { @@ -559,7 +558,6 @@ class FrontendUserAuthenticationTest extends UnitTestCase /** * @test * Any session data set when logged in should be preserved when logging out - * */ public function sessionDataShouldBePreservedOnLogout() { diff --git a/typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php b/typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php index bda41dfca1c6..fe7c9636d882 100644 --- a/typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php +++ b/typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php @@ -753,7 +753,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $expect The expected cropped output. * @param string $content The given input. * @param string $conf The given configuration. - * @return void */ public function cropHTML($expect, $content, $conf) { @@ -823,7 +822,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param float $expect The expected output. * @param mixed $content The given content. * @param array $conf The given configuration of 'round.'. - * @return void * @dataProvider roundDataProvider * @test */ @@ -991,7 +989,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $content The given input. * @param string $expects The expected result. * @param array $conf The given configuration. - * @return void */ public function replacement($expects, $content, $conf) { @@ -1045,7 +1042,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param int $expect * @param int $timestamp * @param string $labels - * @return void */ public function calcAge($expect, $timestamp, $labels) { @@ -1115,7 +1111,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $expect The expected output. * @param string $content The given input. * @param array $conf The given configutation. - * @return void */ public function substring($expect, $content, $conf) { @@ -3393,7 +3388,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param int $times Times called mocked method. * @param array $with Parameter passed to mocked method. * @param string $will Return value of mocked method. - * @return void */ public function calculateCacheKey($expect, $conf, $times, $with, $withWrap, $will) { @@ -3440,7 +3434,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $cacheKey Return from calculateCacheKey mock. * @param int $times Times the cache is expected to be called (0 or 1). * @param string $cached Return from cacheFrontend mock. - * @return void */ public function getFromCache($expect, $conf, $cacheKey, $times, $cached) { @@ -3539,7 +3532,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @dataProvider getFieldValDataProvider * @param string $expect The expected string. * @param string $fields Field names divides by //. - * @return void */ public function getFieldVal($expect, $fields) { @@ -3653,7 +3645,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $case The given type of conversion. * @param array $with Consecutive args expected by caseshift. * @param array $will Consecutive return values of caseshfit. - * @return void */ public function HTMLcaseshift($expect, $content, $case, $with, $will) { @@ -3682,7 +3673,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Their amount is 91. * * @test - * @return void */ public function allStdWrapProcessorsAreCallable() { @@ -3722,7 +3712,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * that it is an issue. * * @test - * @return void */ public function notAllStdWrapProcessorsAreCallableWithEmptyConfiguration() { @@ -3797,7 +3786,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @dataProvider fourTypesOfStdWrapHookObjectProcessorsDataProvider * @param string $stdWrapMethod: The method to cover. * @param string $hookObjectCall: The expected hook object call. - * @return void */ public function fourTypesOfStdWrapHookObjectProcessors( $stdWrapMethod, $hookObjectCall) @@ -3870,7 +3858,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param array $conf The given configuration. * @param int $times Times HTMLparser_TSbridge is called (0 or 1). * @param string $will Return of HTMLparser_TSbridge. - * @return void. */ public function stdWrap_HTMLparser( $expect, $content, $conf, $times, $will) @@ -3933,7 +3920,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param mixed $conf The the given configuration. * @param int $times Times TCAlookup is called. * @param string $will Return value of TCAlookup. - * @return void. */ public function stdWrap_TCAselectItem( $expect, $content, $conf, $times, $will) @@ -3996,7 +3982,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void. */ public function stdWrap_addParams() { @@ -4028,7 +4013,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void */ public function stdWrap_age() { @@ -4060,7 +4044,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value appended to $content. * * @test - * @return void */ public function stdWrap_append() { @@ -4119,7 +4102,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $expected The expected value. * @param string $input The input value. * @param string $xhtmlDoctype Xhtml document type. - * @return void * @test * @dataProvider stdWrapBrDataProvider */ @@ -4223,7 +4205,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $expect The expected output. * @param string $content The given input. * @param array $conf The given configuration for 'bytes.'. - * @return void */ public function stdWrap_bytes($expect, $content, $conf) { @@ -4250,7 +4231,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void */ public function stdWrap_cObject() { @@ -4321,7 +4301,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param array $firstConf Parameter 2 expected by first call to stdWrap. * @param array $secondConf Parameter 2 expected by second call to stdWrap. * @param array $conf The given configuration. - * @return void */ public function stdWrap_orderedStdWrap($firstConf, $secondConf, $conf) { @@ -4384,7 +4363,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param int $times Times called mocked method. * @param array $with Parameter passed to mocked method. * @param string|false $will Return value of mocked method. - * @return void */ public function stdWrap_cacheRead( $expect, $input, $conf, $times, $with, $will) @@ -4442,7 +4420,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param int $timesCCK Times calculateCacheKey is called. * @param string $key The return value of calculateCacheKey. * @param int $times Times the other methods are called. - * @return void */ public function stdWrap_cacheStore( $confCache, $timesCCK, $key, $times) @@ -4507,7 +4484,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void */ public function stdWrap_case() { @@ -4532,7 +4508,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * Check if stdWrap_char works properly. * * @test - * @return void */ public function stdWrap_char() { @@ -4552,7 +4527,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void */ public function stdWrap_crop() { @@ -4584,7 +4558,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void */ public function stdWrap_cropHTML() { @@ -4654,7 +4627,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $expected The expected value. * @param string $value The input value. * @param array $conf Property: csConv - * @return void */ public function stdWrap_csConv($expected, $input, $conf) { @@ -4672,7 +4644,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - the key defaults to 'currentValue_kidjls9dksoje' * * @test - * @return void */ public function stdWrap_current() { @@ -4727,7 +4698,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param mixed $expect Expect either $data or $alternativeData. * @param array $data The data. * @param mixed $alt The alternativeData. - * @return void */ public function stdWrap_data($expect, $data, $alt) { @@ -4757,7 +4727,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void. */ public function stdWrap_dataWrap() { @@ -4827,7 +4796,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param mixed $content The given input. * @param array $conf The given configuration. * @param int $now Fictive execution time. - * @return void */ public function stdWrap_date($expected, $content, $conf, $now) { @@ -4840,7 +4808,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * Check if stdWrap_debug works properly. * * @test - * @return void */ public function stdWrap_debug() { @@ -4875,7 +4842,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * implementation at all. It can't even indirectly be tested. * * @test - * @return void */ public function stdWrap_debugData() { @@ -4937,7 +4903,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @dataProvider stdWrap_debugFuncDataProvider * @param bool $expectArray If cast to array is expected. * @param mixed $confDebugFunc The configuration for $conf['debugFunc']. - * @return void */ public function stdWrap_debugFunc($expectArray, $confDebugFunc) { @@ -5025,7 +4990,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $expected The expected value. * @param string $input The input value. * @param array $config The property 'doubleBrTag'. - * @return void */ public function stdWrap_doubleBrTag($expected, $input, $config) { @@ -5102,7 +5066,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param int $times Times editIcons is called (0 or 1). * @param array $param3 The expected third parameter. * @param string $will Return value of editIcons. - * @return void */ public function stdWrap_editIcons( $expect, $content, $conf, $login, $times, $param3, $will) @@ -5130,7 +5093,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void */ public function stdWrap_encapsLines() { @@ -5190,7 +5152,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param bool $login Simulate backend user login. * @param int $times Times editPanel is called (0 or 1). * @param string $will Return value of editPanel. - * @return void */ public function stdWrap_editPanel( $expect, $content, $login, $times, $will) @@ -5247,7 +5208,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @dataProvider stdWrap_encodeForJavaScriptValueDataProvider * @param string $expect The expected output. * @param string $content The given input. - * @return void */ public function stdWrap_encodeForJavaScriptValue($expect, $content) { @@ -5281,7 +5241,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @dataProvider stdWrap_expandListDataProvider * @param string $expected The expected output. * @param string $content The given content. - * @return void */ public function stdWrap_expandList($expected, $content) { @@ -5298,7 +5257,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - passes conf['field'] as parameter * * @test - * @return void */ public function stdWrap_field() { @@ -5378,7 +5336,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param bool $stop Expect stop further rendering. * @param mixed $content The given input. * @param array $conf The given configuration. - * @return void */ public function stdWrap_fieldRequired($expect, $stop, $content, $conf) { @@ -5414,7 +5371,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void */ public function stdWrap_filelink() { @@ -5441,7 +5397,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void */ public function stdWrap_filelist() { @@ -5505,7 +5460,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $expect The expected output. * @param string $content The given content. * @param array $conf The given configuration. - * @return void */ public function stdWrap_hash($expect, $content, $conf) { @@ -5552,7 +5506,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $expected The expected value. * @param string $input The input value. * @param array $conf htmlSpecialChars.preserveEntities - * @return void */ public function stdWrap_htmlSpecialChars($expected, $input, $conf) { @@ -5618,7 +5571,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param mixed $config The given configuration. * @param int $times Times checkIf is called (0 or 1). * @param bool|null $will Return of checkIf (null if not called). - * @return void */ public function stdWrap_if($expect, $stop, $content, $conf, $times, $will) { @@ -5674,7 +5626,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param mixed $expected The expected output. * @param mixed $content The given input. * @param array $conf The given configuration. - * @return void */ public function stdWrap_ifBlank($expect, $content, $conf) { @@ -5727,7 +5678,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param mixed $expect The expected output. * @param mixed $content The given content. * @param array $conf The given configuration. - * @return void */ public function stdWrap_ifEmpty($expect, $content, $conf) { @@ -5770,7 +5720,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param mixed $expected The expected output. * @param mixed $content The given input. * @param array $conf The given configuration. - * @return void */ public function stdWrap_ifNull($expect, $content, $conf) { @@ -5823,7 +5772,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $expected The expected value. * @param string $input The input value. * @param array $conf Property: innerWrap - * @return void * @test * @dataProvider stdWrap_innerWrapDataProvider */ @@ -5878,7 +5826,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $expected The expected value. * @param string $input The input value. * @param array $conf Property: innerWrap2 - * @return void * @test * @dataProvider stdWrap_innerWrap2DataProvider */ @@ -5898,7 +5845,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void */ public function stdWrap_insertData() { @@ -5961,7 +5907,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @dataProvider stdWrap_intvalDataProvider * @param int $expect The expected output. * @param string $content The given input. - * @return void */ public function stdWrap_intval($expect, $content) { @@ -6018,7 +5963,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * * @param string $expected The expected value. * @param string $input The input value. - * @return void * @test * @dataProvider stdWrapKeywordsDataProvider */ @@ -6095,7 +6039,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $input The input value. * @param array $conf Properties: lang.xy. * @param string $language For $TSFE->config[config][language]. - * @return void * @test * @dataProvider stdWrap_langDataProvider */ @@ -6121,7 +6064,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void */ public function stdWrap_listNum() { @@ -6225,7 +6167,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $expect The expected output. * @param string $content The given input. * @param array $conf The given configuration. - * @return void */ public function stdWrap_noTrimWrap($expect, $content, $conf) { @@ -6243,7 +6184,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void */ public function stdWrap_numRows() { @@ -6270,7 +6210,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void */ public function stdWrap_numberFormat() { @@ -6336,7 +6275,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $expected The expected value. * @param string $input The input value. * @param array $conf Property: outerWrap - * @return void * @test * @dataProvider stdWrap_outerWrapDataProvider */ @@ -6400,7 +6338,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @dataProvider stdWrap_overrideDataProvider * @param string $input The input value. * @param array $conf Property: setCurrent - * @return void */ public function stdWrap_override($expect, $content, $conf) { @@ -6420,7 +6357,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return. * * @test - * @return void */ public function stdWrap_parseFunc() { @@ -6453,7 +6389,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value appended by $content. * * @test - * @return void */ public function stdWrap_postCObject() { @@ -6485,7 +6420,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void. */ public function stdWrap_postUserFunc() { @@ -6523,7 +6457,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns "<!-- $substKey -->". * * @test - * @return void */ public function stdWrap_postUserFuncInt() { @@ -6568,7 +6501,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value appended by $content. * * @test - * @return void */ public function stdWrap_preCObject() { @@ -6602,7 +6534,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void */ public function stdWrap_preIfEmptyListNum() { @@ -6666,7 +6597,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * * @test * @dataProvider stdWrap_prefixCommentDataProvider - * @return void */ public function stdWrap_prefixComment( $expect, $content, $conf, $disable, $times, $will) @@ -6696,7 +6626,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value prepended to $content. * * @test - * @return void */ public function stdWrap_prepend() { @@ -6753,7 +6682,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param mixed $expect The expected output. * @param string $content The given content. * @param array $conf The given configuration. - * @return void */ public function stdWrap_prioriCalc($expect, $content, $conf) { @@ -6773,7 +6701,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void */ public function stdWrap_preUserFunc() { @@ -6817,7 +6744,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @dataProvider stdWrap_rawUrlEncodeDataProvider * @param string $expect The expected output. * @param string $content The given input. - * @return void */ public function stdWrap_rawUrlEncode($expect, $content) { @@ -6836,7 +6762,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void */ public function stdWrap_replacement() { @@ -6895,7 +6820,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param mixed $expect The expected output. * @param bool $stop Expect stop further rendering. * @param mixed $content The given input. - * @return void */ public function stdWrap_required($expect, $stop, $content) { @@ -6917,7 +6841,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void */ public function stdWrap_round() { @@ -6941,7 +6864,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * Check if stdWrap_setContentToCurrent works properly. * * @test - * @return void */ public function stdWrap_setContentToCurrent() { @@ -6998,7 +6920,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @dataProvider stdWrap_setCurrentDataProvider * @param string $input The input value. * @param array $conf Property: setCurrent - * @return void */ public function stdWrap_setCurrent($input, $conf) { @@ -7024,7 +6945,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void. */ public function stdWrap_space() { @@ -7059,7 +6979,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void. */ public function stdWrap_spaceAfter() { @@ -7095,7 +7014,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void. */ public function stdWrap_spaceBefore() { @@ -7128,7 +7046,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void */ public function stdWrap_split() { @@ -7159,7 +7076,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void. */ public function stdWrap_stdWrap() { @@ -7346,7 +7262,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $expect The expected output. * @param string $content The given input. * @param array $conf The configuration of 'strPad.'. - * @return void */ public function stdWrap_strPad($expect, $content, $conf) { @@ -7395,7 +7310,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param mixed $content The given input. * @param array $conf The given configuration. * @param int $now Fictive execution time. - * @return void */ public function stdWrap_strftime($expect, $content, $conf, $now) { @@ -7468,7 +7382,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param int $expect The expected output. * @param mixed $content The given input. * @param array $conf The given configuration. - * @return void */ public function stdWrap_strtotime($expect, $content, $conf) { @@ -7498,7 +7411,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void */ public function stdWrap_substring() { @@ -7576,7 +7488,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @dataProvider stdWrap_trimDataProvider * @param string $expected The expected output. * @param mixed $content The given content. - * @return void */ public function stdWrap_trim($expect, $content) { @@ -7594,7 +7505,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * - Returns the return value. * * @test - * @return void. */ public function stdWrap_typolink() { @@ -7669,7 +7579,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $expected The expected value. * @param string $input The input value. * @param array $conf Properties: wrap, wrap.splitChar - * @return void * @test * @dataProvider stdWrap_wrapDataProvider */ @@ -7734,7 +7643,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $expected The expected value. * @param string $input The input value. * @param array $conf Properties: wrap2, wrap2.splitChar - * @return void * @test * @dataProvider stdWrap_wrap2DataProvider */ @@ -7798,7 +7706,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $expected The expected value. * @param string $input The input value. * @param array $conf Properties: wrap3, wrap3.splitChar - * @return void * @test * @dataProvider stdWrap_wrap3DataProvider */ @@ -7841,7 +7748,6 @@ class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe * @param string $expect The expected output. * @param string $content The given content. * @param mixed $wrapAlignConf The given input. - * @return void */ public function stdWrap_wrapAlign($expect, $content, $wrapAlignConf) { diff --git a/typo3/sysext/frontend/Tests/Unit/ContentObject/Fixtures/GeneralUtilityFixture.php b/typo3/sysext/frontend/Tests/Unit/ContentObject/Fixtures/GeneralUtilityFixture.php index e566fc407fc7..d3c4db815c75 100644 --- a/typo3/sysext/frontend/Tests/Unit/ContentObject/Fixtures/GeneralUtilityFixture.php +++ b/typo3/sysext/frontend/Tests/Unit/ContentObject/Fixtures/GeneralUtilityFixture.php @@ -21,7 +21,6 @@ class GeneralUtilityFixture extends \TYPO3\CMS\Core\Utility\GeneralUtility { /** * @param \TYPO3\CMS\Core\Core\ApplicationContext $applicationContext - * @return void */ public static function setApplicationContext($applicationContext) { diff --git a/typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/AbstractMenuContentObjectTest.php b/typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/AbstractMenuContentObjectTest.php index 70c53d1b1852..96ff6a21f781 100644 --- a/typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/AbstractMenuContentObjectTest.php +++ b/typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/AbstractMenuContentObjectTest.php @@ -19,7 +19,6 @@ use TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject; /** * Test case - * */ class AbstractMenuContentObjectTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { @@ -47,8 +46,6 @@ class AbstractMenuContentObjectTest extends \TYPO3\TestingFramework\Core\Unit\Un //////////////////////////////// /** * Prepares a test for the method sectionIndex - * - * @return void */ protected function prepareSectionIndexTest() { diff --git a/typo3/sysext/func/Classes/Controller/PageFunctionsController.php b/typo3/sysext/func/Classes/Controller/PageFunctionsController.php index d8f1bb1a65d5..9e61358d19a0 100644 --- a/typo3/sysext/func/Classes/Controller/PageFunctionsController.php +++ b/typo3/sysext/func/Classes/Controller/PageFunctionsController.php @@ -108,8 +108,6 @@ class PageFunctionsController extends \TYPO3\CMS\Backend\Module\BaseScriptClass /** * Initialize module header etc and call extObjContent function - * - * @return void */ public function main() { diff --git a/typo3/sysext/impexp/Classes/Command/ImportCommand.php b/typo3/sysext/impexp/Classes/Command/ImportCommand.php index cf82dca83f54..1e3868820a50 100644 --- a/typo3/sysext/impexp/Classes/Command/ImportCommand.php +++ b/typo3/sysext/impexp/Classes/Command/ImportCommand.php @@ -68,7 +68,6 @@ class ImportCommand extends Command * * @param InputInterface $input * @param OutputInterface $output - * @return void */ protected function execute(InputInterface $input, OutputInterface $output) { diff --git a/typo3/sysext/impexp/Classes/Controller/ImportExportController.php b/typo3/sysext/impexp/Classes/Controller/ImportExportController.php index b3f8e675ff3a..1b4d49cd1ab7 100644 --- a/typo3/sysext/impexp/Classes/Controller/ImportExportController.php +++ b/typo3/sysext/impexp/Classes/Controller/ImportExportController.php @@ -157,8 +157,6 @@ class ImportExportController extends BaseScriptClass /** * Initializes the module and defining necessary variables for this module to run. - * - * @return void */ public function init() { @@ -174,7 +172,6 @@ class ImportExportController extends BaseScriptClass * @throws \BadFunctionCallException * @throws \InvalidArgumentException * @throws \RuntimeException - * @return void */ public function main() { @@ -348,7 +345,6 @@ class ImportExportController extends BaseScriptClass * @throws \InvalidArgumentException * @throws \RuntimeException * @throws \TYPO3\CMS\Core\Resource\Exception\ExistingTargetFileNameException - * @return void */ public function exportData($inData) { @@ -591,7 +587,6 @@ class ImportExportController extends BaseScriptClass * @param int $k Page id for which to select records to add * @param array $tables Array of table names to select from * @param int $maxNumber Max amount of records to select - * @return void */ public function addRecordsForPid($k, $tables, $maxNumber) { @@ -673,7 +668,6 @@ class ImportExportController extends BaseScriptClass * Create configuration form * * @param array $inData Form configuration data - * @return void */ public function makeConfigurationForm($inData) { @@ -754,7 +748,6 @@ class ImportExportController extends BaseScriptClass * Sets content in $this->content * * @param array $inData Form configurat data - * @return void */ public function makeAdvancedOptionsForm($inData) { @@ -768,7 +761,6 @@ class ImportExportController extends BaseScriptClass * Create configuration form * * @param array $inData Form configuration data - * @return void */ public function makeSaveForm($inData) { @@ -810,7 +802,6 @@ class ImportExportController extends BaseScriptClass * @throws \BadFunctionCallException * @throws \InvalidArgumentException * @throws \RuntimeException - * @return void Setting content in $this->content */ public function importData($inData) { @@ -946,7 +937,6 @@ class ImportExportController extends BaseScriptClass * * @throws \InvalidArgumentException * @throws \UnexpectedValueException - * @return void */ public function checkUpload() { diff --git a/typo3/sysext/impexp/Classes/Domain/Repository/PresetRepository.php b/typo3/sysext/impexp/Classes/Domain/Repository/PresetRepository.php index a5ff945ab01a..334bca1ffe95 100644 --- a/typo3/sysext/impexp/Classes/Domain/Repository/PresetRepository.php +++ b/typo3/sysext/impexp/Classes/Domain/Repository/PresetRepository.php @@ -102,7 +102,6 @@ class PresetRepository * Manipulate presets * * @param array $inData In data array, passed by reference! - * @return void */ public function processPresets(&$inData) { diff --git a/typo3/sysext/impexp/Classes/Export.php b/typo3/sysext/impexp/Classes/Export.php index ec89b2c0b220..cdbf8ee301bc 100644 --- a/typo3/sysext/impexp/Classes/Export.php +++ b/typo3/sysext/impexp/Classes/Export.php @@ -133,7 +133,6 @@ class Export extends ImportExport * Init the object * * @param bool $dontCompress If set, compression of t3d files is disabled - * @return void */ public function init($dontCompress = false) { @@ -148,8 +147,6 @@ class Export extends ImportExport /** * Set header basics - * - * @return void */ public function setHeaderBasics() { @@ -181,7 +178,6 @@ class Export extends ImportExport * Set charset * * @param string $charset Charset for the content in the export. During import the character set will be converted if the target system uses another charset. - * @return void */ public function setCharset($charset) { @@ -197,7 +193,6 @@ class Export extends ImportExport * @param string $packager_username Backend Username of the packager (the guy making the export) * @param string $packager_name Real name of the packager * @param string $packager_email Email of the packager - * @return void */ public function setMetaData($title, $description, $notes, $packager_username, $packager_name, $packager_email) { @@ -272,7 +267,6 @@ class Export extends ImportExport * * @param array $recordTypesIncludeFields Keys are [recordname], values are an array of fields to be included in the export * @throws Exception if an array value is not type of array - * @return void */ public function setRecordTypesIncludeFields(array $recordTypesIncludeFields) { @@ -289,7 +283,6 @@ class Export extends ImportExport * * @param string $table The record type * @param array $fields The fields to be included - * @return void */ public function setRecordTypeIncludeFields($table, array $fields) { @@ -303,7 +296,6 @@ class Export extends ImportExport * @param string $table Table name * @param array $row Record row. * @param int $relationLevel (Internal) if the record is added as a relation, this is set to the "level" it was on. - * @return void */ public function export_addRecord($table, $row, $relationLevel = 0) { @@ -538,7 +530,6 @@ class Export extends ImportExport * @param array $fI Array with table/id keys to add * @param array $addR Add array, passed by reference to be modified * @param string $tokenID Softref Token ID, if applicable. - * @return void * @see export_addDBRelations() */ public function export_addDBRelations_registerRelation($fI, &$addR, $tokenID = '') @@ -559,7 +550,6 @@ class Export extends ImportExport * This adds all files in relations. * Call this method AFTER adding all records including relations. * - * @return void * @see export_addDBRelations() */ public function export_addFilesFromRelations() @@ -650,8 +640,6 @@ class Export extends ImportExport /** * This adds all files from sys_file records - * - * @return void */ public function export_addFilesFromSysFilesRecords() { @@ -669,7 +657,6 @@ class Export extends ImportExport * Adds a files content from a sys file record to the export memory * * @param File $file - * @return void */ public function export_addSysFile(File $file) { @@ -729,7 +716,6 @@ class Export extends ImportExport * @param array $fI File information with three keys: "filename" = filename without path, "ID_absFile" = absolute filepath to the file (including the filename), "ID" = md5 hash of "ID_absFile". "relFileName" is optional for files attached to records, but mandatory for soft referenced files (since the relFileName determines where such a file should be stored!) * @param string $recordRef If the file is related to a record, this is the id on the form [table]:[id]. Information purposes only. * @param string $fieldname If the file is related to a record, this is the field name it was related to. Information purposes only. - * @return void */ public function export_addFile($fI, $recordRef = '', $fieldname = '') { diff --git a/typo3/sysext/impexp/Classes/Hook/BackendControllerHook.php b/typo3/sysext/impexp/Classes/Hook/BackendControllerHook.php index 1982fb8691c5..376f253c3cc3 100644 --- a/typo3/sysext/impexp/Classes/Hook/BackendControllerHook.php +++ b/typo3/sysext/impexp/Classes/Hook/BackendControllerHook.php @@ -29,7 +29,6 @@ class BackendControllerHook * * @param array $configuration * @param BackendController $backendController - * @return void */ public function addJavaScript(array $configuration, BackendController $backendController) { diff --git a/typo3/sysext/impexp/Classes/Import.php b/typo3/sysext/impexp/Classes/Import.php index 5c9428ad792e..83ef4315f591 100644 --- a/typo3/sysext/impexp/Classes/Import.php +++ b/typo3/sysext/impexp/Classes/Import.php @@ -112,8 +112,6 @@ class Import extends ImportExport /** * Init the object - * - * @return void */ public function init() { @@ -127,8 +125,6 @@ class Import extends ImportExport /** * Initialize all settings for the import - * - * @return void */ protected function initializeImport() { @@ -149,8 +145,6 @@ class Import extends ImportExport /** * Initialize the all present storage objects - * - * @return void */ protected function initializeStorageObjects() { @@ -163,7 +157,6 @@ class Import extends ImportExport * Imports the internal data array to $pid. * * @param int $pid Page ID in which to import the content - * @return void */ public function importData($pid) { @@ -190,8 +183,6 @@ class Import extends ImportExport /** * Imports the sys_file_storage records from internal data array. - * - * @return void */ protected function writeSysFileStorageRecords() { @@ -341,8 +332,6 @@ class Import extends ImportExport /** * Imports the sys_file records and the binary files data from internal data array. - * - * @return void */ protected function writeSysFileRecords() { @@ -468,8 +457,6 @@ class Import extends ImportExport /** * Removes all sys_file_reference records from the import data array that are pointing to sys_file records which * are missing not in the import data to prevent exceptions on checking the related file started by the Datahandler. - * - * @return void */ protected function removeSysFileReferenceRecordsFromImportDataWithRelationToMissingFile() { @@ -515,7 +502,6 @@ class Import extends ImportExport * * @param int $oldFileUid * @param int $newFileUid - * @return void */ protected function fixUidLocalInSysFileReferenceRecords($oldFileUid, $newFileUid) { @@ -587,7 +573,6 @@ class Import extends ImportExport * Writing pagetree/pages to database: * * @param int $pid PID in which to import. If the operation is an update operation, the root of the page tree inside will be moved to this PID unless it is the same as the root page from the import - * @return void * @see writeRecords_records() */ public function writeRecords_pages($pid) @@ -642,7 +627,6 @@ class Import extends ImportExport * Organize all updated pages in page tree so they are related like in the import file * Only used for updates and when $this->dat['header']['pagetree'] is an array. * - * @return void * @access private * @see writeRecords_pages(), writeRecords_records_order() */ @@ -706,7 +690,6 @@ class Import extends ImportExport * Write all database records except pages (writtein in writeRecords_pages()) * * @param int $pid Page id in which to import - * @return void * @see writeRecords_pages() */ public function writeRecords_records($pid) @@ -767,7 +750,6 @@ class Import extends ImportExport * Only used for updates * * @param int $mainPid Main PID into which we import. - * @return void * @access private * @see writeRecords_records(), writeRecords_pages_order() */ @@ -822,7 +804,6 @@ class Import extends ImportExport * @param string $table Table name (from import memory) * @param int $uid Record UID (from import memory) * @param int $pid Page id - * @return void * @see writeRecords() */ public function addSingle($table, $uid, $pid) @@ -934,7 +915,6 @@ class Import extends ImportExport * Registers the substNEWids in memory. * * @param array $substNEWwithIDs From DataHandler to be merged into internal mapping variable in this object - * @return void * @see writeRecords() */ public function addToMapId($substNEWwithIDs) @@ -975,8 +955,6 @@ class Import extends ImportExport /** * Cleaning up all the temporary files stored in typo3temp/ folder - * - * @return void */ public function unlinkTempFiles() { @@ -1003,7 +981,6 @@ class Import extends ImportExport * to imported records are all re-created so imported records are correctly related again) * Relations in flexform fields are processed in setFlexFormRelations() after this function * - * @return void * @see setFlexFormRelations() */ public function setRelations() @@ -1155,7 +1132,6 @@ class Import extends ImportExport * After all DB relations has been set in the end of the import (see setRelations()) then it is time to correct all relations inside of FlexForm fields. * The reason for doing this after is that the setting of relations may affect (quite often!) which data structure is used for the flexforms field! * - * @return void * @see setRelations() */ public function setFlexFormRelations() @@ -1275,8 +1251,6 @@ class Import extends ImportExport /** * Processing of soft references - * - * @return void */ public function processSoftReferences() { @@ -1796,7 +1770,6 @@ class Import extends ImportExport * (This function can be used to test the output strings from ->compileMemoryToFileContent()) * * @param string $filecontent File content - * @return void */ public function loadContent($filecontent) { @@ -1846,8 +1819,6 @@ class Import extends ImportExport /** * Setting up the object based on the recently loaded ->dat array - * - * @return void */ public function loadInit() { diff --git a/typo3/sysext/impexp/Classes/ImportExport.php b/typo3/sysext/impexp/Classes/ImportExport.php index 588cbb3b9821..7388b25a4212 100644 --- a/typo3/sysext/impexp/Classes/ImportExport.php +++ b/typo3/sysext/impexp/Classes/ImportExport.php @@ -275,8 +275,6 @@ abstract class ImportExport /** * Init the object, both import and export - * - * @return void */ public function init() { @@ -357,7 +355,6 @@ abstract class ImportExport * @param array $pT Page tree array with uid/subrow (from ->dat[header][pagetree] * @param array $lines Output lines array (is passed by reference and modified) * @param string $preCode Pre-HTML code - * @return void */ public function traversePageTree($pT, &$lines, $preCode = '') { @@ -408,7 +405,6 @@ abstract class ImportExport * * @param int $pageUid Uid of the page to exclude * @param array $pageTree Page tree array with uid/subrow (from ->dat[header][pagetree] - * @return void */ protected function excludePageAndRecords($pageUid, $pageTree) { @@ -439,7 +435,6 @@ abstract class ImportExport * * @param array $pT Page tree array with uid/subrow (from ->dat[header][pagetree] * @param array $lines Output lines array (is passed by reference and modified) - * @return void */ public function traversePageRecords($pT, &$lines) { @@ -464,7 +459,6 @@ abstract class ImportExport * * @param array $pT Page tree array with uid/subrow (from ->dat[header][pagetree] * @param array $lines Output lines array (is passed by reference and modified) - * @return void */ public function traverseAllRecords($pT, &$lines) { @@ -483,7 +477,6 @@ abstract class ImportExport * Log general error message for a given table * * @param string $table database table name - * @return void */ protected function addGeneralErrorsByTable($table) { @@ -503,7 +496,6 @@ abstract class ImportExport * @param array $lines Output lines array (is passed by reference and modified) * @param string $preCode Pre-HTML code * @param bool $checkImportInPidRecord If you want import validation, you can set this so it checks if the import can take place on the specified page. - * @return void */ public function singleRecordLines($table, $uid, &$lines, $preCode, $checkImportInPidRecord = false) { @@ -670,7 +662,6 @@ abstract class ImportExport * @param string $preCode Pre-HTML code * @param array $recurCheck Recursivity check stack * @param string $htmlColorClass Alternative HTML color class to use. - * @return void * @access private * @see singleRecordLines() */ @@ -735,7 +726,6 @@ abstract class ImportExport * @param string $preCode Pre-HTML code * @param string $htmlColorClass Alternative HTML color class to use. * @param string $tokenID Token ID if this is a softreference (in which case it only makes sense with a single element in the $rels array!) - * @return void * @access private * @see singleRecordLines() */ @@ -966,7 +956,6 @@ abstract class ImportExport *****************************/ /** - * * @return string */ protected function getTemporaryFolderName() @@ -1224,7 +1213,6 @@ abstract class ImportExport * * @param string $name Name of the hook * @param array $params Array with params - * @return void */ public function callHook($name, $params) { @@ -1256,7 +1244,6 @@ abstract class ImportExport * Sets error message in the internal error log * * @param string $msg Error message - * @return void */ public function error($msg) { diff --git a/typo3/sysext/impexp/Classes/Utility/ImportExportUtility.php b/typo3/sysext/impexp/Classes/Utility/ImportExportUtility.php index 390ee77157e1..43cdea20c644 100644 --- a/typo3/sysext/impexp/Classes/Utility/ImportExportUtility.php +++ b/typo3/sysext/impexp/Classes/Utility/ImportExportUtility.php @@ -22,7 +22,6 @@ use TYPO3\CMS\Impexp\Import; /** * Utility for import / export * Can be used for API access for simple importing of files - * */ class ImportExportUtility { diff --git a/typo3/sysext/impexp/Tests/Functional/Export/AbstractExportTestCase.php b/typo3/sysext/impexp/Tests/Functional/Export/AbstractExportTestCase.php index ae5e92bcb85e..ba13baef898d 100644 --- a/typo3/sysext/impexp/Tests/Functional/Export/AbstractExportTestCase.php +++ b/typo3/sysext/impexp/Tests/Functional/Export/AbstractExportTestCase.php @@ -48,8 +48,6 @@ abstract class AbstractExportTestCase extends \TYPO3\TestingFramework\Core\Funct /** * Set up for set up the backend user, initialize the language object * and creating the Export instance - * - * @return void */ protected function setUp() { @@ -69,7 +67,6 @@ abstract class AbstractExportTestCase extends \TYPO3\TestingFramework\Core\Funct * * @param int $pidToStart * @param int $depth - * @return void */ protected function setPageTree($pidToStart, $depth = 1) { @@ -97,7 +94,6 @@ abstract class AbstractExportTestCase extends \TYPO3\TestingFramework\Core\Funct * * @param int $pid Page id for which to select records to add * @param array $tables Array of table names to select from - * @return void */ protected function addRecordsForPid($pid, array $tables) { diff --git a/typo3/sysext/impexp/Tests/Functional/Import/AbstractImportTestCase.php b/typo3/sysext/impexp/Tests/Functional/Import/AbstractImportTestCase.php index 234a66fcb425..eec6d7911242 100644 --- a/typo3/sysext/impexp/Tests/Functional/Import/AbstractImportTestCase.php +++ b/typo3/sysext/impexp/Tests/Functional/Import/AbstractImportTestCase.php @@ -47,8 +47,6 @@ abstract class AbstractImportTestCase extends \TYPO3\CMS\Core\Tests\Functional\D /** * Set up for initialization of the Import instance - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/indexed_search/Classes/Controller/AdministrationController.php b/typo3/sysext/indexed_search/Classes/Controller/AdministrationController.php index 603db6989c36..1904900ae4cf 100644 --- a/typo3/sysext/indexed_search/Classes/Controller/AdministrationController.php +++ b/typo3/sysext/indexed_search/Classes/Controller/AdministrationController.php @@ -146,8 +146,6 @@ class AdministrationController extends ActionController /** * Function will be called before every other action - * - * @return void */ public function initializeAction() { @@ -200,7 +198,6 @@ class AdministrationController extends ActionController /** * @param \TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository $administrationRepository - * @return void */ public function injectAdministrationRepository(AdministrationRepository $administrationRepository) { @@ -209,8 +206,6 @@ class AdministrationController extends ActionController /** * Index action contains the most important statistics - * - * @return void */ public function indexAction() { @@ -238,8 +233,6 @@ class AdministrationController extends ActionController /** * Statistics for pages - * - * @return void */ public function pagesAction() { @@ -248,8 +241,6 @@ class AdministrationController extends ActionController /** * Statistics for external documents - * - * @return void */ public function externalDocumentsAction() { @@ -260,7 +251,6 @@ class AdministrationController extends ActionController * Statistics for a given page hash * * @param int $pageHash - * @return void */ public function statisticDetailsAction($pageHash = 0) { @@ -441,7 +431,6 @@ class AdministrationController extends ActionController * @param int $pageId * @param array $stopwords * @param array $keywords - * @return void */ public function saveStopwordsKeywordsAction($pageHash, $pageId, $stopwords = [], $keywords = []) { @@ -462,7 +451,6 @@ class AdministrationController extends ActionController * * @param int $id * @param int $pageHash - * @return void */ public function wordDetailAction($id = 0, $pageHash = 0) { @@ -501,7 +489,6 @@ class AdministrationController extends ActionController * * @param int $depth * @param string $mode - * @return void */ public function statisticAction($depth = 1, $mode = 'overview') { @@ -533,7 +520,6 @@ class AdministrationController extends ActionController * @param string $id * @param int $depth * @param string $mode - * @return void */ public function deleteIndexedItemAction($id, $depth = 1, $mode = 'overview') { diff --git a/typo3/sysext/indexed_search/Classes/Controller/SearchController.php b/typo3/sysext/indexed_search/Classes/Controller/SearchController.php index 454ca48dd935..8e92952ea2ac 100644 --- a/typo3/sysext/indexed_search/Classes/Controller/SearchController.php +++ b/typo3/sysext/indexed_search/Classes/Controller/SearchController.php @@ -243,7 +243,6 @@ class SearchController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControlle * Performs the search, the display and writing stats * * @param array $search the search parameters, an associative array - * @return void * @ignorevalidation $search */ public function searchAction($search = []) @@ -799,7 +798,6 @@ class SearchController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControlle * @param array $searchWords Search Word array * @param int $count Number of hits * @param int $pt Milliseconds the search took - * @return void */ protected function writeSearchStat($searchParams, $searchWords, $count, $pt) { @@ -934,7 +932,6 @@ class SearchController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControlle * Sort options about the search form * * @param array $search The search data / params - * @return void * @ignorevalidation $search */ public function formAction($search = []) @@ -1452,8 +1449,6 @@ class SearchController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControlle /** * simple function to initialize possible external parsers * feeds the $this->externalParsers array - * - * @return void */ protected function initializeExternalParsers() { diff --git a/typo3/sysext/indexed_search/Classes/Domain/Repository/AdministrationRepository.php b/typo3/sysext/indexed_search/Classes/Domain/Repository/AdministrationRepository.php index 29f73c9645cf..0986685337b9 100644 --- a/typo3/sysext/indexed_search/Classes/Domain/Repository/AdministrationRepository.php +++ b/typo3/sysext/indexed_search/Classes/Domain/Repository/AdministrationRepository.php @@ -434,7 +434,6 @@ class AdministrationRepository * Add additional information to the result row * * @param array $row - * @return void */ protected function addAdditionalInformation(array &$row) { @@ -666,7 +665,6 @@ class AdministrationRepository * @param string $phashList * @param int $pageId * @param int $depth - * @return void */ public function removeIndexedPhashRow($phashList, $pageId, $depth = 4) { @@ -728,7 +726,6 @@ class AdministrationRepository * Save stop words * * @param array $words stop words - * @return void */ public function saveStopWords(array $words) { @@ -752,7 +749,6 @@ class AdministrationRepository * * @param array $words keywords * @param int $pageId page id - * @return void */ public function saveKeywords(array $words, $pageId) { diff --git a/typo3/sysext/indexed_search/Classes/Domain/Repository/IndexSearchRepository.php b/typo3/sysext/indexed_search/Classes/Domain/Repository/IndexSearchRepository.php index 5ea0f5e3126f..d28289a6fb12 100644 --- a/typo3/sysext/indexed_search/Classes/Domain/Repository/IndexSearchRepository.php +++ b/typo3/sysext/indexed_search/Classes/Domain/Repository/IndexSearchRepository.php @@ -169,7 +169,6 @@ class IndexSearchRepository * @param array $searchData the search data * @param array $externalParsers * @param string $searchRootPageIdList - * @return void */ public function initialize($settings, $searchData, $externalParsers, $searchRootPageIdList) { diff --git a/typo3/sysext/indexed_search/Classes/Example/CrawlerHook.php b/typo3/sysext/indexed_search/Classes/Example/CrawlerHook.php index 1c73a5f1bc71..58203f572fd2 100644 --- a/typo3/sysext/indexed_search/Classes/Example/CrawlerHook.php +++ b/typo3/sysext/indexed_search/Classes/Example/CrawlerHook.php @@ -41,7 +41,6 @@ class CrawlerHook * @param array $session_data Session data variable. Passed by reference. Changed content is saved and passed back upon next instance in the session. * @param array $params Params array from the queue entry. * @param \TYPO3\CMS\IndexedSearch\Hook\CrawlerHook $pObj Parent Object (from "indexed_search" extension) - * @return void */ public function indexOperation($cfgRec, &$session_data, $params, &$pObj) { diff --git a/typo3/sysext/indexed_search/Classes/Example/PluginHook.php b/typo3/sysext/indexed_search/Classes/Example/PluginHook.php index 72ff3fdb1264..926b1fdd97be 100644 --- a/typo3/sysext/indexed_search/Classes/Example/PluginHook.php +++ b/typo3/sysext/indexed_search/Classes/Example/PluginHook.php @@ -37,8 +37,6 @@ class PluginHook * * This hook is activated by this key / value pair in ext_localconf.php * 'initialize_postProc' => \TYPO3\CMS\IndexedSearch\Example\PluginHook::class, - * - * @return void */ public function initialize_postProc() { diff --git a/typo3/sysext/indexed_search/Classes/FileContentParser.php b/typo3/sysext/indexed_search/Classes/FileContentParser.php index 5a222a92866f..d5b0e9fc8655 100644 --- a/typo3/sysext/indexed_search/Classes/FileContentParser.php +++ b/typo3/sysext/indexed_search/Classes/FileContentParser.php @@ -707,7 +707,6 @@ class FileContentParser * * @staticvar string $lastLocale Stores the locale used before it is overridden by this method. * @param bool $resetLocale TRUE resets the locale to $lastLocale. - * @return void * @throws \RuntimeException */ protected function setLocaleForServerFileSystem($resetLocale = false) diff --git a/typo3/sysext/indexed_search/Classes/Hook/CrawlerHook.php b/typo3/sysext/indexed_search/Classes/Hook/CrawlerHook.php index fd493a191051..05bc79674321 100644 --- a/typo3/sysext/indexed_search/Classes/Hook/CrawlerHook.php +++ b/typo3/sysext/indexed_search/Classes/Hook/CrawlerHook.php @@ -64,7 +64,6 @@ class CrawlerHook * In reality we select indexing configurations and evaluate if any of them needs to run. * * @param object $pObj Parent object (tx_crawler lib) - * @return void */ public function crawler_init(&$pObj) { @@ -262,7 +261,6 @@ class CrawlerHook * @param array $session_data Session data for the indexing session spread over multiple instances of the script. Passed by reference so changes hereto will be saved for the next call! * @param array $params Parameters from the log queue. * @param object $pObj Parent object (from "crawler" extension!) - * @return void */ public function crawler_execute_type1($cfgRec, &$session_data, $params, &$pObj) { @@ -328,7 +326,6 @@ class CrawlerHook * @param array $session_data Session data for the indexing session spread over multiple instances of the script. Passed by reference so changes hereto will be saved for the next call! * @param array $params Parameters from the log queue. * @param object $pObj Parent object (from "crawler" extension!) - * @return void */ public function crawler_execute_type2($cfgRec, &$session_data, $params, &$pObj) { @@ -390,7 +387,6 @@ class CrawlerHook * @param array $session_data Session data for the indexing session spread over multiple instances of the script. Passed by reference so changes hereto will be saved for the next call! * @param array $params Parameters from the log queue. * @param object $pObj Parent object (from "crawler" extension!) - * @return void */ public function crawler_execute_type3($cfgRec, &$session_data, $params, &$pObj) { @@ -431,7 +427,6 @@ class CrawlerHook * @param array $session_data Session data for the indexing session spread over multiple instances of the script. Passed by reference so changes hereto will be saved for the next call! * @param array $params Parameters from the log queue. * @param object $pObj Parent object (from "crawler" extension!) - * @return void */ public function crawler_execute_type4($cfgRec, &$session_data, $params, &$pObj) { @@ -491,8 +486,6 @@ class CrawlerHook /** * Look up all old index configurations which are finished and needs to be reset and done - * - * @return void */ public function cleanUpOldRunningConfigurations() { @@ -661,7 +654,6 @@ class CrawlerHook * @param array $r Record to index * @param array $cfgRec Configuration Record * @param array $rl Rootline array to relate indexing to - * @return void */ public function indexSingleRecord($r, $cfgRec, $rl = null) { @@ -762,7 +754,6 @@ class CrawlerHook * * @param array $cfgRec Configuration record * @param string $title Title/URL - * @return void */ public function addQueueEntryForHook($cfgRec, $title) { @@ -779,7 +770,6 @@ class CrawlerHook * Deletes all data stored by indexed search for a given page * * @param int $id Uid of the page to delete all pHash - * @return void */ public function deleteFromIndex($id) { @@ -840,7 +830,6 @@ class CrawlerHook * @param string $id Record ID. If new record its a string pointing to index inside \TYPO3\CMS\Core\DataHandling\DataHandler::substNEWwithIDs * @param mixed $value Target value (ignored) * @param DataHandler $pObj DataHandler calling object - * @return void */ public function processCmdmap_preProcess($command, $table, $id, $value, $pObj) { @@ -858,7 +847,6 @@ class CrawlerHook * @param string $id Record ID. If new record its a string pointing to index inside \TYPO3\CMS\Core\DataHandling\DataHandler::substNEWwithIDs * @param array $fieldArray Field array of updated fields in the operation * @param DataHandler $pObj DataHandler calling object - * @return void */ public function processDatamap_afterDatabaseOperations($status, $table, $id, $fieldArray, $pObj) { diff --git a/typo3/sysext/indexed_search/Classes/Hook/TypoScriptFrontendHook.php b/typo3/sysext/indexed_search/Classes/Hook/TypoScriptFrontendHook.php index 9ba0d221b84a..ffc7da453f6d 100644 --- a/typo3/sysext/indexed_search/Classes/Hook/TypoScriptFrontendHook.php +++ b/typo3/sysext/indexed_search/Classes/Hook/TypoScriptFrontendHook.php @@ -26,7 +26,6 @@ class TypoScriptFrontendHook * * @param array $params Parameters from frontend * @param TypoScriptFrontendController $ref TSFE object - * @return void */ public function headerNoCache(array &$params, $ref) { diff --git a/typo3/sysext/indexed_search/Classes/Indexer.php b/typo3/sysext/indexed_search/Classes/Indexer.php index 8d2fc6a44206..27532856ac52 100644 --- a/typo3/sysext/indexed_search/Classes/Indexer.php +++ b/typo3/sysext/indexed_search/Classes/Indexer.php @@ -247,7 +247,6 @@ class Indexer * Parent Object (TSFE) Initialization * * @param TypoScriptFrontendController $pObj Parent Object, passed by reference - * @return void */ public function hook_indexContent(&$pObj) { @@ -349,7 +348,6 @@ class Indexer * @param array $uidRL Rootline array of only UIDs. * @param array $cHash_array Array of GET variables to register with this indexing * @param bool $createCHash If set, calculates a cHash value from the $cHash_array. Probably you will not do that since such cases are indexed through the frontend and the idea of this interface is to index non-cacheable pages from the backend! - * @return void */ public function backend_initIndexer($id, $type, $sys_language_uid, $MP, $uidRL, $cHash_array = [], $createCHash = false) { @@ -399,7 +397,6 @@ class Indexer * * @param int $freeIndexUid Free index UID * @param int $freeIndexSetId Set id - an integer identifying the "set" of indexing operations. - * @return void */ public function backend_setFreeIndexUid($freeIndexUid, $freeIndexSetId = 0) { @@ -418,7 +415,6 @@ class Indexer * @param int $mtime Last modification time, in seconds * @param int $crdate The creation date of the content, in seconds * @param int $recordUid The record UID that the content comes from (for registration with the indexed rows) - * @return void */ public function backend_indexAsTYPO3Page($title, $keywords, $description, $content, $charset, $mtime, $crdate = 0, $recordUid = 0) { @@ -458,8 +454,6 @@ class Indexer *******************************/ /** * Initializes the object. $this->conf MUST be set with proper values prior to this call!!! - * - * @return void */ public function init() { @@ -505,7 +499,6 @@ class Indexer /** * Initialize external parsers * - * @return void * @access private * @see init() */ @@ -530,8 +523,6 @@ class Indexer *******************************/ /** * Start indexing of the TYPO3 page - * - * @return void */ public function indexTypo3PageContent() { @@ -759,7 +750,6 @@ class Indexer * Extract links (hrefs) from HTML content and if indexable media is found, it is indexed. * * @param string $content HTML content - * @return void */ public function extractLinks($content) { @@ -897,7 +887,6 @@ class Indexer * Index External URLs HTML content * * @param string $externalUrl URL, eg. "http://typo3.org/ - * @return void * @see indexRegularDocument() */ public function indexExternalUrl($externalUrl) @@ -1115,7 +1104,6 @@ class Indexer * @param bool $force If set, indexing is forced (despite content hashes, mtime etc). * @param string $contentTmpFile Temporary file with the content to read it from (instead of $file). Used when the $file is a URL. * @param string $altExtension File extension for temporary file. - * @return void */ public function indexRegularDocument($file, $force = false, $contentTmpFile = '', $altExtension = '') { @@ -1275,7 +1263,6 @@ class Indexer * * @param array $contentArr Standard content array * @param string $charset Charset of the input content (converted to utf-8) - * @return void */ public function charsetEntity2utf8(&$contentArr, $charset) { @@ -1352,7 +1339,6 @@ class Indexer * @param array $content Standard content array * @param string $key Key from standard content array * @param int $offset Bit-wise priority to type - * @return void */ public function analyzeHeaderinfo(&$retArr, $content, $key, $offset) { @@ -1383,7 +1369,6 @@ class Indexer * * @param array $retArr Index array, passed by reference * @param array $content Standard content array - * @return void */ public function analyzeBody(&$retArr, $content) { @@ -1442,8 +1427,6 @@ class Indexer *******************************/ /** * Updates db with information about the page (TYPO3 page, not external media) - * - * @return void */ public function submitPage() { @@ -1530,7 +1513,6 @@ class Indexer * * @param int $hash Search result record phash * @param int $phash_x Actual phash of current content - * @return void * @see update_grlist() */ public function submit_grlist($hash, $phash_x) @@ -1555,7 +1537,6 @@ class Indexer * * @param int $hash phash of TYPO3 parent search result record * @param int $hash_t3 phash of the file indexation search record - * @return void */ public function submit_section($hash, $hash_t3) { @@ -1576,7 +1557,6 @@ class Indexer * Removes records for the indexed page, $phash * * @param int $phash phash value to flush - * @return void */ public function removeOldIndexedPages($phash) { @@ -1616,7 +1596,6 @@ class Indexer * @param int $size Size of file in bytes * @param int $content_md5h Content HASH value. * @param array $contentParts Standard content array (using only title and body for a file) - * @return void */ public function submitFilePage($hash, $file, $subinfo, $ext, $mtime, $ctime, $size, $content_md5h, $contentParts) { @@ -1695,7 +1674,6 @@ class Indexer * Stores file gr_list for a file IF it does not exist already * * @param int $hash phash value of file - * @return void */ public function submitFile_grlist($hash) { @@ -1742,7 +1720,6 @@ class Indexer * Stores file section for a file IF it does not exist * * @param int $hash phash value of file - * @return void */ public function submitFile_section($hash) { @@ -1777,7 +1754,6 @@ class Indexer * Removes records for the indexed page, $phash * * @param int $phash phash value to flush - * @return void */ public function removeOldIndexedFiles($phash) { @@ -1950,7 +1926,6 @@ class Indexer * * @param int $phash phash of the search result that should be found * @param int $phash_x The real phash of the current content. The two values are different when a page with userlogin turns out to contain the exact same content as another already indexed version of the page; This is the whole reason for the grlist table in fact... - * @return void * @see submit_grlist() */ public function update_grlist($phash, $phash_x) @@ -1979,7 +1954,6 @@ class Indexer * * @param int $phash phash value * @param int $mtime If set, update the mtime field to this value. - * @return void */ public function updateTstamp($phash, $mtime = 0) { @@ -2010,7 +1984,6 @@ class Indexer * Update SetID of the index_phash record. * * @param int $phash phash value - * @return void */ public function updateSetId($phash) { @@ -2036,7 +2009,6 @@ class Indexer * * @param int $phash phash value. * @param int $parsetime Parsetime value to set. - * @return void */ public function updateParsetime($phash, $parsetime) { @@ -2059,8 +2031,6 @@ class Indexer /** * Update section rootline for the page - * - * @return void */ public function updateRootline() { @@ -2087,7 +2057,6 @@ class Indexer * rl0, rl1 and rl2 are standard. A hook might add more. * * @param array $fieldArray Field array, passed by reference - * @return void */ public function getRootLineFields(array &$fieldArray) { @@ -2104,7 +2073,6 @@ class Indexer /** * Includes the crawler class * - * @return void * @deprecated since TYPO3 v8, will be removed in TYPO3 v9, autoloader is taking care of that functionality */ public function includeCrawlerClass() @@ -2122,7 +2090,6 @@ class Indexer * Adds new words to db * * @param array $wordListArray Word List array (where each word has information about position etc). - * @return void */ public function checkWordList($wordListArray) { @@ -2185,7 +2152,6 @@ class Indexer * * @param array $wordList Word list array * @param int $phash phash value - * @return void */ public function submitWords($wordList, $phash) { @@ -2254,8 +2220,6 @@ class Indexer *******************************/ /** * Get search hash, T3 pages - * - * @return void */ public function setT3Hashes() { @@ -2306,7 +2270,6 @@ class Indexer * * @param string $msg Title to set * @param string $key Key (?) - * @return void */ public function log_push($msg, $key) { @@ -2315,8 +2278,6 @@ class Indexer /** * Pull function wrapper for TT logging - * - * @return void */ public function log_pull() { @@ -2328,7 +2289,6 @@ class Indexer * * @param string $msg Message to set * @param int $errorNum Error number - * @return void */ public function log_setTSlogMessage($msg, $errorNum = 0) { diff --git a/typo3/sysext/indexed_search/Classes/Lexer.php b/typo3/sysext/indexed_search/Classes/Lexer.php index 786247b02cf4..6bb8328b55c5 100644 --- a/typo3/sysext/indexed_search/Classes/Lexer.php +++ b/typo3/sysext/indexed_search/Classes/Lexer.php @@ -56,7 +56,6 @@ class Lexer /** * Constructor: Initializes the charset class - * */ public function __construct() { @@ -112,7 +111,6 @@ class Lexer * @param string $wordString Complete Input string from where to extract word * @param int $start Start position of word in input string * @param int $len The Length of the word string from start position - * @return void */ public function addWords(&$words, &$wordString, $start, $len) { diff --git a/typo3/sysext/indexed_search/Classes/ViewHelpers/Format/FlagValueViewHelper.php b/typo3/sysext/indexed_search/Classes/ViewHelpers/Format/FlagValueViewHelper.php index d036aed591e6..a0a50130bb84 100644 --- a/typo3/sysext/indexed_search/Classes/ViewHelpers/Format/FlagValueViewHelper.php +++ b/typo3/sysext/indexed_search/Classes/ViewHelpers/Format/FlagValueViewHelper.php @@ -27,7 +27,6 @@ class FlagValueViewHelper extends AbstractViewHelper /** * Sets up the needed arguments for this View Helper. - * @return void */ public function initializeArguments() { diff --git a/typo3/sysext/info/Classes/Controller/InfoModuleController.php b/typo3/sysext/info/Classes/Controller/InfoModuleController.php index a3a6a1ff4fe4..24d2bc10486d 100644 --- a/typo3/sysext/info/Classes/Controller/InfoModuleController.php +++ b/typo3/sysext/info/Classes/Controller/InfoModuleController.php @@ -82,8 +82,6 @@ class InfoModuleController extends BaseScriptClass /** * Initialize module header etc and call extObjContent function - * - * @return void */ public function main() { diff --git a/typo3/sysext/info_pagetsconfig/Classes/Controller/InfoPageTyposcriptConfigController.php b/typo3/sysext/info_pagetsconfig/Classes/Controller/InfoPageTyposcriptConfigController.php index 7418c96d75bd..5a1fdd505028 100644 --- a/typo3/sysext/info_pagetsconfig/Classes/Controller/InfoPageTyposcriptConfigController.php +++ b/typo3/sysext/info_pagetsconfig/Classes/Controller/InfoPageTyposcriptConfigController.php @@ -267,7 +267,6 @@ class InfoPageTyposcriptConfigController extends \TYPO3\CMS\Backend\Module\Abstr * @param array $hierarchicArray The hierarchic array (passed by reference) * @param array $rootlineArray The rootline array * @param array $row The row from the database containing the uid and TSConfig fields - * @return void */ protected function setInPageArray(&$hierarchicArray, $rootlineArray, $row) { diff --git a/typo3/sysext/install/Classes/Configuration/AbstractCustomPreset.php b/typo3/sysext/install/Classes/Configuration/AbstractCustomPreset.php index 3d3f1152d00b..38e8226f7b70 100644 --- a/typo3/sysext/install/Classes/Configuration/AbstractCustomPreset.php +++ b/typo3/sysext/install/Classes/Configuration/AbstractCustomPreset.php @@ -51,8 +51,6 @@ abstract class AbstractCustomPreset extends AbstractPreset * with other presets. * Marking the custom preset as active is therefor taken care * off by the feature itself if no other preset is active. - * - * @return void */ public function setActive() { diff --git a/typo3/sysext/install/Classes/Configuration/AbstractFeature.php b/typo3/sysext/install/Classes/Configuration/AbstractFeature.php index f9c3b2cdbdfc..2cb8e4b65fa6 100644 --- a/typo3/sysext/install/Classes/Configuration/AbstractFeature.php +++ b/typo3/sysext/install/Classes/Configuration/AbstractFeature.php @@ -45,7 +45,6 @@ abstract class AbstractFeature * Initialize presets of feature * * @param array $postValues List of $POST values of this feature - * @return void * @throws Exception */ public function initializePresets(array $postValues) diff --git a/typo3/sysext/install/Classes/Configuration/CustomPresetInterface.php b/typo3/sysext/install/Classes/Configuration/CustomPresetInterface.php index 6298e7156718..5277a2040e7a 100644 --- a/typo3/sysext/install/Classes/Configuration/CustomPresetInterface.php +++ b/typo3/sysext/install/Classes/Configuration/CustomPresetInterface.php @@ -31,8 +31,6 @@ interface CustomPresetInterface extends PresetInterface * with other presets. * Marking the custom preset as active is therefor taken care * off by the feature itself if no other preset is active. - * - * @return void */ public function setActive(); } diff --git a/typo3/sysext/install/Classes/Configuration/FeatureInterface.php b/typo3/sysext/install/Classes/Configuration/FeatureInterface.php index f8653e76ae1b..29a6a3758597 100644 --- a/typo3/sysext/install/Classes/Configuration/FeatureInterface.php +++ b/typo3/sysext/install/Classes/Configuration/FeatureInterface.php @@ -23,7 +23,6 @@ interface FeatureInterface * Initialize presets * * @param array $postValues List of $POST values of this feature - * @return void */ public function initializePresets(array $postValues); diff --git a/typo3/sysext/install/Classes/Controller/AbstractController.php b/typo3/sysext/install/Classes/Controller/AbstractController.php index d3d6f7bbe17c..b256ed4d09d4 100644 --- a/typo3/sysext/install/Classes/Controller/AbstractController.php +++ b/typo3/sysext/install/Classes/Controller/AbstractController.php @@ -52,8 +52,6 @@ class AbstractController * Checking ENABLE_INSTALL_TOOL validity is simple: * As soon as there is a typo3conf directory at all (not step 1 of "first install"), * the file must be there and valid in order to proceed. - * - * @return void */ protected function outputInstallToolNotEnabledMessageIfNeeded() { @@ -95,7 +93,6 @@ class AbstractController * Use form protection API to find out if protected POST forms are ok. * * @throws Exception - * @return void */ protected function checkSessionToken() { @@ -130,7 +127,6 @@ class AbstractController * if in install tool, the login form is displayed. * * @param bool $tokenOk - * @return void */ protected function handleSessionTokenCheck($tokenOk) { @@ -154,8 +150,6 @@ class AbstractController /** * Check if session expired. - * - * @return void */ protected function checkSessionLifetime() { @@ -171,8 +165,6 @@ class AbstractController /** * If session expired, the current step of step controller is reloaded * (if first installation is running) - or the login form is displayed. - * - * @return void */ protected function handleSessionLifeTimeExpired() { @@ -212,8 +204,6 @@ class AbstractController /** * Validate install tool password and login user if requested - * - * @return void */ protected function loginIfRequested() { @@ -261,8 +251,6 @@ class AbstractController /** * Show login for if user is not authorized yet and if * not in first installation process. - * - * @return void */ protected function outputLoginFormIfNotAuthorized() { @@ -277,8 +265,6 @@ class AbstractController /** * If install tool login mail is set, send a mail for a successful login. - * - * @return void */ protected function sendLoginSuccessfulMail() { @@ -301,8 +287,6 @@ class AbstractController /** * If install tool login mail is set, send a mail for a failed login. - * - * @return void */ protected function sendLoginFailedMail() { @@ -376,8 +360,6 @@ class AbstractController * Initialize session object. * Subclass will throw exception if session can not be created or if * preconditions like a valid encryption key are not set. - * - * @return void */ protected function initializeSession() { @@ -404,8 +386,6 @@ class AbstractController /** * Required extbase ext_localconf * Set caching to NullBackend, install tool must not cache anything - * - * @return void */ protected function loadBaseExtensions() { @@ -493,7 +473,6 @@ class AbstractController * @param string $controller Can be set to 'tool' to redirect from step to tool controller * @param string $action Set specific action for next request, used in step controller to specify next step * @throws Exception\RedirectLoopException - * @return void */ protected function redirect($controller = '', $action = '') { diff --git a/typo3/sysext/install/Classes/Controller/Action/AbstractAction.php b/typo3/sysext/install/Classes/Controller/Action/AbstractAction.php index 63390e6bc7be..cc5372f5af59 100644 --- a/typo3/sysext/install/Classes/Controller/Action/AbstractAction.php +++ b/typo3/sysext/install/Classes/Controller/Action/AbstractAction.php @@ -70,8 +70,6 @@ abstract class AbstractAction implements ActionInterface /** * Initialize the handle action, sets up fluid stuff and assigns default variables. - * - * @return void */ protected function initializeHandle() { @@ -110,7 +108,6 @@ abstract class AbstractAction implements ActionInterface * Set form protection token * * @param string $token Form protection token - * @return void */ public function setToken($token) { @@ -121,7 +118,6 @@ abstract class AbstractAction implements ActionInterface * Set action group. Either string 'step', 'tool' or 'common' * * @param string $controller Controller name - * @return void */ public function setController($controller) { @@ -133,7 +129,6 @@ abstract class AbstractAction implements ActionInterface * only for loginForm, the action is login * * @param string $action Name of target action for forms - * @return void */ public function setAction($action) { @@ -144,7 +139,6 @@ abstract class AbstractAction implements ActionInterface * Set POST form values of install tool * * @param array $postValues - * @return void */ public function setPostValues(array $postValues) { @@ -192,8 +186,6 @@ abstract class AbstractAction implements ActionInterface * * Those actions can potentially fatal if some old extension is loaded that triggers * a fatal in ext_localconf or ext_tables code! Use only if really needed. - * - * @return void */ protected function loadExtLocalconfDatabaseAndExtTables() { diff --git a/typo3/sysext/install/Classes/Controller/Action/ActionInterface.php b/typo3/sysext/install/Classes/Controller/Action/ActionInterface.php index 8dd2033084d0..68e22e4ec687 100644 --- a/typo3/sysext/install/Classes/Controller/Action/ActionInterface.php +++ b/typo3/sysext/install/Classes/Controller/Action/ActionInterface.php @@ -30,7 +30,6 @@ interface ActionInterface * Set form protection token * * @param string $token Form protection token - * @return void */ public function setToken($token); @@ -38,7 +37,6 @@ interface ActionInterface * Set controller, Either string 'step', 'tool' or 'common' * * @param string $controller Controller name - * @return void */ public function setController($controller); @@ -47,7 +45,6 @@ interface ActionInterface * only for loginForm, the action is login * * @param string $action Name of target action for forms - * @return void */ public function setAction($action); @@ -55,7 +52,6 @@ interface ActionInterface * Set POST values * * @param array $postValues List of values submitted via POST - * @return void */ public function setPostValues(array $postValues); diff --git a/typo3/sysext/install/Classes/Controller/Action/Ajax/AbstractCoreUpdate.php b/typo3/sysext/install/Classes/Controller/Action/Ajax/AbstractCoreUpdate.php index 845550be3110..8bd0069c11b5 100644 --- a/typo3/sysext/install/Classes/Controller/Action/Ajax/AbstractCoreUpdate.php +++ b/typo3/sysext/install/Classes/Controller/Action/Ajax/AbstractCoreUpdate.php @@ -67,7 +67,6 @@ abstract class AbstractCoreUpdate extends AbstractAjaxAction /** * Initialize the handle action, sets up fluid stuff and assigns default variables. * - * @return void * @throws \TYPO3\CMS\Install\Controller\Exception */ protected function initializeHandle() diff --git a/typo3/sysext/install/Classes/Controller/Action/Ajax/ExtensionCompatibilityTester.php b/typo3/sysext/install/Classes/Controller/Action/Ajax/ExtensionCompatibilityTester.php index d202986e8fdc..fb17410fed37 100644 --- a/typo3/sysext/install/Classes/Controller/Action/Ajax/ExtensionCompatibilityTester.php +++ b/typo3/sysext/install/Classes/Controller/Action/Ajax/ExtensionCompatibilityTester.php @@ -78,8 +78,6 @@ class ExtensionCompatibilityTester extends AbstractAjaxAction /** * Delete the protocol files if they exist - * - * @return void */ protected function deleteProtocolFile() { @@ -133,7 +131,6 @@ class ExtensionCompatibilityTester extends AbstractAjaxAction * successful. * * @param array $extensions - * @return void */ protected function tryToLoadExtLocalconfAndExtTablesOfExtensions(array $extensions) { @@ -156,7 +153,6 @@ class ExtensionCompatibilityTester extends AbstractAjaxAction * * @param string $extensionKey * @param \ArrayAccess $extension - * @return void */ protected function loadExtTablesForExtension($extensionKey, array $extension) { @@ -182,7 +178,6 @@ class ExtensionCompatibilityTester extends AbstractAjaxAction * * @param string $extensionKey * @param \ArrayAccess $extension - * @return void */ protected function loadExtLocalconfForExtension($extensionKey, array $extension) { @@ -205,7 +200,6 @@ class ExtensionCompatibilityTester extends AbstractAjaxAction * the end of the file. * * @param string $extensionKey - * @return void */ protected function writeCurrentExtensionToFile($extensionKey) { @@ -220,7 +214,6 @@ class ExtensionCompatibilityTester extends AbstractAjaxAction * Removes $extensionKey from protocol file. * * @param string $extensionKey - * @return void */ protected function removeCurrentExtensionFromFile($extensionKey) { @@ -235,8 +228,6 @@ class ExtensionCompatibilityTester extends AbstractAjaxAction /** * Log last occurred error for logging. - * - * @return void */ public function logError() { diff --git a/typo3/sysext/install/Classes/Controller/Action/Ajax/TcaExtTablesCheck.php b/typo3/sysext/install/Classes/Controller/Action/Ajax/TcaExtTablesCheck.php index 5ff59976ff04..2bb5595128f5 100644 --- a/typo3/sysext/install/Classes/Controller/Action/Ajax/TcaExtTablesCheck.php +++ b/typo3/sysext/install/Classes/Controller/Action/Ajax/TcaExtTablesCheck.php @@ -48,7 +48,6 @@ class TcaExtTablesCheck extends AbstractAjaxAction /** * Initialize the handle action, sets up fluid stuff and assigns default variables. * @ToDo Refactor View Initialization for all Ajax Controllers - * @return void */ protected function initializeHandle() { diff --git a/typo3/sysext/install/Classes/Controller/Action/Ajax/TcaMigrationsCheck.php b/typo3/sysext/install/Classes/Controller/Action/Ajax/TcaMigrationsCheck.php index 96280c8fbd12..8e65459e281d 100644 --- a/typo3/sysext/install/Classes/Controller/Action/Ajax/TcaMigrationsCheck.php +++ b/typo3/sysext/install/Classes/Controller/Action/Ajax/TcaMigrationsCheck.php @@ -42,7 +42,6 @@ class TcaMigrationsCheck extends AbstractAjaxAction /** * Initialize the handle action, sets up fluid stuff and assigns default variables. * @ToDo Refactor View Initialization for all Ajax Controllers - * @return void */ protected function initializeHandle() { diff --git a/typo3/sysext/install/Classes/Controller/Action/Step/AbstractStepAction.php b/typo3/sysext/install/Classes/Controller/Action/Step/AbstractStepAction.php index 7403dcc7ed6f..9f19d3d72b79 100644 --- a/typo3/sysext/install/Classes/Controller/Action/Step/AbstractStepAction.php +++ b/typo3/sysext/install/Classes/Controller/Action/Step/AbstractStepAction.php @@ -34,7 +34,6 @@ abstract class AbstractStepAction extends \TYPO3\CMS\Install\Controller\Action\A * * @param int $current The current position * @param int $total The total number of steps - * @return void */ public function setStepsCounter($current, $total) { @@ -64,8 +63,6 @@ abstract class AbstractStepAction extends \TYPO3\CMS\Install\Controller\Action\A /** * Define the steps to the view. - * - * @return void */ protected function assignSteps() { diff --git a/typo3/sysext/install/Classes/Controller/Action/Step/DatabaseConnect.php b/typo3/sysext/install/Classes/Controller/Action/Step/DatabaseConnect.php index 75017679a725..8e964e26d28b 100644 --- a/typo3/sysext/install/Classes/Controller/Action/Step/DatabaseConnect.php +++ b/typo3/sysext/install/Classes/Controller/Action/Step/DatabaseConnect.php @@ -283,8 +283,6 @@ class DatabaseConnect extends AbstractStepAction * Unix domain socket connections are quicker than TCP/IP, so it is * tested if a unix domain socket connection to localhost is successful. If not, * a default configuration for TCP/IP is used. - * - * @return void */ protected function useDefaultValuesForNotConfiguredOptions() { diff --git a/typo3/sysext/install/Classes/Controller/Action/Step/StepInterface.php b/typo3/sysext/install/Classes/Controller/Action/Step/StepInterface.php index 2c4e1a6e83fe..dccb9c89a214 100644 --- a/typo3/sysext/install/Classes/Controller/Action/Step/StepInterface.php +++ b/typo3/sysext/install/Classes/Controller/Action/Step/StepInterface.php @@ -40,7 +40,6 @@ interface StepInterface * * @param int $current The current position * @param int $total The total number of steps - * @return void */ public function setStepsCounter($current, $total); diff --git a/typo3/sysext/install/Classes/Controller/Action/Tool/ImportantActions.php b/typo3/sysext/install/Classes/Controller/Action/Tool/ImportantActions.php index 6b3ba02ba2fb..65de4d7969ab 100644 --- a/typo3/sysext/install/Classes/Controller/Action/Tool/ImportantActions.php +++ b/typo3/sysext/install/Classes/Controller/Action/Tool/ImportantActions.php @@ -234,8 +234,6 @@ class ImportantActions extends Action\AbstractAction /** * Set new encryption key - * - * @return void */ protected function setNewEncryptionKeyAndLogOut() { diff --git a/typo3/sysext/install/Classes/Controller/Action/Tool/UpgradeWizard.php b/typo3/sysext/install/Classes/Controller/Action/Tool/UpgradeWizard.php index fc6b254691b9..dbf4bfbd5cee 100644 --- a/typo3/sysext/install/Classes/Controller/Action/Tool/UpgradeWizard.php +++ b/typo3/sysext/install/Classes/Controller/Action/Tool/UpgradeWizard.php @@ -125,8 +125,6 @@ class UpgradeWizard extends Action\AbstractAction /** * List of available updates - * - * @return void */ protected function listUpdates() { @@ -392,7 +390,6 @@ class UpgradeWizard extends Action\AbstractAction * Force creation / update of caching framework tables that are needed by some update wizards * * @TODO: See also the other remarks on this topic in the abstract class, this whole area needs improvements - * @return void * @throws \TYPO3\CMS\Extbase\SignalSlot\Exception\InvalidSlotReturnException * @throws \TYPO3\CMS\Extbase\SignalSlot\Exception\InvalidSlotException * @throws \TYPO3\CMS\Core\Database\Schema\Exception\UnexpectedSignalReturnValueTypeException diff --git a/typo3/sysext/install/Classes/Controller/AjaxController.php b/typo3/sysext/install/Classes/Controller/AjaxController.php index 23d909014939..42a94cd476e5 100644 --- a/typo3/sysext/install/Classes/Controller/AjaxController.php +++ b/typo3/sysext/install/Classes/Controller/AjaxController.php @@ -18,7 +18,6 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; /** * Install tool ajax controller, handles ajax requests - * */ class AjaxController extends AbstractController { @@ -53,8 +52,6 @@ class AjaxController extends AbstractController /** * Main entry point - * - * @return void */ public function execute() { @@ -72,8 +69,6 @@ class AjaxController extends AbstractController /** * Check whether the install tool is enabled - * - * @return void */ protected function outputInstallToolNotEnabledMessageIfNeeded() { @@ -84,8 +79,6 @@ class AjaxController extends AbstractController /** * Check if the install tool password is set - * - * @return void */ protected function checkInstallToolPasswordNotSet() { @@ -96,8 +89,6 @@ class AjaxController extends AbstractController /** * Check login status - * - * @return void */ protected function checkLogin() { @@ -113,7 +104,6 @@ class AjaxController extends AbstractController * In contrast to abstract method, a response "you are not authorized is outputted" * * @param bool $tokenOk - * @return void */ protected function handleSessionTokenCheck($tokenOk) { @@ -125,8 +115,6 @@ class AjaxController extends AbstractController /** * Overwrites abstract method * In contrast to abstract method, a response "you are not authorized is outputted" - * - * @return void */ protected function handleSessionLifeTimeExpired() { diff --git a/typo3/sysext/install/Classes/Controller/StepController.php b/typo3/sysext/install/Classes/Controller/StepController.php index 91a2b9a15cab..26e96734757e 100644 --- a/typo3/sysext/install/Classes/Controller/StepController.php +++ b/typo3/sysext/install/Classes/Controller/StepController.php @@ -40,7 +40,6 @@ class StepController extends AbstractController * conditions (new/existing installation). See the single method comments for details. * * @throws Exception - * @return void */ public function execute() { @@ -67,7 +66,6 @@ class StepController extends AbstractController * request to test the next step. * * @throws Exception - * @return void */ protected function executeSpecificStep() { @@ -89,8 +87,6 @@ class StepController extends AbstractController * The according step is instantiated and 'needsExecution' is called. If * it needs execution, the step will be rendered, otherwise a redirect * to test the next step is initiated. - * - * @return void */ protected function outputSpecificStep() { @@ -157,8 +153,6 @@ class StepController extends AbstractController /** * If the last step was reached and none needs execution, a redirect * to call the tool controller is initiated. - * - * @return void */ protected function redirectToTool() { @@ -176,7 +170,6 @@ class StepController extends AbstractController * PackageStates here. * * @throws \Exception - * @return void */ protected function recreatePackageStatesFileIfNotExisting() { @@ -245,8 +238,6 @@ class StepController extends AbstractController * So, if no typo3conf directory exists yet, the first step is just rendered, or * executed if called so. After that, a redirect is initiated to proceed with * other tasks. - * - * @return void */ protected function executeOrOutputFirstInstallStepIfNeeded() { @@ -313,8 +304,6 @@ class StepController extends AbstractController /** * Call silent upgrade class, redirect to self if configuration was changed. - * - * @return void */ protected function executeSilentConfigurationUpgradesIfNeeded() { diff --git a/typo3/sysext/install/Classes/Controller/ToolController.php b/typo3/sysext/install/Classes/Controller/ToolController.php index 1459ead36c8c..cbe1efaf3786 100644 --- a/typo3/sysext/install/Classes/Controller/ToolController.php +++ b/typo3/sysext/install/Classes/Controller/ToolController.php @@ -43,8 +43,6 @@ class ToolController extends AbstractController /** * Main dispatch method - * - * @return void */ public function execute() { @@ -66,8 +64,6 @@ class ToolController extends AbstractController /** * Logout user if requested - * - * @return void */ protected function logoutIfRequested() { @@ -91,8 +87,6 @@ class ToolController extends AbstractController * This function registers a shutdown function, which is called even if a fatal error occurs. * The request either gets redirected to an action where all extension configurations are checked for compatibility or * an information with a link to that action. - * - * @return void */ protected function registerExtensionConfigurationErrorHandler() { diff --git a/typo3/sysext/install/Classes/FolderStructure/AbstractNode.php b/typo3/sysext/install/Classes/FolderStructure/AbstractNode.php index 69254a7865f6..99a6314a88ab 100644 --- a/typo3/sysext/install/Classes/FolderStructure/AbstractNode.php +++ b/typo3/sysext/install/Classes/FolderStructure/AbstractNode.php @@ -67,8 +67,6 @@ abstract class AbstractNode * Set target permission * * @param string $permission Permissions as a 4 character octal string, i.e. 2775 or 0644 - * - * @return void */ protected function setTargetPermission($permission) { diff --git a/typo3/sysext/install/Classes/FolderStructure/DefaultPermissionsCheck.php b/typo3/sysext/install/Classes/FolderStructure/DefaultPermissionsCheck.php index f2952bffa988..ca9ef6eb6f73 100644 --- a/typo3/sysext/install/Classes/FolderStructure/DefaultPermissionsCheck.php +++ b/typo3/sysext/install/Classes/FolderStructure/DefaultPermissionsCheck.php @@ -18,7 +18,6 @@ use TYPO3\CMS\Install\Status; /** * Service class to check the default folder permissions - * */ class DefaultPermissionsCheck { diff --git a/typo3/sysext/install/Classes/Http/Application.php b/typo3/sysext/install/Classes/Http/Application.php index 2943ea7b94f1..92afb0ef521b 100644 --- a/typo3/sysext/install/Classes/Http/Application.php +++ b/typo3/sysext/install/Classes/Http/Application.php @@ -69,7 +69,6 @@ class Application implements ApplicationInterface * Does not call "run()" therefore * * @param callable $execute - * @return void */ public function run(callable $execute = null) { diff --git a/typo3/sysext/install/Classes/Http/RequestHandler.php b/typo3/sysext/install/Classes/Http/RequestHandler.php index 1bc91c33fa76..331c202a1e11 100644 --- a/typo3/sysext/install/Classes/Http/RequestHandler.php +++ b/typo3/sysext/install/Classes/Http/RequestHandler.php @@ -46,7 +46,6 @@ class RequestHandler implements RequestHandlerInterface * Execute 'tool' or 'step' controller depending on install[controller] GET/POST parameter * * @param ServerRequestInterface $request - * @return void */ public function handleRequest(ServerRequestInterface $request) { diff --git a/typo3/sysext/install/Classes/Report/SecurityStatusReport.php b/typo3/sysext/install/Classes/Report/SecurityStatusReport.php index c51aad9b8223..d0f60edc5b34 100644 --- a/typo3/sysext/install/Classes/Report/SecurityStatusReport.php +++ b/typo3/sysext/install/Classes/Report/SecurityStatusReport.php @@ -21,7 +21,6 @@ use TYPO3\CMS\Reports\Status; /** * Provides an status report of the security of the install tool - * */ class SecurityStatusReport implements \TYPO3\CMS\Reports\StatusProviderInterface { @@ -109,8 +108,6 @@ class SecurityStatusReport implements \TYPO3\CMS\Reports\StatusProviderInterface /** * Executes commands like removing the Install Tool enable file. - * - * @return void */ protected function executeAdminCommand() { diff --git a/typo3/sysext/install/Classes/Service/ClearCacheService.php b/typo3/sysext/install/Classes/Service/ClearCacheService.php index 77c47f47c9fe..b2c7170f6130 100644 --- a/typo3/sysext/install/Classes/Service/ClearCacheService.php +++ b/typo3/sysext/install/Classes/Service/ClearCacheService.php @@ -35,8 +35,6 @@ class ClearCacheService * After that ext_tables and ext_localconf of extensions are loaded, those * may register additional caches in the caching framework with different * backend, and will then clear them with the usual flush() method. - * - * @return void */ public function clearAll() { diff --git a/typo3/sysext/install/Classes/Service/CoreVersionService.php b/typo3/sysext/install/Classes/Service/CoreVersionService.php index 4f94ab25ce41..af4cd53aa85f 100644 --- a/typo3/sysext/install/Classes/Service/CoreVersionService.php +++ b/typo3/sysext/install/Classes/Service/CoreVersionService.php @@ -57,7 +57,6 @@ class CoreVersionService /** * Update version matrix from remote and store in registry * - * @return void * @throws Exception\RemoteFetchException */ public function updateVersionMatrix() diff --git a/typo3/sysext/install/Classes/Service/EnableFileService.php b/typo3/sysext/install/Classes/Service/EnableFileService.php index d9bebff2274d..f529da593572 100644 --- a/typo3/sysext/install/Classes/Service/EnableFileService.php +++ b/typo3/sysext/install/Classes/Service/EnableFileService.php @@ -158,8 +158,6 @@ class EnableFileService /** * Updates the last modification of the ENABLE_INSTALL_TOOL file - * - * @return void */ protected static function extendInstallToolEnableFileLifetime() { diff --git a/typo3/sysext/install/Classes/Service/LoadTcaService.php b/typo3/sysext/install/Classes/Service/LoadTcaService.php index 6a48115b54fd..abeed1a6b767 100644 --- a/typo3/sysext/install/Classes/Service/LoadTcaService.php +++ b/typo3/sysext/install/Classes/Service/LoadTcaService.php @@ -85,7 +85,6 @@ class LoadTcaService * Load ext_tables.php of a single extension * * @param string $extensionKey The extension to load a ext_tables.php file from. - * @return void */ public function loadSingleExtTablesFile(string $extensionKey) { diff --git a/typo3/sysext/install/Classes/Service/SessionService.php b/typo3/sysext/install/Classes/Service/SessionService.php index 112a7bcb9d98..470a5259947e 100644 --- a/typo3/sysext/install/Classes/Service/SessionService.php +++ b/typo3/sysext/install/Classes/Service/SessionService.php @@ -238,8 +238,6 @@ class SessionService implements \TYPO3\CMS\Core\SingletonInterface * Should only be called if: * a) we have a valid session running * b) the "password" or some other authorization mechanism really matched - * - * @return void */ public function setAuthorized() { @@ -292,8 +290,6 @@ class SessionService implements \TYPO3\CMS\Core\SingletonInterface * Refreshes our session information, rising the expire time. * Also generates a new session ID every 5 minutes to minimize the risk of * session hijacking. - * - * @return void */ public function refreshSession() { @@ -310,7 +306,6 @@ class SessionService implements \TYPO3\CMS\Core\SingletonInterface * Add a message to "Flash" message storage. * * @param \TYPO3\CMS\Install\Status\StatusInterface $message A message to add - * @return void */ public function addMessage(\TYPO3\CMS\Install\Status\StatusInterface $message) { @@ -486,8 +481,6 @@ class SessionService implements \TYPO3\CMS\Core\SingletonInterface * which due to the APC bug throws a "Fatal error: Class 'GeneralUtility' not found" * (and the session data is not saved). Calling session_write_close() at this point * seems to be the most easy solution, according to PHP author. - * - * @return void */ public function __destruct() { diff --git a/typo3/sysext/install/Classes/Service/SilentConfigurationUpgradeService.php b/typo3/sysext/install/Classes/Service/SilentConfigurationUpgradeService.php index 89783ca9aa9b..3512cdf620d9 100644 --- a/typo3/sysext/install/Classes/Service/SilentConfigurationUpgradeService.php +++ b/typo3/sysext/install/Classes/Service/SilentConfigurationUpgradeService.php @@ -104,8 +104,6 @@ class SilentConfigurationUpgradeService /** * Executed configuration upgrades. Single upgrade methods must throw a * RedirectException if something was written to LocalConfiguration. - * - * @return void */ public function execute() { @@ -131,8 +129,6 @@ class SilentConfigurationUpgradeService * and have no impact on the core anymore. * To keep the configuration clean, those old settings are just silently * removed from LocalConfiguration if set. - * - * @return void */ protected function removeObsoleteLocalConfigurationSettings() { @@ -148,8 +144,6 @@ class SilentConfigurationUpgradeService * Backend login security is set to rsa if rsaauth * is installed (but not used) otherwise the default value "normal" has to be used. * This forces either 'normal' or 'rsa' to be set in LocalConfiguration. - * - * @return void */ protected function configureBackendLoginSecurity() { @@ -176,8 +170,6 @@ class SilentConfigurationUpgradeService * and the whole TYPO3 link rendering later on. A random key is set here in * LocalConfiguration if it does not exist yet. This might possible happen * during upgrading and will happen during first install. - * - * @return void */ protected function generateEncryptionKeyIfNeeded() { @@ -197,8 +189,6 @@ class SilentConfigurationUpgradeService /** * Parse old curl and HTTP options and set new HTTP options, related to Guzzle - * - * @return void */ protected function transferHttpSettings() { @@ -393,8 +383,6 @@ class SilentConfigurationUpgradeService * "Configuration presets" in install tool is not type safe, so value * comparisons here are not type safe too, to not trigger changes to * LocalConfiguration again. - * - * @return void */ protected function disableImageMagickDetailSettingsIfImageMagickIsDisabled() { @@ -456,8 +444,6 @@ class SilentConfigurationUpgradeService * "Configuration presets" in install tool is not type safe, so value * comparisons here are not type safe too, to not trigger changes to * LocalConfiguration again. - * - * @return void */ protected function setImageMagickDetailSettings() { @@ -499,8 +485,6 @@ class SilentConfigurationUpgradeService /** * Migrate the definition of the image processor from the configuration value * im_version_5 to the setting processor. - * - * @return void */ protected function migrateImageProcessorSetting() { @@ -578,8 +562,6 @@ class SilentConfigurationUpgradeService /** * Migrate the configuration value thumbnails_png to a boolean value. - * - * @return void */ protected function migrateThumbnailsPngSetting() { @@ -601,8 +583,6 @@ class SilentConfigurationUpgradeService /** * Migrate the configuration setting BE/lockSSL to boolean if set in the LocalConfiguration.php file - * - * @return void */ protected function migrateLockSslSetting() { @@ -620,8 +600,6 @@ class SilentConfigurationUpgradeService /** * Move the database connection settings to a "Default" connection - * - * @return void */ protected function migrateDatabaseConnectionSettings() { @@ -703,8 +681,6 @@ class SilentConfigurationUpgradeService /** * Migrate the configuration setting DB/Connections/Default/charset to 'utf8' as * 'utf-8' is not supported by all MySQL versions. - * - * @return void */ protected function migrateDatabaseConnectionCharset() { @@ -723,8 +699,6 @@ class SilentConfigurationUpgradeService /** * Migrate the configuration setting DB/Connections/Default/driverOptions to array type. - * - * @return void */ protected function migrateDatabaseDriverOptions() { @@ -744,8 +718,6 @@ class SilentConfigurationUpgradeService /** * Migrate the configuration setting BE/lang/debug if set in the LocalConfiguration.php file - * - * @return void */ protected function migrateLangDebug() { diff --git a/typo3/sysext/install/Classes/Status/AbstractStatus.php b/typo3/sysext/install/Classes/Status/AbstractStatus.php index 1ff6d8d4abe0..ed25ca8026a6 100644 --- a/typo3/sysext/install/Classes/Status/AbstractStatus.php +++ b/typo3/sysext/install/Classes/Status/AbstractStatus.php @@ -54,7 +54,6 @@ abstract class AbstractStatus implements StatusInterface * Set title * * @param string $title The title - * @return void */ public function setTitle($title) { @@ -75,7 +74,6 @@ abstract class AbstractStatus implements StatusInterface * Set status message * * @param string $message Status message - * @return void */ public function setMessage($message) { diff --git a/typo3/sysext/install/Classes/Status/StatusInterface.php b/typo3/sysext/install/Classes/Status/StatusInterface.php index 0904c0bf7f36..b5f6910c4498 100644 --- a/typo3/sysext/install/Classes/Status/StatusInterface.php +++ b/typo3/sysext/install/Classes/Status/StatusInterface.php @@ -37,7 +37,6 @@ interface StatusInterface * Set title * * @param string $title The title - * @return void */ public function setTitle($title); @@ -52,7 +51,6 @@ interface StatusInterface * Set status message * * @param string $message Status message - * @return void */ public function setMessage($message); } diff --git a/typo3/sysext/install/Classes/Updates/AbstractUpdate.php b/typo3/sysext/install/Classes/Updates/AbstractUpdate.php index dceb110aec12..dcc0b434c997 100644 --- a/typo3/sysext/install/Classes/Updates/AbstractUpdate.php +++ b/typo3/sysext/install/Classes/Updates/AbstractUpdate.php @@ -80,7 +80,6 @@ abstract class AbstractUpdate * Sets the title attribute * * @param string $title The title of this update wizard - * @return void */ public function setTitle($title) { @@ -101,7 +100,6 @@ abstract class AbstractUpdate * Sets the identifier attribute * * @param string $identifier The identifier of this update wizard - * @return void */ public function setIdentifier($identifier) { @@ -178,7 +176,6 @@ abstract class AbstractUpdate * (e.g. installing in extList, respecting priority, etc.) * * @param array $extensionKeys List of keys of extensions to install - * @return void */ protected function installExtensions(array $extensionKeys) { @@ -197,7 +194,6 @@ abstract class AbstractUpdate * Writes the info in LocalConfiguration.php * * @param mixed $confValue The configuration is set to this value - * @return void */ protected function markWizardAsDone($confValue = 1) { diff --git a/typo3/sysext/install/Classes/ViewHelpers/File/ExistsViewHelper.php b/typo3/sysext/install/Classes/ViewHelpers/File/ExistsViewHelper.php index ba97c37806be..de46427cac65 100644 --- a/typo3/sysext/install/Classes/ViewHelpers/File/ExistsViewHelper.php +++ b/typo3/sysext/install/Classes/ViewHelpers/File/ExistsViewHelper.php @@ -38,7 +38,6 @@ class ExistsViewHelper extends AbstractViewHelper use CompileWithRenderStatic; /** - * @return void */ public function initializeArguments() { diff --git a/typo3/sysext/install/Tests/Unit/Updates/ContentTypesToTextMediaUpdateTest.php b/typo3/sysext/install/Tests/Unit/Updates/ContentTypesToTextMediaUpdateTest.php index 7bbfd79f95e6..2fb098b554ef 100644 --- a/typo3/sysext/install/Tests/Unit/Updates/ContentTypesToTextMediaUpdateTest.php +++ b/typo3/sysext/install/Tests/Unit/Updates/ContentTypesToTextMediaUpdateTest.php @@ -71,7 +71,6 @@ class ContentTypesToTextMediaUpdateTest extends BaseTestCase /** * @test - * @return void */ public function updateWizardDoesNotRunIfCssStyledContentIsInstalled() { diff --git a/typo3/sysext/lang/Classes/Command/LanguageCommandController.php b/typo3/sysext/lang/Classes/Command/LanguageCommandController.php index 688ff6dcdb47..bbe979596b9e 100644 --- a/typo3/sysext/lang/Classes/Command/LanguageCommandController.php +++ b/typo3/sysext/lang/Classes/Command/LanguageCommandController.php @@ -59,7 +59,6 @@ class LanguageCommandController extends CommandController * Update language file for each extension * * @param string $localesToUpdate Comma separated list of locales that needs to be updated - * @return void */ public function updateCommand($localesToUpdate = '') { diff --git a/typo3/sysext/lang/Classes/Controller/LanguageController.php b/typo3/sysext/lang/Classes/Controller/LanguageController.php index c183bd3abe66..7e4353a11de6 100644 --- a/typo3/sysext/lang/Classes/Controller/LanguageController.php +++ b/typo3/sysext/lang/Classes/Controller/LanguageController.php @@ -99,8 +99,6 @@ class LanguageController extends ActionController /** * List languages - * - * @return void */ public function listLanguagesAction() { @@ -113,8 +111,6 @@ class LanguageController extends ActionController /** * List translations - * - * @return void */ public function listTranslationsAction() { @@ -126,8 +122,6 @@ class LanguageController extends ActionController /** * Returns the translations - * - * @return void */ public function getTranslationsAction() { @@ -139,7 +133,6 @@ class LanguageController extends ActionController * Fetch all translations for given locale * * @param array $data The request data - * @return void */ public function updateLanguageAction(array $data) { @@ -189,7 +182,6 @@ class LanguageController extends ActionController * Fetch the translation for given extension and locale * * @param array $data The request data - * @return void */ public function updateTranslationAction(array $data) { @@ -212,7 +204,6 @@ class LanguageController extends ActionController * Activate a language * * @param array $data The request data - * @return void */ public function activateLanguageAction(array $data) { @@ -227,7 +218,6 @@ class LanguageController extends ActionController * Deactivate a language * * @param array $data The request data - * @return void */ public function deactivateLanguageAction(array $data) { @@ -242,7 +232,6 @@ class LanguageController extends ActionController * Remove a language * * @param array $data The request data - * @return void */ public function removeLanguageAction(array $data) { diff --git a/typo3/sysext/lang/Classes/Domain/Model/Extension.php b/typo3/sysext/lang/Classes/Domain/Model/Extension.php index a53b5658cdab..f75fe3d0e2a8 100644 --- a/typo3/sysext/lang/Classes/Domain/Model/Extension.php +++ b/typo3/sysext/lang/Classes/Domain/Model/Extension.php @@ -75,7 +75,6 @@ class Extension extends AbstractEntity * Setter for the icon * * @param string $icon ext_icon path relative to typo3 folder like ../typo3conf/ext/extensionkey/ext_icon.png - * @return void */ public function setIcon($icon) { @@ -128,7 +127,6 @@ class Extension extends AbstractEntity * Setter for the key * * @param string $key - * @return void */ public function setKey($key) { @@ -149,7 +147,6 @@ class Extension extends AbstractEntity * Setter for the title * * @param string $title - * @return void */ public function setTitle($title) { @@ -170,7 +167,6 @@ class Extension extends AbstractEntity * Setter for the version * * @param int $version Needs to have a valid version format like 1003007 - * @return void */ public function setVersion($version) { @@ -182,7 +178,6 @@ class Extension extends AbstractEntity * * @param string $version Needs to have a format like '1.3.7' and converts it into an integer like 1003007 before setting the version * @see \TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionNumberToInteger - * @return void */ public function setVersionFromString($version) { @@ -203,7 +198,6 @@ class Extension extends AbstractEntity * Setter for updateResult * * @param array $updateResult Needs to be in a structure like array('icon' => '', 'message' => '') - * @return void */ public function setUpdateResult($updateResult) { diff --git a/typo3/sysext/lang/Classes/Domain/Model/Language.php b/typo3/sysext/lang/Classes/Domain/Model/Language.php index 0cb0dad99677..4135468db515 100644 --- a/typo3/sysext/lang/Classes/Domain/Model/Language.php +++ b/typo3/sysext/lang/Classes/Domain/Model/Language.php @@ -77,7 +77,6 @@ class Language extends AbstractEntity * Setter for the language * * @param string $language the label of the language - * @return void */ public function setLabel($language) { @@ -98,7 +97,6 @@ class Language extends AbstractEntity * Setter for the locale * * @param string $locale the locale for the language like da, nl or de - * @return void */ public function setLocale($locale) { @@ -119,7 +117,6 @@ class Language extends AbstractEntity * Setter for the selected * * @param bool $selected whether the language is available or not - * @return void */ public function setSelected($selected) { diff --git a/typo3/sysext/lang/Classes/LanguageService.php b/typo3/sysext/lang/Classes/LanguageService.php index 13b0002f2f27..7f3dfc59e5a4 100644 --- a/typo3/sysext/lang/Classes/LanguageService.php +++ b/typo3/sysext/lang/Classes/LanguageService.php @@ -122,7 +122,6 @@ class LanguageService * * @throws \RuntimeException * @param string $languageKey The language key (two character string from backend users profile) - * @return void */ public function init($languageKey) { @@ -157,7 +156,6 @@ class LanguageService * * @param array $arr Array with references to module labels, keys: ['labels']['table'], * @param string $prefix Module name prefix - * @return void * @see \TYPO3\CMS\Backend\Module\ModuleLoader * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 - use ModuleLoader instead. */ @@ -315,7 +313,6 @@ class LanguageService * $TCA_DESCR is a global var * * @param string $table Table name found as key in global array $TCA_DESCR - * @return void */ public function loadSingleTableDescription($table) { @@ -451,7 +448,6 @@ class LanguageService * @param string $index * @param string $value * @param bool $overrideDefault Overrides default language - * @return void * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 */ public function overrideLL($index, $value, $overrideDefault = true) diff --git a/typo3/sysext/lang/Classes/Service/RegistryService.php b/typo3/sysext/lang/Classes/Service/RegistryService.php index 4f97c61cb2df..85dc05e25808 100644 --- a/typo3/sysext/lang/Classes/Service/RegistryService.php +++ b/typo3/sysext/lang/Classes/Service/RegistryService.php @@ -43,7 +43,6 @@ class RegistryService * Set namespace * * @param string $namespace The namespace - * @return void */ public function setNamespace($namespace) { @@ -93,7 +92,6 @@ class RegistryService * @param string $name Registry entry name * @param mixed $value The value * @param string $namespace Optional namespace - * @return void */ public function set($name, $value, $namespace = null) { @@ -106,7 +104,6 @@ class RegistryService * * @param string $name Registry entry name * @param string $namespace Optional namespace - * @return void */ public function remove($name, $namespace = null) { diff --git a/typo3/sysext/lang/Classes/View/AbstractJsonView.php b/typo3/sysext/lang/Classes/View/AbstractJsonView.php index d5876fb395e8..5d73d9c7942b 100644 --- a/typo3/sysext/lang/Classes/View/AbstractJsonView.php +++ b/typo3/sysext/lang/Classes/View/AbstractJsonView.php @@ -38,8 +38,6 @@ abstract class AbstractJsonView extends AbstractView /** * Render template content - * - * @return void */ public function render() { @@ -58,7 +56,6 @@ abstract class AbstractJsonView extends AbstractView * Send response to browser * * @param array $data The response data - * @return void */ protected function sendResponse(array $data) { diff --git a/typo3/sysext/linkvalidator/Classes/LinkAnalyzer.php b/typo3/sysext/linkvalidator/Classes/LinkAnalyzer.php index b3373531d8f1..f8745a18b244 100644 --- a/typo3/sysext/linkvalidator/Classes/LinkAnalyzer.php +++ b/typo3/sysext/linkvalidator/Classes/LinkAnalyzer.php @@ -119,7 +119,6 @@ class LinkAnalyzer * @param array $searchField List of fields in which to search for links * @param string $pid List of comma separated page uids in which to search for links * @param array $tsConfig The currently active TSConfig. - * @return void */ public function init(array $searchField, $pid, $tsConfig) { @@ -133,7 +132,6 @@ class LinkAnalyzer * * @param array $checkOptions List of hook object to activate * @param bool $considerHidden Defines whether to look into hidden fields - * @return void */ public function getLinkStatistics($checkOptions = [], $considerHidden = false) { @@ -264,7 +262,6 @@ class LinkAnalyzer * @param string $table Table name of the record * @param array $fields Array of fields to analyze * @param array $record Record to analyse - * @return void */ public function analyzeRecord(array &$results, $table, array $fields, array $record) { @@ -328,7 +325,6 @@ class LinkAnalyzer * @param array $record UID of the current record * @param string $field The current field * @param string $table The current table - * @return void */ protected function analyseLinks(array $resultArray, array &$results, array $record, $field, $table) { @@ -364,7 +360,6 @@ class LinkAnalyzer * @param array $record The current record * @param string $field The current field * @param string $table The current table - * @return void */ protected function analyseTypoLinks(array $resultArray, array &$results, $htmlParser, array $record, $field, $table) { diff --git a/typo3/sysext/linkvalidator/Classes/Linktype/AbstractLinktype.php b/typo3/sysext/linkvalidator/Classes/Linktype/AbstractLinktype.php index 11abbb2f10f2..38c7beadf55e 100644 --- a/typo3/sysext/linkvalidator/Classes/Linktype/AbstractLinktype.php +++ b/typo3/sysext/linkvalidator/Classes/Linktype/AbstractLinktype.php @@ -47,7 +47,6 @@ abstract class AbstractLinktype implements LinktypeInterface * Set the value of the protected property errorParams * * @param array $value All parameters needed for the rendering of the error message - * @return void */ protected function setErrorParams($value) { diff --git a/typo3/sysext/linkvalidator/Classes/Report/LinkValidatorReport.php b/typo3/sysext/linkvalidator/Classes/Report/LinkValidatorReport.php index 7b2e0f65689c..c99d61b73ea8 100644 --- a/typo3/sysext/linkvalidator/Classes/Report/LinkValidatorReport.php +++ b/typo3/sysext/linkvalidator/Classes/Report/LinkValidatorReport.php @@ -234,8 +234,6 @@ class LinkValidatorReport extends \TYPO3\CMS\Backend\Module\AbstractFunctionModu /** * Initializes the Module - * - * @return void */ protected function initialize() { @@ -267,8 +265,6 @@ class LinkValidatorReport extends \TYPO3\CMS\Backend\Module\AbstractFunctionModu /** * Updates the table of stored broken links - * - * @return void */ protected function updateBrokenLinks() { @@ -308,8 +304,6 @@ class LinkValidatorReport extends \TYPO3\CMS\Backend\Module\AbstractFunctionModu /** * Renders the content of the module - * - * @return void */ protected function render() { diff --git a/typo3/sysext/linkvalidator/Classes/Task/ValidatorTask.php b/typo3/sysext/linkvalidator/Classes/Task/ValidatorTask.php index 0993b070fc61..9ec80effe22f 100644 --- a/typo3/sysext/linkvalidator/Classes/Task/ValidatorTask.php +++ b/typo3/sysext/linkvalidator/Classes/Task/ValidatorTask.php @@ -141,7 +141,6 @@ class ValidatorTask extends AbstractTask * Set the value of the private property email. * * @param string $email Email address to which an email report is sent - * @return void */ public function setEmail($email) { @@ -162,7 +161,6 @@ class ValidatorTask extends AbstractTask * Set the value of the private property emailOnBrokenLinkOnly * * @param bool $emailOnBrokenLinkOnly Only send an email, if new broken links were found - * @return void */ public function setEmailOnBrokenLinkOnly($emailOnBrokenLinkOnly) { @@ -183,7 +181,6 @@ class ValidatorTask extends AbstractTask * Set the value of the private property page * * @param int $page UID of the start page for this task. - * @return void */ public function setPage($page) { @@ -204,7 +201,6 @@ class ValidatorTask extends AbstractTask * Set the value of the private property depth * * @param int $depth Level of pages the task should check - * @return void */ public function setDepth($depth) { @@ -225,7 +221,6 @@ class ValidatorTask extends AbstractTask * Set the value of the private property emailTemplateFile * * @param string $emailTemplateFile Template to be used for the email - * @return void */ public function setEmailTemplateFile($emailTemplateFile) { @@ -246,7 +241,6 @@ class ValidatorTask extends AbstractTask * Set the value of the private property configuration * * @param array $configuration specific TSconfig for this task - * @return void */ public function setConfiguration($configuration) { @@ -606,8 +600,6 @@ class ValidatorTask extends AbstractTask /** * Simulate cli call with setting the required options to the $_SERVER['argv'] - * - * @return void */ protected function setCliArguments() { diff --git a/typo3/sysext/linkvalidator/Classes/Task/ValidatorTaskAdditionalFieldProvider.php b/typo3/sysext/linkvalidator/Classes/Task/ValidatorTaskAdditionalFieldProvider.php index d48810b45eb5..d885fc0dba62 100644 --- a/typo3/sysext/linkvalidator/Classes/Task/ValidatorTaskAdditionalFieldProvider.php +++ b/typo3/sysext/linkvalidator/Classes/Task/ValidatorTaskAdditionalFieldProvider.php @@ -261,7 +261,6 @@ class ValidatorTaskAdditionalFieldProvider implements AdditionalFieldProviderInt * * @param array $submittedData Array containing the data submitted by the user * @param AbstractTask $task Reference to the current task object - * @return void */ public function saveAdditionalFields(array $submittedData, AbstractTask $task) { diff --git a/typo3/sysext/lowlevel/Classes/CleanerCommand.php b/typo3/sysext/lowlevel/Classes/CleanerCommand.php index 53e32c5f27c8..baf4ab81ac81 100644 --- a/typo3/sysext/lowlevel/Classes/CleanerCommand.php +++ b/typo3/sysext/lowlevel/Classes/CleanerCommand.php @@ -230,7 +230,6 @@ NOW Running --AUTOFIX on result. OK?' . ($this->cli_isArg('--dryrun') ? ' (--dry * * @param string $header Name of the test (eg. function name) * @param array $res Result array from an analyze function - * @return void Outputs with echo - capture content with output buffer if needed. */ public function cli_printInfo($header, $res) { @@ -293,7 +292,6 @@ NOW Running --AUTOFIX on result. OK?' . ($this->cli_isArg('--dryrun') ? ' (--dry * @param int $depth Depth to traverse. zero is do not traverse at all. 1 = 1 sublevel, 1000= 1000 sublevels (all...) * @param int $echoLevel If >0, will echo information about the traversal process. * @param string $callBack Call back function (from this class or subclass) - * @return void */ public function genTree($rootID, $depth = 1000, $echoLevel = 0, $callBack = '') { @@ -362,7 +360,6 @@ NOW Running --AUTOFIX on result. OK?' . ($this->cli_isArg('--dryrun') ? ' (--dry * @param bool $versionSwapmode DON'T set from outside, internal. (indicates we are inside a version of a page) * @param int $rootIsVersion DON'T set from outside, internal. (1: Indicates that rootID is a version of a page, 2: ...that it is even a version of a version (which triggers a warning!) * @param string $accumulatedPath Internal string that accumulates the path - * @return void * @access private */ public function genTree_traverse($rootID, $depth, $echoLevel = 0, $callBack = '', $versionSwapmode = false, $rootIsVersion = 0, $accumulatedPath = '') diff --git a/typo3/sysext/lowlevel/Classes/Command/CleanFlexFormsCommand.php b/typo3/sysext/lowlevel/Classes/Command/CleanFlexFormsCommand.php index a31fd0e53f81..78169ae2482f 100644 --- a/typo3/sysext/lowlevel/Classes/Command/CleanFlexFormsCommand.php +++ b/typo3/sysext/lowlevel/Classes/Command/CleanFlexFormsCommand.php @@ -67,8 +67,6 @@ class CleanFlexFormsCommand extends Command * * @param InputInterface $input * @param OutputInterface $output - * - * @return void */ protected function execute(InputInterface $input, OutputInterface $output) { @@ -249,7 +247,6 @@ class CleanFlexFormsCommand extends Command * @param array $records * @param bool $dryRun * @param SymfonyStyle $io - * @return void */ protected function cleanFlexFormRecords(array $records, bool $dryRun, SymfonyStyle $io) { diff --git a/typo3/sysext/lowlevel/Classes/Command/DeletedRecordsCommand.php b/typo3/sysext/lowlevel/Classes/Command/DeletedRecordsCommand.php index f15b57164597..2cb153b2094b 100644 --- a/typo3/sysext/lowlevel/Classes/Command/DeletedRecordsCommand.php +++ b/typo3/sysext/lowlevel/Classes/Command/DeletedRecordsCommand.php @@ -67,8 +67,6 @@ class DeletedRecordsCommand extends Command * * @param InputInterface $input * @param OutputInterface $output - * - * @return void */ protected function execute(InputInterface $input, OutputInterface $output) { @@ -261,7 +259,6 @@ class DeletedRecordsCommand extends Command * @param array $deletedRecords two level array with tables and uids * @param bool $dryRun check if the records should NOT be deleted (use --dry-run to avoid) * @param SymfonyStyle $io - * @return void */ protected function deleteRecords(array $deletedRecords, bool $dryRun, SymfonyStyle $io) { diff --git a/typo3/sysext/lowlevel/Classes/Command/FilesWithMultipleReferencesCommand.php b/typo3/sysext/lowlevel/Classes/Command/FilesWithMultipleReferencesCommand.php index 9b36faa16b60..5aae376f1228 100644 --- a/typo3/sysext/lowlevel/Classes/Command/FilesWithMultipleReferencesCommand.php +++ b/typo3/sysext/lowlevel/Classes/Command/FilesWithMultipleReferencesCommand.php @@ -78,8 +78,6 @@ If you want to get more detailed information, use the --verbose option.') * * @param InputInterface $input * @param OutputInterface $output - * - * @return void */ protected function execute(InputInterface $input, OutputInterface $output) { @@ -119,7 +117,6 @@ If you want to get more detailed information, use the --verbose option.') * * @param InputInterface $input holds information about entered parameters * @param SymfonyStyle $io necessary for outputting information - * @return void */ protected function updateReferenceIndex(InputInterface $input, SymfonyStyle $io) { @@ -194,7 +191,6 @@ If you want to get more detailed information, use the --verbose option.') * @param array $multipleReferencesToFiles Contains files which have been referenced multiple times * @param bool $dryRun if set, the info is just displayed, but no files are copied nor reference index updated * @param SymfonyStyle $io the IO object for output - * @return void */ protected function copyMultipleReferencedFiles(array $multipleReferencesToFiles, bool $dryRun, SymfonyStyle $io) { diff --git a/typo3/sysext/lowlevel/Classes/Command/ListSysLogCommand.php b/typo3/sysext/lowlevel/Classes/Command/ListSysLogCommand.php index d83384414bf8..94708c98bd06 100644 --- a/typo3/sysext/lowlevel/Classes/Command/ListSysLogCommand.php +++ b/typo3/sysext/lowlevel/Classes/Command/ListSysLogCommand.php @@ -43,8 +43,6 @@ class ListSysLogCommand extends Command * * @param InputInterface $input * @param OutputInterface $output - * - * @return void */ protected function execute(InputInterface $input, OutputInterface $output) { diff --git a/typo3/sysext/lowlevel/Classes/Command/LostFilesCommand.php b/typo3/sysext/lowlevel/Classes/Command/LostFilesCommand.php index edcd6332d321..33b7cdb26c01 100644 --- a/typo3/sysext/lowlevel/Classes/Command/LostFilesCommand.php +++ b/typo3/sysext/lowlevel/Classes/Command/LostFilesCommand.php @@ -83,8 +83,6 @@ If you want to get more detailed information, use the --verbose option.') * * @param InputInterface $input * @param OutputInterface $output - * - * @return void */ protected function execute(InputInterface $input, OutputInterface $output) { @@ -131,7 +129,6 @@ If you want to get more detailed information, use the --verbose option.') * * @param InputInterface $input holds information about entered parameters * @param SymfonyStyle $io necessary for outputting information - * @return void */ protected function updateReferenceIndex(InputInterface $input, SymfonyStyle $io) { @@ -232,7 +229,6 @@ If you want to get more detailed information, use the --verbose option.') * @param array $lostFiles Contains the lost files found * @param bool $dryRun if set, the files are just displayed, but not deleted * @param SymfonyStyle $io the IO object for output - * @return void */ protected function deleteLostFiles(array $lostFiles, bool $dryRun, SymfonyStyle $io) { diff --git a/typo3/sysext/lowlevel/Classes/Command/MissingFilesCommand.php b/typo3/sysext/lowlevel/Classes/Command/MissingFilesCommand.php index 192290c30a88..2fb93fb7e1d9 100644 --- a/typo3/sysext/lowlevel/Classes/Command/MissingFilesCommand.php +++ b/typo3/sysext/lowlevel/Classes/Command/MissingFilesCommand.php @@ -78,8 +78,6 @@ If you want to get more detailed information, use the --verbose option.') * * @param InputInterface $input * @param OutputInterface $output - * - * @return void */ protected function execute(InputInterface $input, OutputInterface $output) { @@ -123,7 +121,6 @@ If you want to get more detailed information, use the --verbose option.') * * @param InputInterface $input holds information about entered parameters * @param SymfonyStyle $io necessary for outputting information - * @return void */ protected function updateReferenceIndex(InputInterface $input, SymfonyStyle $io) { @@ -218,7 +215,6 @@ If you want to get more detailed information, use the --verbose option.') * @param array $missingManagedFiles Contains the records of sys_refindex which need to be updated * @param bool $dryRun if set, the references are just displayed, but not removed * @param SymfonyStyle $io the IO object for output - * @return void */ protected function removeReferencesToMissingFiles(array $missingManagedFiles, bool $dryRun, SymfonyStyle $io) { diff --git a/typo3/sysext/lowlevel/Classes/Command/MissingRelationsCommand.php b/typo3/sysext/lowlevel/Classes/Command/MissingRelationsCommand.php index 57b6e1b810ad..0eb3c568e279 100644 --- a/typo3/sysext/lowlevel/Classes/Command/MissingRelationsCommand.php +++ b/typo3/sysext/lowlevel/Classes/Command/MissingRelationsCommand.php @@ -93,8 +93,6 @@ If you want to get more detailed information, use the --verbose option.') * * @param InputInterface $input * @param OutputInterface $output - * - * @return void */ protected function execute(InputInterface $input, OutputInterface $output) { @@ -181,7 +179,6 @@ If you want to get more detailed information, use the --verbose option.') * * @param InputInterface $input holds information about entered parameters * @param SymfonyStyle $io necessary for outputting information - * @return void */ protected function updateReferenceIndex(InputInterface $input, SymfonyStyle $io) { @@ -313,7 +310,6 @@ If you want to get more detailed information, use the --verbose option.') * @param array $nonExistingRecords Contains the records non-existing records of sys_refindex which need to be removed * @param bool $dryRun if set, the references are just displayed, but not removed * @param SymfonyStyle $io the IO object for output - * @return void */ protected function removeReferencesToMissingRecords( array $offlineVersionRecords, diff --git a/typo3/sysext/lowlevel/Classes/Command/OrphanRecordsCommand.php b/typo3/sysext/lowlevel/Classes/Command/OrphanRecordsCommand.php index 6fc02a951bf8..009d01b35cf7 100644 --- a/typo3/sysext/lowlevel/Classes/Command/OrphanRecordsCommand.php +++ b/typo3/sysext/lowlevel/Classes/Command/OrphanRecordsCommand.php @@ -66,8 +66,6 @@ Manual repair suggestions: * * @param InputInterface $input * @param OutputInterface $output - * - * @return void */ protected function execute(InputInterface $input, OutputInterface $output) { @@ -235,7 +233,6 @@ Manual repair suggestions: * @param array $orphanedRecords two level array with tables and uids * @param bool $dryRun check if the records should NOT be deleted (use --dry-run to avoid) * @param SymfonyStyle $io - * @return void */ protected function deleteRecords(array $orphanedRecords, bool $dryRun, SymfonyStyle $io) { diff --git a/typo3/sysext/lowlevel/Classes/Command/RteImagesCommand.php b/typo3/sysext/lowlevel/Classes/Command/RteImagesCommand.php index d4f6bdf2cfdb..5d7d8a7cabf1 100644 --- a/typo3/sysext/lowlevel/Classes/Command/RteImagesCommand.php +++ b/typo3/sysext/lowlevel/Classes/Command/RteImagesCommand.php @@ -84,8 +84,6 @@ If you want to get more detailed information, use the --verbose option.') * * @param InputInterface $input * @param OutputInterface $output - * - * @return void */ protected function execute(InputInterface $input, OutputInterface $output) { @@ -173,7 +171,6 @@ If you want to get more detailed information, use the --verbose option.') * * @param InputInterface $input holds information about entered parameters * @param SymfonyStyle $io necessary for outputting information - * @return void */ protected function updateReferenceIndex(InputInterface $input, SymfonyStyle $io) { @@ -286,7 +283,6 @@ If you want to get more detailed information, use the --verbose option.') * @param array $lostFiles Contains the lost files found * @param bool $dryRun if set, the files are just displayed, but not deleted * @param SymfonyStyle $io the IO object for output - * @return void */ protected function deleteLostFiles(array $lostFiles, bool $dryRun, SymfonyStyle $io) { diff --git a/typo3/sysext/lowlevel/Classes/Command/WorkspaceVersionRecordsCommand.php b/typo3/sysext/lowlevel/Classes/Command/WorkspaceVersionRecordsCommand.php index 10b75259dfe5..70e8e63e1377 100644 --- a/typo3/sysext/lowlevel/Classes/Command/WorkspaceVersionRecordsCommand.php +++ b/typo3/sysext/lowlevel/Classes/Command/WorkspaceVersionRecordsCommand.php @@ -101,8 +101,6 @@ class WorkspaceVersionRecordsCommand extends Command * * @param InputInterface $input * @param OutputInterface $output - * - * @return void */ protected function execute(InputInterface $input, OutputInterface $output) { @@ -267,7 +265,6 @@ class WorkspaceVersionRecordsCommand extends Command * @param int $depth Depth * @param bool $isInsideVersionedPage DON'T set from outside, internal. (indicates we are inside a version of a page) * @param bool $rootIsVersion DON'T set from outside, internal. Indicates that rootID is a version of a page - * @return void */ protected function traversePageTreeForVersionedRecords(int $rootID, int $depth, bool $isInsideVersionedPage = false, bool $rootIsVersion = false) { @@ -544,7 +541,6 @@ class WorkspaceVersionRecordsCommand extends Command * @param array $records two level array with tables and uids * @param bool $dryRun check if the records should NOT be deleted (use --dry-run to avoid) * @param SymfonyStyle $io - * @return void */ protected function deleteRecords(array $records, bool $dryRun, SymfonyStyle $io) { diff --git a/typo3/sysext/lowlevel/Classes/View/ConfigurationView.php b/typo3/sysext/lowlevel/Classes/View/ConfigurationView.php index 4b30201bb73d..e48ca65f43a3 100644 --- a/typo3/sysext/lowlevel/Classes/View/ConfigurationView.php +++ b/typo3/sysext/lowlevel/Classes/View/ConfigurationView.php @@ -99,8 +99,6 @@ class ConfigurationView extends BaseScriptClass /** * Initialization - * - * @return void */ public function init() { @@ -111,8 +109,6 @@ class ConfigurationView extends BaseScriptClass /** * Menu Configuration - * - * @return void */ public function menuConfig() { @@ -143,8 +139,6 @@ class ConfigurationView extends BaseScriptClass /** * Main function - * - * @return void */ public function main() { diff --git a/typo3/sysext/lowlevel/Classes/View/DatabaseIntegrityView.php b/typo3/sysext/lowlevel/Classes/View/DatabaseIntegrityView.php index d2dcd48b9bc5..608ee0648992 100644 --- a/typo3/sysext/lowlevel/Classes/View/DatabaseIntegrityView.php +++ b/typo3/sysext/lowlevel/Classes/View/DatabaseIntegrityView.php @@ -82,8 +82,6 @@ class DatabaseIntegrityView extends BaseScriptClass /** * Initialization - * - * @return void */ public function init() { @@ -103,8 +101,6 @@ class DatabaseIntegrityView extends BaseScriptClass /** * Configure menu - * - * @return void */ public function menuConfig() { @@ -193,8 +189,6 @@ class DatabaseIntegrityView extends BaseScriptClass /** * Main functions, is rendering the content - * - * @return void */ public function main() { @@ -288,8 +282,6 @@ class DatabaseIntegrityView extends BaseScriptClass /** * Creates the overview menu. - * - * @return void */ protected function func_default() { @@ -308,8 +300,6 @@ class DatabaseIntegrityView extends BaseScriptClass ****************************/ /** * Check and update reference index! - * - * @return void */ public function func_refindex() { @@ -329,8 +319,6 @@ class DatabaseIntegrityView extends BaseScriptClass /** * Search (Full / Advanced) - * - * @return void */ public function func_search() { @@ -367,8 +355,6 @@ class DatabaseIntegrityView extends BaseScriptClass /** * Records overview - * - * @return void */ public function func_records() { @@ -465,8 +451,6 @@ class DatabaseIntegrityView extends BaseScriptClass /** * Show list references - * - * @return void */ public function func_relations() { diff --git a/typo3/sysext/opendocs/Classes/Backend/ToolbarItems/OpendocsToolbarItem.php b/typo3/sysext/opendocs/Classes/Backend/ToolbarItems/OpendocsToolbarItem.php index 907bf6e992f3..0aea761f904a 100644 --- a/typo3/sysext/opendocs/Classes/Backend/ToolbarItems/OpendocsToolbarItem.php +++ b/typo3/sysext/opendocs/Classes/Backend/ToolbarItems/OpendocsToolbarItem.php @@ -57,8 +57,6 @@ class OpendocsToolbarItem implements ToolbarItemInterface /** * Loads the opened and recently opened documents from the user - * - * @return void */ public function loadDocsFromUserSession() { diff --git a/typo3/sysext/recordlist/Classes/Browser/AbstractElementBrowser.php b/typo3/sysext/recordlist/Classes/Browser/AbstractElementBrowser.php index cf1875852ce8..903660342a07 100644 --- a/typo3/sysext/recordlist/Classes/Browser/AbstractElementBrowser.php +++ b/typo3/sysext/recordlist/Classes/Browser/AbstractElementBrowser.php @@ -93,8 +93,6 @@ abstract class AbstractElementBrowser /** * Main initialization - * - * @return void */ protected function initialize() { @@ -104,8 +102,6 @@ abstract class AbstractElementBrowser /** * Sets the script url depending on being a module or script request - * - * @return void */ protected function determineScriptUrl() { @@ -122,7 +118,6 @@ abstract class AbstractElementBrowser } /** - * @return void */ protected function initVariables() { @@ -134,8 +129,6 @@ abstract class AbstractElementBrowser /** * Initialize document template object - * - * @return void */ protected function initDocumentTemplate() { diff --git a/typo3/sysext/recordlist/Classes/Browser/DatabaseBrowser.php b/typo3/sysext/recordlist/Classes/Browser/DatabaseBrowser.php index 67c9ec91f61c..4322efb4bc8f 100644 --- a/typo3/sysext/recordlist/Classes/Browser/DatabaseBrowser.php +++ b/typo3/sysext/recordlist/Classes/Browser/DatabaseBrowser.php @@ -37,7 +37,6 @@ class DatabaseBrowser extends AbstractElementBrowser implements ElementBrowserIn protected $expandPage; /** - * @return void */ protected function initialize() { @@ -46,7 +45,6 @@ class DatabaseBrowser extends AbstractElementBrowser implements ElementBrowserIn } /** - * @return void */ protected function initVariables() { @@ -159,7 +157,6 @@ class DatabaseBrowser extends AbstractElementBrowser implements ElementBrowserIn /** * If the current Backend User has set a temporary DB mount, it is stored to her/his UC. - * @return void */ protected function setTemporaryDbMounts() { diff --git a/typo3/sysext/recordlist/Classes/Browser/FileBrowser.php b/typo3/sysext/recordlist/Classes/Browser/FileBrowser.php index 6c866546222c..abeeaf7ba973 100644 --- a/typo3/sysext/recordlist/Classes/Browser/FileBrowser.php +++ b/typo3/sysext/recordlist/Classes/Browser/FileBrowser.php @@ -68,7 +68,6 @@ class FileBrowser extends AbstractElementBrowser implements ElementBrowserInterf /** * Loads additional JavaScript - * @return void */ protected function initialize() { @@ -79,7 +78,6 @@ class FileBrowser extends AbstractElementBrowser implements ElementBrowserInterf /** * Checks additional GET/POST requests - * @return void */ protected function initVariables() { diff --git a/typo3/sysext/recordlist/Classes/Browser/FolderBrowser.php b/typo3/sysext/recordlist/Classes/Browser/FolderBrowser.php index 07f70baf7946..9bc98e0500c2 100644 --- a/typo3/sysext/recordlist/Classes/Browser/FolderBrowser.php +++ b/typo3/sysext/recordlist/Classes/Browser/FolderBrowser.php @@ -39,7 +39,6 @@ class FolderBrowser extends AbstractElementBrowser implements ElementBrowserInte /** * Adds additional JavaScript modules - * @return void */ protected function initialize() { @@ -53,7 +52,6 @@ class FolderBrowser extends AbstractElementBrowser implements ElementBrowserInte /** * Checks for an additional request parameter - * @return void */ protected function initVariables() { diff --git a/typo3/sysext/recordlist/Classes/Controller/AbstractLinkBrowserController.php b/typo3/sysext/recordlist/Classes/Controller/AbstractLinkBrowserController.php index a71288a83237..0ec9b7287536 100644 --- a/typo3/sysext/recordlist/Classes/Controller/AbstractLinkBrowserController.php +++ b/typo3/sysext/recordlist/Classes/Controller/AbstractLinkBrowserController.php @@ -122,8 +122,6 @@ abstract class AbstractLinkBrowserController /** * Initialize the controller - * - * @return void */ protected function init() { @@ -134,7 +132,6 @@ abstract class AbstractLinkBrowserController * Initialize hook objects implementing the interface * * @throws \UnexpectedValueException - * @return void */ protected function initHookObjects() { @@ -221,7 +218,6 @@ abstract class AbstractLinkBrowserController } /** - * @return void * @throws \UnexpectedValueException */ protected function loadLinkHandlers() @@ -278,8 +274,6 @@ abstract class AbstractLinkBrowserController /** * Initialize $this->currentLinkParts and $this->currentLinkHandler - * - * @return void */ protected function initCurrentUrl() { @@ -314,8 +308,6 @@ abstract class AbstractLinkBrowserController /** * Initialize document template object - * - * @return void */ protected function initDocumentTemplate() { diff --git a/typo3/sysext/recordlist/Classes/Controller/ElementBrowserController.php b/typo3/sysext/recordlist/Classes/Controller/ElementBrowserController.php index 4b570f709cfb..612ff2ddec0f 100644 --- a/typo3/sysext/recordlist/Classes/Controller/ElementBrowserController.php +++ b/typo3/sysext/recordlist/Classes/Controller/ElementBrowserController.php @@ -66,8 +66,6 @@ class ElementBrowserController /** * Initialize the controller - * - * @return void */ protected function init() { diff --git a/typo3/sysext/recordlist/Classes/Controller/ElementBrowserFramesetController.php b/typo3/sysext/recordlist/Classes/Controller/ElementBrowserFramesetController.php index 93a2ad2cf0b5..6722d62c6dd0 100644 --- a/typo3/sysext/recordlist/Classes/Controller/ElementBrowserFramesetController.php +++ b/typo3/sysext/recordlist/Classes/Controller/ElementBrowserFramesetController.php @@ -66,8 +66,6 @@ class ElementBrowserFramesetController /** * Main function. * Creates the header code in XHTML, the JavaScript, then the frameset for the two frames. - * - * @return void */ public function main() { diff --git a/typo3/sysext/recordlist/Classes/LinkHandler/AbstractLinkHandler.php b/typo3/sysext/recordlist/Classes/LinkHandler/AbstractLinkHandler.php index e7735acfd1d3..88eb34a0556a 100644 --- a/typo3/sysext/recordlist/Classes/LinkHandler/AbstractLinkHandler.php +++ b/typo3/sysext/recordlist/Classes/LinkHandler/AbstractLinkHandler.php @@ -69,8 +69,6 @@ abstract class AbstractLinkHandler * @param AbstractLinkBrowserController $linkBrowser * @param string $identifier * @param array $configuration Page TSconfig - * - * @return void */ public function initialize(AbstractLinkBrowserController $linkBrowser, $identifier, array $configuration) { @@ -114,7 +112,6 @@ abstract class AbstractLinkHandler /** * Sets a DB mount and stores it in the currently defined backend user in her/his uc - * @return void */ protected function setTemporaryDbMounts() { diff --git a/typo3/sysext/recordlist/Classes/LinkHandler/LinkHandlerInterface.php b/typo3/sysext/recordlist/Classes/LinkHandler/LinkHandlerInterface.php index c437c0ad3ac9..9414f611851a 100644 --- a/typo3/sysext/recordlist/Classes/LinkHandler/LinkHandlerInterface.php +++ b/typo3/sysext/recordlist/Classes/LinkHandler/LinkHandlerInterface.php @@ -39,8 +39,6 @@ interface LinkHandlerInterface * @param AbstractLinkBrowserController $linkBrowser * @param string $identifier * @param array $configuration Page TSconfig - * - * @return void */ public function initialize(AbstractLinkBrowserController $linkBrowser, $identifier, array $configuration); diff --git a/typo3/sysext/recordlist/Classes/LinkHandler/PageLinkHandler.php b/typo3/sysext/recordlist/Classes/LinkHandler/PageLinkHandler.php index 31561585cdcd..b9f723f586da 100644 --- a/typo3/sysext/recordlist/Classes/LinkHandler/PageLinkHandler.php +++ b/typo3/sysext/recordlist/Classes/LinkHandler/PageLinkHandler.php @@ -152,8 +152,6 @@ class PageLinkHandler extends AbstractLinkHandler implements LinkHandlerInterfac * This adds all content elements on a page to the view and lets you create a link to the element. * * @param int $pageId Page uid to expand - * - * @return void */ protected function getRecordsOnExpandedPage($pageId) { @@ -224,7 +222,6 @@ class PageLinkHandler extends AbstractLinkHandler implements LinkHandlerInterfac /** * Sets a DB mount and stores it in the currently defined backend user in her/his uc - * @return void */ protected function setTemporaryDbMounts() { diff --git a/typo3/sysext/recordlist/Classes/LinkHandler/RecordLinkHandler.php b/typo3/sysext/recordlist/Classes/LinkHandler/RecordLinkHandler.php index bc5a35ff8ae8..b73203cdfa1d 100644 --- a/typo3/sysext/recordlist/Classes/LinkHandler/RecordLinkHandler.php +++ b/typo3/sysext/recordlist/Classes/LinkHandler/RecordLinkHandler.php @@ -63,8 +63,6 @@ class RecordLinkHandler extends AbstractLinkHandler implements LinkHandlerInterf * @param AbstractLinkBrowserController $linkBrowser * @param string $identifier * @param array $configuration Page TSconfig - * - * @return void */ public function initialize(AbstractLinkBrowserController $linkBrowser, $identifier, array $configuration) { diff --git a/typo3/sysext/recordlist/Classes/RecordList.php b/typo3/sysext/recordlist/Classes/RecordList.php index ae1c455b8ea4..b903d691fc1f 100644 --- a/typo3/sysext/recordlist/Classes/RecordList.php +++ b/typo3/sysext/recordlist/Classes/RecordList.php @@ -202,8 +202,6 @@ class RecordList extends AbstractModule /** * Initializing the module - * - * @return void */ public function init() { @@ -235,8 +233,6 @@ class RecordList extends AbstractModule /** * Initialize function menu array - * - * @return void */ public function menuConfig() { @@ -254,8 +250,6 @@ class RecordList extends AbstractModule /** * Clears page cache for the current id, $this->id - * - * @return void */ public function clearCache() { @@ -268,8 +262,6 @@ class RecordList extends AbstractModule /** * Main function, starting the rendering of the list. - * - * @return void */ public function main() { diff --git a/typo3/sysext/recordlist/Classes/RecordList/AbstractDatabaseRecordList.php b/typo3/sysext/recordlist/Classes/RecordList/AbstractDatabaseRecordList.php index 2eb761ac7e15..ce12904c09c4 100644 --- a/typo3/sysext/recordlist/Classes/RecordList/AbstractDatabaseRecordList.php +++ b/typo3/sysext/recordlist/Classes/RecordList/AbstractDatabaseRecordList.php @@ -345,7 +345,6 @@ class AbstractDatabaseRecordList extends AbstractRecordList * @param string $search Search word, if any * @param int $levels Number of levels to search down the page tree * @param int $showLimit Limit of records to be listed. - * @return void */ public function start($id, $table, $pointer, $search = '', $levels = 0, $showLimit = 0) { @@ -436,8 +435,6 @@ class AbstractDatabaseRecordList extends AbstractRecordList * Traverses the table(s) to be listed and renders the output code for each: * The HTML is accumulated in $this->HTMLcode * Finishes off with a stopper-gif - * - * @return void */ public function generateList() { @@ -631,8 +628,6 @@ class AbstractDatabaseRecordList extends AbstractRecordList /** * Setting the field names to display in extended list. * Sets the internal variable $this->setFields - * - * @return void */ public function setDispFields() { @@ -1294,7 +1289,6 @@ class AbstractDatabaseRecordList extends AbstractRecordList * Redirects to FormEngine if a record is just localized. * * @param string $justLocalized String with table, orig uid and language separated by ": - * @return void */ public function localizationRedirect($justLocalized) { @@ -1344,7 +1338,6 @@ class AbstractDatabaseRecordList extends AbstractRecordList * Set URL parameters to override or add in the listUrl() method. * * @param string[] $urlParameters - * @return void */ public function setOverrideUrlParameters(array $urlParameters) { diff --git a/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php b/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php index a5dc6e47e9e8..0ab504d59fcd 100644 --- a/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php +++ b/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php @@ -2157,8 +2157,6 @@ class DatabaseRecordList extends AbstractDatabaseRecordList ************************************/ /** * Initializes internal csvLines array with the header of field names - * - * @return void */ protected function initCSV() { @@ -2167,8 +2165,6 @@ class DatabaseRecordList extends AbstractDatabaseRecordList /** * Add header line with field names as CSV line - * - * @return void */ protected function addHeaderRowToCSV() { @@ -2180,7 +2176,6 @@ class DatabaseRecordList extends AbstractDatabaseRecordList * Adds selected columns of one table row as CSV line. * * @param mixed[] $row Record array, from which the values of fields found in $this->fieldArray will be listed in the CSV output. - * @return void */ protected function addToCSV(array $row = []) { @@ -2216,7 +2211,6 @@ class DatabaseRecordList extends AbstractDatabaseRecordList * Adds input row of values to the internal csvLines array as a CSV formatted line * * @param mixed[] $csvRow Array with values to be listed. - * @return void */ public function setCsvRow($csvRow) { @@ -2228,7 +2222,6 @@ class DatabaseRecordList extends AbstractDatabaseRecordList * This function exits! * * @param string $prefix Filename prefix: - * @return void EXITS php execution! */ public function outputCSV($prefix) { diff --git a/typo3/sysext/recycler/Classes/Controller/RecyclerAjaxController.php b/typo3/sysext/recycler/Classes/Controller/RecyclerAjaxController.php index 8e796f52da64..c6b42cb99ebf 100644 --- a/typo3/sysext/recycler/Classes/Controller/RecyclerAjaxController.php +++ b/typo3/sysext/recycler/Classes/Controller/RecyclerAjaxController.php @@ -156,7 +156,6 @@ class RecyclerAjaxController * * @param string $identifier The identifier to be used to set the data * @param string $data The data to be stored in the session - * @return void */ protected function setDataInSession($identifier, $data) { diff --git a/typo3/sysext/recycler/Classes/Controller/RecyclerModuleController.php b/typo3/sysext/recycler/Classes/Controller/RecyclerModuleController.php index e4fe8c45f48c..33ce50e86d5e 100644 --- a/typo3/sysext/recycler/Classes/Controller/RecyclerModuleController.php +++ b/typo3/sysext/recycler/Classes/Controller/RecyclerModuleController.php @@ -75,8 +75,6 @@ class RecyclerModuleController extends ActionController /** * Initializes the Module - * - * @return void */ public function initializeAction() { @@ -108,7 +106,6 @@ class RecyclerModuleController extends ActionController * Initialize the view * * @param ViewInterface $view The view - * @return void */ public function initializeView(ViewInterface $view) { @@ -120,8 +117,6 @@ class RecyclerModuleController extends ActionController /** * Renders the content of the module. - * - * @return void */ public function indexAction() { @@ -140,7 +135,6 @@ class RecyclerModuleController extends ActionController /** * Registers the Icons into the docheader * - * @return void * @throws \InvalidArgumentException */ protected function registerDocheaderButtons() diff --git a/typo3/sysext/recycler/Classes/Domain/Model/DeletedRecords.php b/typo3/sysext/recycler/Classes/Domain/Model/DeletedRecords.php index ed1c04795b27..df7a64836400 100644 --- a/typo3/sysext/recycler/Classes/Domain/Model/DeletedRecords.php +++ b/typo3/sysext/recycler/Classes/Domain/Model/DeletedRecords.php @@ -138,7 +138,6 @@ class DeletedRecords * @param string $table Tablename from record * @param int $depth How many levels recursive * @param string $filter Filter text - * @return void */ protected function setData($id, $table, $depth, $filter) { @@ -340,7 +339,6 @@ class DeletedRecords * * @param string $table Name of the table * @param array $rows Record row - * @return void */ protected function checkRecordAccess($table, array $rows) { @@ -488,7 +486,6 @@ class DeletedRecords * * @param string $table Tablename * @param array $row Deleted record row - * @return void */ public function setDeletedRows($table, array $row) { diff --git a/typo3/sysext/recycler/Classes/Task/CleanerFieldProvider.php b/typo3/sysext/recycler/Classes/Task/CleanerFieldProvider.php index ca6fba37c4f0..b0d9b379a5c2 100644 --- a/typo3/sysext/recycler/Classes/Task/CleanerFieldProvider.php +++ b/typo3/sysext/recycler/Classes/Task/CleanerFieldProvider.php @@ -187,7 +187,6 @@ class CleanerFieldProvider implements \TYPO3\CMS\Scheduler\AdditionalFieldProvid * * @param array $submittedData An array containing the data submitted by the add/edit task form * @param AbstractTask $task Reference to the scheduler backend module - * @return void * @throws \InvalidArgumentException */ public function saveAdditionalFields(array $submittedData, AbstractTask $task) diff --git a/typo3/sysext/recycler/Classes/Task/CleanerTask.php b/typo3/sysext/recycler/Classes/Task/CleanerTask.php index 513ae517ec94..acbd07803759 100644 --- a/typo3/sysext/recycler/Classes/Task/CleanerTask.php +++ b/typo3/sysext/recycler/Classes/Task/CleanerTask.php @@ -168,7 +168,6 @@ class CleanerTask extends AbstractTask * * @param string $table * @param array $constraints - * @return void */ protected function checkFileResourceFieldsBeforeDeletion($table, array $constraints) { @@ -184,7 +183,6 @@ class CleanerTask extends AbstractTask * @param string $table * @param array $constraints * @param array $fieldList - * @return void */ protected function deleteFilesForTable($table, array $constraints, array $fieldList) { diff --git a/typo3/sysext/recycler/Tests/Functional/Recycle/AbstractRecycleTestCase.php b/typo3/sysext/recycler/Tests/Functional/Recycle/AbstractRecycleTestCase.php index 56cffcff58ae..99bfb8e59be3 100644 --- a/typo3/sysext/recycler/Tests/Functional/Recycle/AbstractRecycleTestCase.php +++ b/typo3/sysext/recycler/Tests/Functional/Recycle/AbstractRecycleTestCase.php @@ -36,8 +36,6 @@ abstract class AbstractRecycleTestCase extends \TYPO3\TestingFramework\Core\Func /** * Set up for set up the backend user, initialize the language object * and creating the Export instance - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/recycler/Tests/Functional/Recycle/Pages/AdminRecycleTest.php b/typo3/sysext/recycler/Tests/Functional/Recycle/Pages/AdminRecycleTest.php index 9f4c8d5e7d42..4ac808ddb390 100644 --- a/typo3/sysext/recycler/Tests/Functional/Recycle/Pages/AdminRecycleTest.php +++ b/typo3/sysext/recycler/Tests/Functional/Recycle/Pages/AdminRecycleTest.php @@ -28,8 +28,6 @@ class AdminRecycleTest extends \TYPO3\CMS\Recycler\Tests\Functional\Recycle\Abst /** * Set up the test - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/recycler/Tests/Functional/Recycle/Pages/UserRecycleTest.php b/typo3/sysext/recycler/Tests/Functional/Recycle/Pages/UserRecycleTest.php index 1729c943d77a..c6288b8810b2 100644 --- a/typo3/sysext/recycler/Tests/Functional/Recycle/Pages/UserRecycleTest.php +++ b/typo3/sysext/recycler/Tests/Functional/Recycle/Pages/UserRecycleTest.php @@ -28,8 +28,6 @@ class UserRecycleTest extends \TYPO3\CMS\Recycler\Tests\Functional\Recycle\Abstr /** * Set up the test - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/reports/Classes/Controller/ReportController.php b/typo3/sysext/reports/Classes/Controller/ReportController.php index 4bddd039e7c7..d6008637b984 100644 --- a/typo3/sysext/reports/Classes/Controller/ReportController.php +++ b/typo3/sysext/reports/Classes/Controller/ReportController.php @@ -47,8 +47,6 @@ class ReportController extends ActionController /** * Redirect to the saved report - * - * @return void */ public function initializeAction() { @@ -71,8 +69,6 @@ class ReportController extends ActionController * Initialize the view * * @param ViewInterface $view The view - * - * @return void */ protected function initializeView(ViewInterface $view) { @@ -85,8 +81,6 @@ class ReportController extends ActionController /** * Overview - * - * @return void */ public function indexAction() { @@ -99,8 +93,6 @@ class ReportController extends ActionController * * @param string $extension Extension * @param string $report Report - * - * @return void */ public function detailAction($extension, $report) { @@ -136,8 +128,6 @@ class ReportController extends ActionController /** * Generates the menu - * - * @return void */ protected function generateMenu() { @@ -173,8 +163,6 @@ class ReportController extends ActionController /** * Gets all buttons for the docheader - * - * @return void */ protected function generateButtons() { @@ -199,8 +187,6 @@ class ReportController extends ActionController * * @param string $extension Extension name * @param string $report Report name - * - * @return void */ protected function saveState($extension = '', $report = '') { diff --git a/typo3/sysext/reports/Classes/Report/Status/ConfigurationStatus.php b/typo3/sysext/reports/Classes/Report/Status/ConfigurationStatus.php index 24c759610868..5ec552535b48 100644 --- a/typo3/sysext/reports/Classes/Report/Status/ConfigurationStatus.php +++ b/typo3/sysext/reports/Classes/Report/Status/ConfigurationStatus.php @@ -347,8 +347,6 @@ class ConfigurationStatus implements StatusProviderInterface * * Currently implemented commands are: * - Remove deprecation log file - * - * @return void */ protected function executeAdminCommand() { @@ -364,8 +362,6 @@ class ConfigurationStatus implements StatusProviderInterface /** * Remove deprecation log file. - * - * @return void */ protected static function removeDeprecationLogFile() { diff --git a/typo3/sysext/reports/Classes/Report/Status/Status.php b/typo3/sysext/reports/Classes/Report/Status/Status.php index ae6022d7762d..2df473b3efa8 100644 --- a/typo3/sysext/reports/Classes/Report/Status/Status.php +++ b/typo3/sysext/reports/Classes/Report/Status/Status.php @@ -60,8 +60,6 @@ class Status implements ReportInterface /** * Gets all registered status providers and creates instances of them. - * - * @return void */ protected function getStatusProviders() { diff --git a/typo3/sysext/reports/Classes/Report/Status/WarningMessagePostProcessor.php b/typo3/sysext/reports/Classes/Report/Status/WarningMessagePostProcessor.php index 7d14f8567715..68573e154c79 100644 --- a/typo3/sysext/reports/Classes/Report/Status/WarningMessagePostProcessor.php +++ b/typo3/sysext/reports/Classes/Report/Status/WarningMessagePostProcessor.php @@ -31,7 +31,6 @@ class WarningMessagePostProcessor * control over the system warning messages. * * @param array $warningMessages An array of messages related to already found issues. - * @return void */ public function displayWarningMessages_postProcess(array &$warningMessages) { diff --git a/typo3/sysext/reports/Classes/Task/SystemStatusUpdateTask.php b/typo3/sysext/reports/Classes/Task/SystemStatusUpdateTask.php index a72f9f60a1bf..e969f2a8fd2d 100644 --- a/typo3/sysext/reports/Classes/Task/SystemStatusUpdateTask.php +++ b/typo3/sysext/reports/Classes/Task/SystemStatusUpdateTask.php @@ -77,7 +77,6 @@ class SystemStatusUpdateTask extends AbstractTask * Sets the notification email address. * * @param string $notificationEmail Notification email address. - * @return void */ public function setNotificationEmail($notificationEmail) { @@ -88,7 +87,6 @@ class SystemStatusUpdateTask extends AbstractTask * Sends a notification email, reporting system issues. * * @param Status[] $systemStatus Array of statuses - * @return void */ protected function sendNotificationEmail(array $systemStatus) { diff --git a/typo3/sysext/reports/Classes/Task/SystemStatusUpdateTaskNotificationEmailField.php b/typo3/sysext/reports/Classes/Task/SystemStatusUpdateTaskNotificationEmailField.php index ebb1a771ba9e..c13b5de9dab8 100644 --- a/typo3/sysext/reports/Classes/Task/SystemStatusUpdateTaskNotificationEmailField.php +++ b/typo3/sysext/reports/Classes/Task/SystemStatusUpdateTaskNotificationEmailField.php @@ -111,7 +111,6 @@ class SystemStatusUpdateTaskNotificationEmailField implements AdditionalFieldPro * * @param array $submittedData An array containing the data submitted by the add/edit task form * @param \TYPO3\CMS\Scheduler\Task\AbstractTask $task Reference to the scheduler backend module - * @return void */ public function saveAdditionalFields(array $submittedData, AbstractTask $task) { diff --git a/typo3/sysext/rsaauth/Classes/BackendWarnings.php b/typo3/sysext/rsaauth/Classes/BackendWarnings.php index ecd702851d58..c8900dc2073d 100644 --- a/typo3/sysext/rsaauth/Classes/BackendWarnings.php +++ b/typo3/sysext/rsaauth/Classes/BackendWarnings.php @@ -24,7 +24,6 @@ class BackendWarnings * Checks RSA configuration and creates warnings if necessary. * * @param array $warnings Warnings - * @return void */ public function displayWarningMessages_postProcess(array &$warnings) { diff --git a/typo3/sysext/rsaauth/Classes/Keypair.php b/typo3/sysext/rsaauth/Classes/Keypair.php index 37f54dd38dd1..28f6a13bf6d7 100644 --- a/typo3/sysext/rsaauth/Classes/Keypair.php +++ b/typo3/sysext/rsaauth/Classes/Keypair.php @@ -67,7 +67,6 @@ class Keypair implements \TYPO3\CMS\Core\SingletonInterface * Note: This method must not be called more than one time. * * @param int $exponent the new exponent - * @return void * @throws \BadMethodCallException if the method was called more than one time */ public function setExponent($exponent) @@ -105,7 +104,6 @@ class Keypair implements \TYPO3\CMS\Core\SingletonInterface * Note: This method must not be called more than one time. * * @param string $privateKey The new private key - * @return void * @throws \BadMethodCallException if the method was called more than one time */ public function setPrivateKey($privateKey) @@ -143,7 +141,6 @@ class Keypair implements \TYPO3\CMS\Core\SingletonInterface * Note: This method must not be called more than one time. * * @param int $publicKeyModulus the new public key modulus - * @return void * @throws \BadMethodCallException if the method was called more than one time */ public function setPublicKey($publicKeyModulus) diff --git a/typo3/sysext/rsaauth/Classes/Storage/SessionStorage.php b/typo3/sysext/rsaauth/Classes/Storage/SessionStorage.php index a51c4fe5095f..f42f28a60252 100644 --- a/typo3/sysext/rsaauth/Classes/Storage/SessionStorage.php +++ b/typo3/sysext/rsaauth/Classes/Storage/SessionStorage.php @@ -26,8 +26,6 @@ class SessionStorage extends AbstractStorage /** * Creates an instance of this class. It checks and initializes PHP * sessions if necessary. - * - * @return void */ public function __construct() { diff --git a/typo3/sysext/rsaauth/Classes/Storage/SplitStorage.php b/typo3/sysext/rsaauth/Classes/Storage/SplitStorage.php index 38be4de98221..1fe0306ec7eb 100644 --- a/typo3/sysext/rsaauth/Classes/Storage/SplitStorage.php +++ b/typo3/sysext/rsaauth/Classes/Storage/SplitStorage.php @@ -66,7 +66,6 @@ class SplitStorage extends AbstractStorage * Adds a key to the storage or removes existing key * * @param string $key The key - * @return void * @see \TYPO3\CMS\Rsaauth\Storage\AbstractStorage::put() */ public function put($key) diff --git a/typo3/sysext/rsaauth/Classes/Storage/StorageFactory.php b/typo3/sysext/rsaauth/Classes/Storage/StorageFactory.php index 9e0480d27323..12ab03e3c75d 100644 --- a/typo3/sysext/rsaauth/Classes/Storage/StorageFactory.php +++ b/typo3/sysext/rsaauth/Classes/Storage/StorageFactory.php @@ -59,7 +59,6 @@ class StorageFactory * another extension or ext_localconf.php * * @param string $preferredStorage Preferred storage - * @return void */ public static function setPreferredStorage($preferredStorage) { diff --git a/typo3/sysext/rsaauth/Tests/Functional/Storage/SplitStorageTest.php b/typo3/sysext/rsaauth/Tests/Functional/Storage/SplitStorageTest.php index 69b87e207f1e..207583772a37 100644 --- a/typo3/sysext/rsaauth/Tests/Functional/Storage/SplitStorageTest.php +++ b/typo3/sysext/rsaauth/Tests/Functional/Storage/SplitStorageTest.php @@ -63,8 +63,6 @@ class SplitStorageTest extends \TYPO3\TestingFramework\Core\Functional\Functiona /** * Sets up this test suite. - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/rsaauth/Tests/Unit/KeypairTest.php b/typo3/sysext/rsaauth/Tests/Unit/KeypairTest.php index a15bf2506ef8..1ff676cd8857 100644 --- a/typo3/sysext/rsaauth/Tests/Unit/KeypairTest.php +++ b/typo3/sysext/rsaauth/Tests/Unit/KeypairTest.php @@ -68,7 +68,6 @@ class KeypairTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * @test - * */ public function setExponentCalledTwoTimesThrowsException() { @@ -104,7 +103,6 @@ class KeypairTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * @test - * */ public function setPrivateKeyCalledTwoTimesThrowsException() { @@ -140,7 +138,6 @@ class KeypairTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * @test - * */ public function setPublicKeyCalledTwoTimesThrowsException() { diff --git a/typo3/sysext/rte_ckeditor/Classes/Controller/BrowseLinksController.php b/typo3/sysext/rte_ckeditor/Classes/Controller/BrowseLinksController.php index 7afe7fd12d56..bb221ac1da5c 100644 --- a/typo3/sysext/rte_ckeditor/Classes/Controller/BrowseLinksController.php +++ b/typo3/sysext/rte_ckeditor/Classes/Controller/BrowseLinksController.php @@ -139,8 +139,6 @@ class BrowseLinksController extends AbstractLinkBrowserController /** * Initialize document template object - * - * @return void */ protected function initDocumentTemplate() { @@ -157,8 +155,6 @@ class BrowseLinksController extends AbstractLinkBrowserController /** * Initialize $this->currentLink and $this->currentLinkHandler - * - * @return void */ protected function initCurrentUrl() { diff --git a/typo3/sysext/rtehtmlarea/Classes/Controller/BrowseLinksController.php b/typo3/sysext/rtehtmlarea/Classes/Controller/BrowseLinksController.php index 86bcc417a3ee..e3d573a67fc6 100644 --- a/typo3/sysext/rtehtmlarea/Classes/Controller/BrowseLinksController.php +++ b/typo3/sysext/rtehtmlarea/Classes/Controller/BrowseLinksController.php @@ -203,8 +203,6 @@ class BrowseLinksController extends AbstractLinkBrowserController /** * Initialize document template object - * - * @return void */ protected function initDocumentTemplate() { @@ -216,8 +214,6 @@ class BrowseLinksController extends AbstractLinkBrowserController /** * Initialize $this->currentLink and $this->currentLinkHandler - * - * @return void */ protected function initCurrentUrl() { diff --git a/typo3/sysext/rtehtmlarea/Classes/Controller/ParseHtmlController.php b/typo3/sysext/rtehtmlarea/Classes/Controller/ParseHtmlController.php index d9461775a920..ab2c7c416883 100644 --- a/typo3/sysext/rtehtmlarea/Classes/Controller/ParseHtmlController.php +++ b/typo3/sysext/rtehtmlarea/Classes/Controller/ParseHtmlController.php @@ -69,8 +69,6 @@ class ParseHtmlController /** * Initializes necessary parameters before calling the actual main action. - * - * @return void */ public function init() { @@ -158,7 +156,6 @@ class ParseHtmlController * Such tags are used by the RTE in order to restore the cursor position when the cleaning operation is completed. * * @param array $HTMLparserConfig: incoming HTMLParser configuration (wil be modified) - * @return void */ protected function keepSpanTagsWithId(&$HTMLparserConfig) { diff --git a/typo3/sysext/rtehtmlarea/Classes/Controller/SelectImageController.php b/typo3/sysext/rtehtmlarea/Classes/Controller/SelectImageController.php index 77aa333a6351..5d151542ee9c 100644 --- a/typo3/sysext/rtehtmlarea/Classes/Controller/SelectImageController.php +++ b/typo3/sysext/rtehtmlarea/Classes/Controller/SelectImageController.php @@ -156,7 +156,6 @@ class SelectImageController extends AbstractLinkBrowserController * Initialize hook objects implementing the interface * * @throws \UnexpectedValueException - * @return void */ protected function initHookObjects() { @@ -198,8 +197,6 @@ class SelectImageController extends AbstractLinkBrowserController /** * Initialize $this->currentLinkParts and $this->currentLinkHandler - * - * @return void */ protected function initCurrentUrl() { diff --git a/typo3/sysext/rtehtmlarea/Classes/Controller/SpellCheckingController.php b/typo3/sysext/rtehtmlarea/Classes/Controller/SpellCheckingController.php index 6bd9da6ee9c2..39d5b5971692 100644 --- a/typo3/sysext/rtehtmlarea/Classes/Controller/SpellCheckingController.php +++ b/typo3/sysext/rtehtmlarea/Classes/Controller/SpellCheckingController.php @@ -478,8 +478,6 @@ var selectedDictionary = "' . $this->dictionary . '"; /** * Ensures that the personal dictionary is utf-8 encoded - * - * @return void */ protected function fixPersonalDictionaryCharacterSet() { diff --git a/typo3/sysext/rtehtmlarea/Classes/Controller/UserElementsController.php b/typo3/sysext/rtehtmlarea/Classes/Controller/UserElementsController.php index c0f606d8bc6a..349212f0852d 100644 --- a/typo3/sysext/rtehtmlarea/Classes/Controller/UserElementsController.php +++ b/typo3/sysext/rtehtmlarea/Classes/Controller/UserElementsController.php @@ -64,7 +64,6 @@ class UserElementsController /** * Initializes necessary parameters before calling the actual main action. - * @return void */ public function init() { diff --git a/typo3/sysext/rtehtmlarea/Classes/Controller/Wizard/RteController.php b/typo3/sysext/rtehtmlarea/Classes/Controller/Wizard/RteController.php index 24cb3c2c056c..39c6d07d2f17 100644 --- a/typo3/sysext/rtehtmlarea/Classes/Controller/Wizard/RteController.php +++ b/typo3/sysext/rtehtmlarea/Classes/Controller/Wizard/RteController.php @@ -83,8 +83,6 @@ class RteController extends AbstractWizardController /** * Initialization of the class - * - * @return void */ protected function init() { @@ -116,8 +114,6 @@ class RteController extends AbstractWizardController /** * Main function, rendering the document with the iFrame with the RTE in. - * - * @return void */ public function main() { diff --git a/typo3/sysext/rtehtmlarea/Classes/Extension/MicroDataSchema.php b/typo3/sysext/rtehtmlarea/Classes/Extension/MicroDataSchema.php index 2a3ae33f3c1b..93d3cc62c2d6 100644 --- a/typo3/sysext/rtehtmlarea/Classes/Extension/MicroDataSchema.php +++ b/typo3/sysext/rtehtmlarea/Classes/Extension/MicroDataSchema.php @@ -101,7 +101,6 @@ class MicroDataSchema extends RteHtmlAreaApi * * @param string $string XML rdf schema to convert into an array * @param array $schema reference to the array to be filled - * @return void */ protected function parseSchema($string, &$schema) { diff --git a/typo3/sysext/rtehtmlarea/Classes/Form/Element/RichTextElement.php b/typo3/sysext/rtehtmlarea/Classes/Form/Element/RichTextElement.php index ac4f3fd4992f..f8dc3486798c 100644 --- a/typo3/sysext/rtehtmlarea/Classes/Form/Element/RichTextElement.php +++ b/typo3/sysext/rtehtmlarea/Classes/Form/Element/RichTextElement.php @@ -380,8 +380,6 @@ class RichTextElement extends AbstractFormElement /** * Add registered plugins to the array of enabled plugins - * - * @return void */ protected function enableRegisteredPlugins() { @@ -430,8 +428,6 @@ class RichTextElement extends AbstractFormElement /** * Set the toolbar config (only in this PHP-Object, not in JS): - * - * @return void */ protected function setToolbar() { @@ -538,8 +534,6 @@ class RichTextElement extends AbstractFormElement /** * Disable some plugins - * - * @return void */ protected function setPlugins() { @@ -596,8 +590,6 @@ class RichTextElement extends AbstractFormElement /** * Add RTE main scripts and plugin scripts - * - * @return void */ protected function loadRequireModulesForRTE() { @@ -653,8 +645,6 @@ class RichTextElement extends AbstractFormElement /** * Return the Javascript code for configuring the RTE - * - * @return void */ protected function addInstanceJavaScriptRegistration() { @@ -1101,8 +1091,6 @@ class RichTextElement extends AbstractFormElement /** * Return the Javascript code for copying the HTML code from the editor into the hidden input field. - * - * @return void */ protected function addOnSubmitJavaScriptCode() { @@ -1140,8 +1128,6 @@ class RichTextElement extends AbstractFormElement /** * Initialize a couple of language related local properties - * - * @return void */ public function initializeLanguageRelatedProperties() { @@ -1200,7 +1186,6 @@ class RichTextElement extends AbstractFormElement * @param string $deprecatedProperty: Name of deprecated property * @param string $useProperty: Name of property to use instead * @param string $version: Version of TYPO3 in which the property will be removed - * @return void */ protected function logDeprecatedProperty($deprecatedProperty, $useProperty, $version) { diff --git a/typo3/sysext/rtehtmlarea/Classes/ImageHandler/AddImageHandler.php b/typo3/sysext/rtehtmlarea/Classes/ImageHandler/AddImageHandler.php index 381ec0d6f875..7e115896aff1 100644 --- a/typo3/sysext/rtehtmlarea/Classes/ImageHandler/AddImageHandler.php +++ b/typo3/sysext/rtehtmlarea/Classes/ImageHandler/AddImageHandler.php @@ -116,7 +116,6 @@ class AddImageHandler implements LinkParameterProviderInterface, LinkHandlerInte * @param string $identifier * @param array $configuration Page TSconfig * - * @return void * @throws \InvalidArgumentException */ public function initialize(AbstractLinkBrowserController $linkBrowser, $identifier, array $configuration) diff --git a/typo3/sysext/rtehtmlarea/Classes/ImageHandler/EditImageHandler.php b/typo3/sysext/rtehtmlarea/Classes/ImageHandler/EditImageHandler.php index 283c622caa20..ccc25028b879 100644 --- a/typo3/sysext/rtehtmlarea/Classes/ImageHandler/EditImageHandler.php +++ b/typo3/sysext/rtehtmlarea/Classes/ImageHandler/EditImageHandler.php @@ -44,8 +44,6 @@ class EditImageHandler implements LinkHandlerInterface, LinkParameterProviderInt * @param AbstractLinkBrowserController $linkBrowser * @param string $identifier * @param array $configuration Page TSconfig - * - * @return void */ public function initialize(AbstractLinkBrowserController $linkBrowser, $identifier, array $configuration) { diff --git a/typo3/sysext/saltedpasswords/Classes/SaltedPasswordService.php b/typo3/sysext/saltedpasswords/Classes/SaltedPasswordService.php index 4073da2b6440..f69b46446db1 100644 --- a/typo3/sysext/saltedpasswords/Classes/SaltedPasswordService.php +++ b/typo3/sysext/saltedpasswords/Classes/SaltedPasswordService.php @@ -213,7 +213,6 @@ class SaltedPasswordService extends \TYPO3\CMS\Sv\AbstractAuthenticationService * * @param int $uid uid of user record that will be updated * @param mixed $updateFields Field values as key=>value pairs to be updated in database - * @return void */ protected function updatePassword($uid, $updateFields) { @@ -244,7 +243,6 @@ class SaltedPasswordService extends \TYPO3\CMS\Sv\AbstractAuthenticationService * * @param string $message Message to output * @param array<int, mixed> $params - * @return void * @see \TYPO3\CMS\Core\Utility\GeneralUtility::sysLog() */ public function writeLogMessage($message, ...$params) diff --git a/typo3/sysext/saltedpasswords/Classes/Task/BulkUpdateFieldProvider.php b/typo3/sysext/saltedpasswords/Classes/Task/BulkUpdateFieldProvider.php index dd02b9931cdd..e0ecdfb7a736 100644 --- a/typo3/sysext/saltedpasswords/Classes/Task/BulkUpdateFieldProvider.php +++ b/typo3/sysext/saltedpasswords/Classes/Task/BulkUpdateFieldProvider.php @@ -107,7 +107,6 @@ class BulkUpdateFieldProvider implements \TYPO3\CMS\Scheduler\AdditionalFieldPro * * @param array $submittedData Contains data submitted by the user * @param \TYPO3\CMS\Scheduler\Task\AbstractTask|\TYPO3\CMS\Saltedpasswords\Task\BulkUpdateTask $task Reference to the current task object - * @return void */ public function saveAdditionalFields(array $submittedData, \TYPO3\CMS\Scheduler\Task\AbstractTask $task) { diff --git a/typo3/sysext/saltedpasswords/Classes/Task/BulkUpdateTask.php b/typo3/sysext/saltedpasswords/Classes/Task/BulkUpdateTask.php index 6f55256c462f..0cc87c193580 100644 --- a/typo3/sysext/saltedpasswords/Classes/Task/BulkUpdateTask.php +++ b/typo3/sysext/saltedpasswords/Classes/Task/BulkUpdateTask.php @@ -132,7 +132,6 @@ class BulkUpdateTask extends \TYPO3\CMS\Scheduler\Task\AbstractTask * * @param string $mode 'FE' for frontend, 'BE' for backend user records * @param array $users With user uids and passwords - * @return void */ protected function convertPasswords($mode, array $users) { @@ -154,7 +153,6 @@ class BulkUpdateTask extends \TYPO3\CMS\Scheduler\Task\AbstractTask * * @param string $mode 'FE' for frontend, 'BE' for backend user records * @param array $users With user uids and passwords - * @return void */ protected function updatePasswords($mode, array $users) { @@ -222,7 +220,6 @@ class BulkUpdateTask extends \TYPO3\CMS\Scheduler\Task\AbstractTask * * @param string $mode 'FE' for frontend, 'BE' for backend user records * @param int $number Number of handled rows - * @return void */ protected function incrementUserRecordPointer($mode, $number) { @@ -232,8 +229,6 @@ class BulkUpdateTask extends \TYPO3\CMS\Scheduler\Task\AbstractTask /** * Activates this task instance. * Uses setDisabled() method of parent \TYPO3\CMS\Scheduler\Task\AbstractTask - * - * @return void */ protected function activateSelf() { @@ -243,8 +238,6 @@ class BulkUpdateTask extends \TYPO3\CMS\Scheduler\Task\AbstractTask /** * Deactivates this task instance. * Uses setDisabled() method of parent \TYPO3\CMS\Scheduler\Task\AbstractTask - * - * @return void */ protected function deactivateSelf() { @@ -255,7 +248,6 @@ class BulkUpdateTask extends \TYPO3\CMS\Scheduler\Task\AbstractTask * Set if it can deactivate self * * @param bool $canDeactivateSelf - * @return void */ public function setCanDeactivateSelf($canDeactivateSelf) { @@ -276,7 +268,6 @@ class BulkUpdateTask extends \TYPO3\CMS\Scheduler\Task\AbstractTask * Set number of records * * @param int $numberOfRecords - * @return void */ public function setNumberOfRecords($numberOfRecords) { diff --git a/typo3/sysext/saltedpasswords/Classes/Utility/ExtensionManagerConfigurationUtility.php b/typo3/sysext/saltedpasswords/Classes/Utility/ExtensionManagerConfigurationUtility.php index d33f35283a35..57fdee2d3cd0 100644 --- a/typo3/sysext/saltedpasswords/Classes/Utility/ExtensionManagerConfigurationUtility.php +++ b/typo3/sysext/saltedpasswords/Classes/Utility/ExtensionManagerConfigurationUtility.php @@ -53,7 +53,6 @@ class ExtensionManagerConfigurationUtility * is set already * * @param string $level One out of error, ok, warning, info - * @return void */ protected function setErrorLevel($level) { @@ -143,8 +142,6 @@ class ExtensionManagerConfigurationUtility /** * Initializes this object. - * - * @return void */ private function init() { diff --git a/typo3/sysext/saltedpasswords/Classes/Utility/SaltedPasswordsUtility.php b/typo3/sysext/saltedpasswords/Classes/Utility/SaltedPasswordsUtility.php index 4cc247672710..d24eab8874f5 100644 --- a/typo3/sysext/saltedpasswords/Classes/Utility/SaltedPasswordsUtility.php +++ b/typo3/sysext/saltedpasswords/Classes/Utility/SaltedPasswordsUtility.php @@ -75,7 +75,6 @@ class SaltedPasswordsUtility * * @param array $params Parameter the hook delivers * @param \TYPO3\CMS\Felogin\Controller\FrontendLoginController $pObj Parent Object from which the hook is called - * @return void */ public function feloginForgotPasswordHook(array &$params, \TYPO3\CMS\Felogin\Controller\FrontendLoginController $pObj) { diff --git a/typo3/sysext/saltedpasswords/Tests/Functional/SaltedPasswordServiceTest.php b/typo3/sysext/saltedpasswords/Tests/Functional/SaltedPasswordServiceTest.php index c72541322f8d..a1b0ea3aec1c 100644 --- a/typo3/sysext/saltedpasswords/Tests/Functional/SaltedPasswordServiceTest.php +++ b/typo3/sysext/saltedpasswords/Tests/Functional/SaltedPasswordServiceTest.php @@ -40,8 +40,6 @@ class SaltedPasswordServiceTest extends \TYPO3\TestingFramework\Core\Functional\ /** * Sets up this test suite. - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/saltedpasswords/Tests/Functional/Task/BulkUpdateTaskTest.php b/typo3/sysext/saltedpasswords/Tests/Functional/Task/BulkUpdateTaskTest.php index 5bc3c9df79d4..f31e880554b1 100644 --- a/typo3/sysext/saltedpasswords/Tests/Functional/Task/BulkUpdateTaskTest.php +++ b/typo3/sysext/saltedpasswords/Tests/Functional/Task/BulkUpdateTaskTest.php @@ -49,8 +49,6 @@ class BulkUpdateTaskTest extends \TYPO3\TestingFramework\Core\Functional\Functio /** * Sets up this test suite. - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/saltedpasswords/Tests/Functional/Utility/SaltedPasswordsUtilityTest.php b/typo3/sysext/saltedpasswords/Tests/Functional/Utility/SaltedPasswordsUtilityTest.php index ee0f4077006f..70198230d1c6 100644 --- a/typo3/sysext/saltedpasswords/Tests/Functional/Utility/SaltedPasswordsUtilityTest.php +++ b/typo3/sysext/saltedpasswords/Tests/Functional/Utility/SaltedPasswordsUtilityTest.php @@ -33,8 +33,6 @@ class SaltedPasswordsUtilityTest extends \TYPO3\TestingFramework\Core\Functional /** * Sets up this test suite. - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/saltedpasswords/Tests/Unit/Salt/BlowfishSaltTest.php b/typo3/sysext/saltedpasswords/Tests/Unit/Salt/BlowfishSaltTest.php index c1c98e5048b0..549c348df50a 100644 --- a/typo3/sysext/saltedpasswords/Tests/Unit/Salt/BlowfishSaltTest.php +++ b/typo3/sysext/saltedpasswords/Tests/Unit/Salt/BlowfishSaltTest.php @@ -30,8 +30,6 @@ class BlowfishSaltTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Sets up the fixtures for this testcase. - * - * @return void */ protected function setUp() { @@ -42,8 +40,6 @@ class BlowfishSaltTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Marks tests as skipped if the blowfish method is not available. - * - * @return void */ protected function skipTestIfBlowfishIsNotAvailable() { diff --git a/typo3/sysext/saltedpasswords/Tests/Unit/Salt/Md5SaltTest.php b/typo3/sysext/saltedpasswords/Tests/Unit/Salt/Md5SaltTest.php index 0a09ed428f79..930ddf81b820 100644 --- a/typo3/sysext/saltedpasswords/Tests/Unit/Salt/Md5SaltTest.php +++ b/typo3/sysext/saltedpasswords/Tests/Unit/Salt/Md5SaltTest.php @@ -30,8 +30,6 @@ class Md5SaltTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Sets up the fixtures for this testcase. - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/saltedpasswords/Tests/Unit/Salt/Pbkdf2SaltTest.php b/typo3/sysext/saltedpasswords/Tests/Unit/Salt/Pbkdf2SaltTest.php index 4b734f30546a..33403b03e6e1 100644 --- a/typo3/sysext/saltedpasswords/Tests/Unit/Salt/Pbkdf2SaltTest.php +++ b/typo3/sysext/saltedpasswords/Tests/Unit/Salt/Pbkdf2SaltTest.php @@ -31,8 +31,6 @@ class Pbkdf2SaltTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Sets up the fixtures for this testcase. - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/saltedpasswords/Tests/Unit/Salt/PhpassSaltTest.php b/typo3/sysext/saltedpasswords/Tests/Unit/Salt/PhpassSaltTest.php index 4772385b9d90..671e95474ec5 100644 --- a/typo3/sysext/saltedpasswords/Tests/Unit/Salt/PhpassSaltTest.php +++ b/typo3/sysext/saltedpasswords/Tests/Unit/Salt/PhpassSaltTest.php @@ -30,8 +30,6 @@ class PhpassSaltTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Sets up the fixtures for this testcase. - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/saltedpasswords/Tests/Unit/Salt/SaltFactoryTest.php b/typo3/sysext/saltedpasswords/Tests/Unit/Salt/SaltFactoryTest.php index 12296f1bc0ec..642ed4182533 100644 --- a/typo3/sysext/saltedpasswords/Tests/Unit/Salt/SaltFactoryTest.php +++ b/typo3/sysext/saltedpasswords/Tests/Unit/Salt/SaltFactoryTest.php @@ -30,8 +30,6 @@ class SaltFactoryTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase /** * Sets up the fixtures for this testcase. - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/scheduler/Classes/AdditionalFieldProviderInterface.php b/typo3/sysext/scheduler/Classes/AdditionalFieldProviderInterface.php index 84402d699b5e..41436af1cbc4 100644 --- a/typo3/sysext/scheduler/Classes/AdditionalFieldProviderInterface.php +++ b/typo3/sysext/scheduler/Classes/AdditionalFieldProviderInterface.php @@ -43,7 +43,6 @@ interface AdditionalFieldProviderInterface * * @param array $submittedData An array containing the data submitted by the add/edit task form * @param \TYPO3\CMS\Scheduler\Task\AbstractTask $task Reference to the scheduler backend module - * @return void */ public function saveAdditionalFields(array $submittedData, \TYPO3\CMS\Scheduler\Task\AbstractTask $task); } diff --git a/typo3/sysext/scheduler/Classes/Command/SchedulerCommand.php b/typo3/sysext/scheduler/Classes/Command/SchedulerCommand.php index 585088b7c247..7e314063c0c4 100644 --- a/typo3/sysext/scheduler/Classes/Command/SchedulerCommand.php +++ b/typo3/sysext/scheduler/Classes/Command/SchedulerCommand.php @@ -72,7 +72,6 @@ Call it like this: typo3/cli_dispatch.phpsh scheduler --task=13 -f') * * @param InputInterface $input * @param OutputInterface $output - * @return void */ public function execute(InputInterface $input, OutputInterface $output) { diff --git a/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php b/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php index f1b88eb6c474..6e7d68d24e88 100644 --- a/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php +++ b/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php @@ -118,8 +118,6 @@ class SchedulerModuleController extends \TYPO3\CMS\Backend\Module\BaseScriptClas /** * Initializes the backend module - * - * @return void */ public function init() { @@ -131,8 +129,6 @@ class SchedulerModuleController extends \TYPO3\CMS\Backend\Module\BaseScriptClas /** * Adds items to the ->MOD_MENU array. Used for the function menu selector. - * - * @return void */ public function menuConfig() { @@ -148,8 +144,6 @@ class SchedulerModuleController extends \TYPO3\CMS\Backend\Module\BaseScriptClas /** * Main function of the module. Write the content to $this->content - * - * @return void */ public function main() { @@ -423,8 +417,6 @@ class SchedulerModuleController extends \TYPO3\CMS\Backend\Module\BaseScriptClas /** * Delete a task from the execution queue - * - * @return void */ protected function deleteTask() { @@ -470,8 +462,6 @@ class SchedulerModuleController extends \TYPO3\CMS\Backend\Module\BaseScriptClas * Note that this doesn't actually stop the running script. It just unmarks * all executions. * @todo find a way to really kill the running task - * - * @return void */ protected function stopTask() { @@ -498,8 +488,6 @@ class SchedulerModuleController extends \TYPO3\CMS\Backend\Module\BaseScriptClas /** * Toggles the disabled state of the submitted task - * - * @return void */ protected function toggleDisableAction() { @@ -515,8 +503,6 @@ class SchedulerModuleController extends \TYPO3\CMS\Backend\Module\BaseScriptClas /** * Sets the next execution time of the submitted task to now - * - * @return void */ protected function setNextExecutionTimeAction() { @@ -854,8 +840,6 @@ class SchedulerModuleController extends \TYPO3\CMS\Backend\Module\BaseScriptClas /** * Execute all selected tasks - * - * @return void */ protected function executeTasks() { @@ -1226,8 +1210,6 @@ class SchedulerModuleController extends \TYPO3\CMS\Backend\Module\BaseScriptClas /** * Saves a task specified in the backend form to the database - * - * @return void */ protected function saveTask() { @@ -1426,7 +1408,6 @@ class SchedulerModuleController extends \TYPO3\CMS\Backend\Module\BaseScriptClas * * @param string $input * @return int - * */ protected function convertToTimestamp(string $input): int { @@ -1449,7 +1430,6 @@ class SchedulerModuleController extends \TYPO3\CMS\Backend\Module\BaseScriptClas * * @param string $message The message itself * @param int $severity Message level (according to FlashMessage class constants) - * @return void */ public function addMessage($message, $severity = FlashMessage::OK) { diff --git a/typo3/sysext/scheduler/Classes/CronCommand/CronCommand.php b/typo3/sysext/scheduler/Classes/CronCommand/CronCommand.php index ac56ba301b6d..15130021b296 100644 --- a/typo3/sysext/scheduler/Classes/CronCommand/CronCommand.php +++ b/typo3/sysext/scheduler/Classes/CronCommand/CronCommand.php @@ -69,7 +69,6 @@ class CronCommand * Calculates the date of the next execution. * * @api - * @return void * @throws \RuntimeException */ public function calculateNextValue() diff --git a/typo3/sysext/scheduler/Classes/Example/SleepTaskAdditionalFieldProvider.php b/typo3/sysext/scheduler/Classes/Example/SleepTaskAdditionalFieldProvider.php index 0123f5f0a4a0..4038280c4b2d 100644 --- a/typo3/sysext/scheduler/Classes/Example/SleepTaskAdditionalFieldProvider.php +++ b/typo3/sysext/scheduler/Classes/Example/SleepTaskAdditionalFieldProvider.php @@ -84,7 +84,6 @@ class SleepTaskAdditionalFieldProvider implements \TYPO3\CMS\Scheduler\Additiona * * @param array $submittedData Array containing the data submitted by the user * @param \TYPO3\CMS\Scheduler\Task\AbstractTask $task Reference to the current task object - * @return void */ public function saveAdditionalFields(array $submittedData, \TYPO3\CMS\Scheduler\Task\AbstractTask $task) { diff --git a/typo3/sysext/scheduler/Classes/Example/TestTaskAdditionalFieldProvider.php b/typo3/sysext/scheduler/Classes/Example/TestTaskAdditionalFieldProvider.php index 49c0a6be12ae..3d5a12f7e91a 100644 --- a/typo3/sysext/scheduler/Classes/Example/TestTaskAdditionalFieldProvider.php +++ b/typo3/sysext/scheduler/Classes/Example/TestTaskAdditionalFieldProvider.php @@ -84,7 +84,6 @@ class TestTaskAdditionalFieldProvider implements \TYPO3\CMS\Scheduler\Additional * * @param array $submittedData Array containing the data submitted by the user * @param \TYPO3\CMS\Scheduler\Task\AbstractTask $task Reference to the current task object - * @return void */ public function saveAdditionalFields(array $submittedData, \TYPO3\CMS\Scheduler\Task\AbstractTask $task) { diff --git a/typo3/sysext/scheduler/Classes/Execution.php b/typo3/sysext/scheduler/Classes/Execution.php index db9b9e760699..9df786cc766e 100644 --- a/typo3/sysext/scheduler/Classes/Execution.php +++ b/typo3/sysext/scheduler/Classes/Execution.php @@ -70,7 +70,6 @@ class Execution * This method is used to set the start date * * @param int $start Start date (timestamp) - * @return void */ public function setStart($start) { @@ -91,7 +90,6 @@ class Execution * This method is used to set the end date * * @param int $end End date (timestamp) - * @return void */ public function setEnd($end) { @@ -112,7 +110,6 @@ class Execution * This method is used to set the interval * * @param int $interval Interval (in seconds) - * @return void */ public function setInterval($interval) { @@ -133,7 +130,6 @@ class Execution * This method is used to set the multiple execution flag * * @param bool $multiple TRUE if concurrent executions are allowed, FALSE otherwise - * @return void */ public function setMultiple($multiple) { @@ -154,7 +150,6 @@ class Execution * Set the value of the cron command * * @param string $cmd Cron command, using cron-like syntax - * @return void */ public function setCronCmd($cmd) { @@ -181,7 +176,6 @@ class Execution * Upon next execution, this flag is set to FALSE. * * @param bool $isNewSingleExecution Is newly created single execution? - * @return void * @see \TYPO3\CMS\Scheduler\Execution::getNextExecution() */ public function setIsNewSingleExecution($isNewSingleExecution) diff --git a/typo3/sysext/scheduler/Classes/Scheduler.php b/typo3/sysext/scheduler/Classes/Scheduler.php index 70a096c2e0fe..f9f2f263de0a 100644 --- a/typo3/sysext/scheduler/Classes/Scheduler.php +++ b/typo3/sysext/scheduler/Classes/Scheduler.php @@ -93,8 +93,6 @@ class Scheduler implements \TYPO3\CMS\Core\SingletonInterface /** * Cleans the execution lists of the scheduled tasks, executions older than 24h are removed * @todo find a way to actually kill the job - * - * @return void */ protected function cleanExecutionArrays() { @@ -206,7 +204,6 @@ class Scheduler implements \TYPO3\CMS\Core\SingletonInterface * This method stores information about the last run of the Scheduler into the system registry * * @param string $type Type of run (manual or command-line (assumed to be cron)) - * @return void */ public function recordLastRun($type = 'cron') { @@ -458,7 +455,6 @@ class Scheduler implements \TYPO3\CMS\Core\SingletonInterface * @param string $message The message to write to the log * @param int $status Status (0 = message, 1 = error) * @param mixed $code Key for the message - * @return void */ public function log($message, $status = 0, $code = 'scheduler') { diff --git a/typo3/sysext/scheduler/Classes/Task/AbstractTask.php b/typo3/sysext/scheduler/Classes/Task/AbstractTask.php index 8cf8c5e59d2b..36d8b919210c 100644 --- a/typo3/sysext/scheduler/Classes/Task/AbstractTask.php +++ b/typo3/sysext/scheduler/Classes/Task/AbstractTask.php @@ -122,7 +122,6 @@ abstract class AbstractTask * This method is used to set the unique id of the task * * @param int $id Primary key (from the database record) of the scheduled task - * @return void */ public function setTaskUid($id) { @@ -183,7 +182,6 @@ abstract class AbstractTask * This method is used to set the disable status of the task * * @param bool $flag TRUE if task should be disabled, FALSE otherwise - * @return void */ public function setDisabled($flag) { @@ -218,7 +216,6 @@ abstract class AbstractTask * This method is used to set the timestamp corresponding to the next execution time of the task * * @param int $timestamp Timestamp of next execution - * @return void */ public function setExecutionTime($timestamp) { @@ -239,7 +236,6 @@ abstract class AbstractTask * This method is used to set the task group (uid) of the task * * @param int $taskGroup Uid of task group - * @return void */ public function setTaskGroup($taskGroup) { @@ -260,7 +256,6 @@ abstract class AbstractTask * This method is used to set the description of the task * * @param string $description Description - * @return void */ public function setDescription($description) { @@ -279,8 +274,6 @@ abstract class AbstractTask /** * Sets the internal reference to the singleton instance of the Scheduler - * - * @return void */ public function setScheduler() { @@ -291,8 +284,6 @@ abstract class AbstractTask * Unsets the internal reference to the singleton instance of the Scheduler * This is done before a task is serialized, so that the scheduler instance * is not saved to the database too - * - * @return void */ public function unsetScheduler() { @@ -326,7 +317,6 @@ abstract class AbstractTask * @param int $end The last date/time where this execution should occur (timestamp) * @param bool $multiple Set to FALSE if multiple executions of this task are not permitted in parallel * @param string $cron_cmd Used like in crontab (minute hour day month weekday) - * @return void */ public function registerRecurringExecution($start, $interval, $end = 0, $multiple = false, $cron_cmd = '') { @@ -472,7 +462,6 @@ abstract class AbstractTask * * @param int $executionID Id of the execution to remove. * @param \Exception $failure An exception to signal a failed execution - * @return void */ public function unmarkExecution($executionID, \Exception $failure = null) { @@ -571,8 +560,6 @@ abstract class AbstractTask /** * Stops the task, by replacing the execution object by an empty one * NOTE: the task still needs to be saved after that - * - * @return void */ public function stop() { @@ -581,8 +568,6 @@ abstract class AbstractTask /** * Removes the task totally from the system. - * - * @return void */ public function remove() { diff --git a/typo3/sysext/scheduler/Classes/Task/CachingFrameworkGarbageCollectionAdditionalFieldProvider.php b/typo3/sysext/scheduler/Classes/Task/CachingFrameworkGarbageCollectionAdditionalFieldProvider.php index ce3ad6abf04e..fb94f60a5325 100644 --- a/typo3/sysext/scheduler/Classes/Task/CachingFrameworkGarbageCollectionAdditionalFieldProvider.php +++ b/typo3/sysext/scheduler/Classes/Task/CachingFrameworkGarbageCollectionAdditionalFieldProvider.php @@ -85,7 +85,6 @@ class CachingFrameworkGarbageCollectionAdditionalFieldProvider implements \TYPO3 * * @param array $submittedData Contains data submitted by the user * @param \TYPO3\CMS\Scheduler\Task\AbstractTask $task Reference to the current task object - * @return void */ public function saveAdditionalFields(array $submittedData, \TYPO3\CMS\Scheduler\Task\AbstractTask $task) { diff --git a/typo3/sysext/scheduler/Classes/Task/FileStorageExtractionAdditionalFieldProvider.php b/typo3/sysext/scheduler/Classes/Task/FileStorageExtractionAdditionalFieldProvider.php index d59794b4d921..5ee83bbf4c2f 100644 --- a/typo3/sysext/scheduler/Classes/Task/FileStorageExtractionAdditionalFieldProvider.php +++ b/typo3/sysext/scheduler/Classes/Task/FileStorageExtractionAdditionalFieldProvider.php @@ -24,7 +24,6 @@ use TYPO3\CMS\Scheduler\Controller\SchedulerModuleController; /** * Additional BE fields for task which extracts metadata from storage - * */ class FileStorageExtractionAdditionalFieldProvider implements AdditionalFieldProviderInterface { @@ -172,7 +171,6 @@ class FileStorageExtractionAdditionalFieldProvider implements AdditionalFieldPro * * @param array $submittedData Contains data submitted by the user * @param \TYPO3\CMS\Scheduler\Task\AbstractTask $task Reference to the current task object - * @return void * @throws \InvalidArgumentException */ public function saveAdditionalFields(array $submittedData, \TYPO3\CMS\Scheduler\Task\AbstractTask $task) diff --git a/typo3/sysext/scheduler/Classes/Task/FileStorageIndexingAdditionalFieldProvider.php b/typo3/sysext/scheduler/Classes/Task/FileStorageIndexingAdditionalFieldProvider.php index 58214c6489e3..2e2242bc20f5 100644 --- a/typo3/sysext/scheduler/Classes/Task/FileStorageIndexingAdditionalFieldProvider.php +++ b/typo3/sysext/scheduler/Classes/Task/FileStorageIndexingAdditionalFieldProvider.php @@ -92,7 +92,6 @@ class FileStorageIndexingAdditionalFieldProvider implements \TYPO3\CMS\Scheduler * * @param array $submittedData Contains data submitted by the user * @param \TYPO3\CMS\Scheduler\Task\AbstractTask $task Reference to the current task object - * @return void * @throws \InvalidArgumentException */ public function saveAdditionalFields(array $submittedData, \TYPO3\CMS\Scheduler\Task\AbstractTask $task) diff --git a/typo3/sysext/scheduler/Classes/Task/OptimizeDatabaseTableAdditionalFieldProvider.php b/typo3/sysext/scheduler/Classes/Task/OptimizeDatabaseTableAdditionalFieldProvider.php index 0257d45ba690..c954349b70b5 100644 --- a/typo3/sysext/scheduler/Classes/Task/OptimizeDatabaseTableAdditionalFieldProvider.php +++ b/typo3/sysext/scheduler/Classes/Task/OptimizeDatabaseTableAdditionalFieldProvider.php @@ -109,7 +109,6 @@ class OptimizeDatabaseTableAdditionalFieldProvider implements AdditionalFieldPro * * @param array $submittedData Contains data submitted by the user * @param AbstractTask $task Reference to the current task object - * @return void */ public function saveAdditionalFields(array $submittedData, AbstractTask $task) { diff --git a/typo3/sysext/scheduler/Classes/Task/RecyclerGarbageCollectionAdditionalFieldProvider.php b/typo3/sysext/scheduler/Classes/Task/RecyclerGarbageCollectionAdditionalFieldProvider.php index 71764be9c5c2..0b75f4ac603e 100644 --- a/typo3/sysext/scheduler/Classes/Task/RecyclerGarbageCollectionAdditionalFieldProvider.php +++ b/typo3/sysext/scheduler/Classes/Task/RecyclerGarbageCollectionAdditionalFieldProvider.php @@ -84,7 +84,6 @@ class RecyclerGarbageCollectionAdditionalFieldProvider implements \TYPO3\CMS\Sch * * @param array $submittedData Contains data submitted by the user * @param \TYPO3\CMS\Scheduler\Task\AbstractTask $task Reference to the current task object - * @return void */ public function saveAdditionalFields(array $submittedData, \TYPO3\CMS\Scheduler\Task\AbstractTask $task) { diff --git a/typo3/sysext/scheduler/Classes/Task/TableGarbageCollectionAdditionalFieldProvider.php b/typo3/sysext/scheduler/Classes/Task/TableGarbageCollectionAdditionalFieldProvider.php index 734cb4c61e43..b829593fba24 100644 --- a/typo3/sysext/scheduler/Classes/Task/TableGarbageCollectionAdditionalFieldProvider.php +++ b/typo3/sysext/scheduler/Classes/Task/TableGarbageCollectionAdditionalFieldProvider.php @@ -44,8 +44,6 @@ class TableGarbageCollectionAdditionalFieldProvider implements \TYPO3\CMS\Schedu /** * Initialize the default number of days for all configured tables - * - * @return void */ protected function initDefaultNumberOfDays() { @@ -248,7 +246,6 @@ class TableGarbageCollectionAdditionalFieldProvider implements \TYPO3\CMS\Schedu * * @param array $submittedData Contains data submitted by the user * @param \TYPO3\CMS\Scheduler\Task\AbstractTask $task Reference to the current task object - * @return void */ public function saveAdditionalFields(array $submittedData, \TYPO3\CMS\Scheduler\Task\AbstractTask $task) { diff --git a/typo3/sysext/setup/Classes/Controller/SetupModuleController.php b/typo3/sysext/setup/Classes/Controller/SetupModuleController.php index 64ea54136d19..d670d11b685f 100644 --- a/typo3/sysext/setup/Classes/Controller/SetupModuleController.php +++ b/typo3/sysext/setup/Classes/Controller/SetupModuleController.php @@ -318,8 +318,6 @@ class SetupModuleController extends AbstractModule ******************************/ /** * Initializes the module for display of the settings form. - * - * @return void */ public function init() { @@ -359,8 +357,6 @@ class SetupModuleController extends AbstractModule /** * Generate the main settings form: - * - * @return void */ public function main() { @@ -740,8 +736,6 @@ class SetupModuleController extends AbstractModule /** * Will make the simulate-user selector if the logged in user is administrator. * It will also set the GLOBAL(!) BE_USER to the simulated user selected if any (and set $this->OLD_BE_USER to logged in user) - * - * @return void */ public function simulateUser() { @@ -1080,8 +1074,6 @@ class SetupModuleController extends AbstractModule /** * Add FlashMessages for various actions - * - * @return void */ protected function addFlashMessages() { @@ -1125,7 +1117,6 @@ class SetupModuleController extends AbstractModule /** * @param array $flashMessages * @throws \TYPO3\CMS\Core\Exception - * @return void */ protected function enqueueFlashMessages(array $flashMessages) { diff --git a/typo3/sysext/setup/Tests/Unit/SetupModuleControllerTest.php b/typo3/sysext/setup/Tests/Unit/SetupModuleControllerTest.php index 31be1a67e633..65c83169b803 100644 --- a/typo3/sysext/setup/Tests/Unit/SetupModuleControllerTest.php +++ b/typo3/sysext/setup/Tests/Unit/SetupModuleControllerTest.php @@ -24,7 +24,6 @@ class SetupModuleControllerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe { /** * @test - * @return void */ public function addFlashMessagesAddsMessagesIfSetupIsUpdated() { @@ -50,7 +49,6 @@ class SetupModuleControllerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe /** * @test - * @return void */ public function addFlashMessagesAddsMessageIfSettingsAreResetToDefault() { @@ -76,7 +74,6 @@ class SetupModuleControllerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe /** * @test - * @return void */ public function addFlashMessagesAddsMessageIfPasswordWasSuccessfullyUpdated() { @@ -102,7 +99,6 @@ class SetupModuleControllerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe /** * @test - * @return void */ public function addFlashMessagesAddsMessageIfOldPasswordWasWrong() { @@ -128,7 +124,6 @@ class SetupModuleControllerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe /** * @test - * @return void */ public function addFlashMessagesAddsMessageIfPasswordsNotTheSame() { @@ -154,7 +149,6 @@ class SetupModuleControllerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTe /** * @test - * @return void */ public function addFlashMessagesAddsMessagesToQueue() { diff --git a/typo3/sysext/sv/Classes/AbstractAuthenticationService.php b/typo3/sysext/sv/Classes/AbstractAuthenticationService.php index 3e9edaad128e..ff52a2f344bc 100644 --- a/typo3/sysext/sv/Classes/AbstractAuthenticationService.php +++ b/typo3/sysext/sv/Classes/AbstractAuthenticationService.php @@ -85,7 +85,6 @@ class AbstractAuthenticationService extends AbstractService * @param array $loginData Submitted login form data * @param array $authInfo Information array. Holds submitted form data etc. * @param AbstractUserAuthentication $pObj Parent object - * @return void */ public function initAuth($mode, $loginData, $authInfo, $pObj) { @@ -125,7 +124,6 @@ class AbstractAuthenticationService extends AbstractService * @param string $tablename Special field used by tce_main.php. These ($tablename, $recuid, $recpid) holds the reference to the record which the log-entry is about. (Was used in attic status.php to update the interface.) * @param int|string $recuid Special field used by tce_main.php. These ($tablename, $recuid, $recpid) holds the reference to the record which the log-entry is about. (Was used in attic status.php to update the interface.) * @param int|string $recpid Special field used by tce_main.php. These ($tablename, $recuid, $recpid) holds the reference to the record which the log-entry is about. (Was used in attic status.php to update the interface.) - * @return void */ public function writelog($type, $action, $error, $details_nr, $details, $data, $tablename = '', $recuid = '', $recpid = '') { diff --git a/typo3/sysext/sv/Tests/Unit/AuthenticationServiceTest.php b/typo3/sysext/sv/Tests/Unit/AuthenticationServiceTest.php index 2973ecf412a8..db4e3485d044 100644 --- a/typo3/sysext/sv/Tests/Unit/AuthenticationServiceTest.php +++ b/typo3/sysext/sv/Tests/Unit/AuthenticationServiceTest.php @@ -16,7 +16,6 @@ namespace TYPO3\CMS\Sv\Tests\Unit; /** * Testcase for class \TYPO3\CMS\Sv\AuthenticationService - * */ class AuthenticationServiceTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase { diff --git a/typo3/sysext/sys_action/Classes/ActionTask.php b/typo3/sysext/sys_action/Classes/ActionTask.php index efbb2a48989e..98d10ce2cf76 100644 --- a/typo3/sysext/sys_action/Classes/ActionTask.php +++ b/typo3/sysext/sys_action/Classes/ActionTask.php @@ -425,7 +425,6 @@ class ActionTask implements \TYPO3\CMS\Taskcenter\TaskInterface * * @param int $userId Id of the BE user * @param int $actionId Id of the action - * @return void */ protected function deleteUser($userId, $actionId) { @@ -702,7 +701,6 @@ class ActionTask implements \TYPO3\CMS\Taskcenter\TaskInterface * Create a user directory if defined * * @param int $uid Id of the user record - * @return void */ protected function action_createDir($uid) { @@ -757,7 +755,6 @@ class ActionTask implements \TYPO3\CMS\Taskcenter\TaskInterface * Action to create a new record * * @param array $record sys_action record - * @return void Redirect to form to create a record */ protected function viewNewRecord($record) { diff --git a/typo3/sysext/sys_note/Classes/Core/Bootstrap.php b/typo3/sysext/sys_note/Classes/Core/Bootstrap.php index f87cb83eb57a..98f0e65a1a9d 100644 --- a/typo3/sysext/sys_note/Classes/Core/Bootstrap.php +++ b/typo3/sysext/sys_note/Classes/Core/Bootstrap.php @@ -102,7 +102,6 @@ class Bootstrap * provides a clean way to force a controller and action in backend mode. * * @param array $arguments The arguments to set - * @return void */ protected function overrideGetArguments(array $arguments) { @@ -112,8 +111,6 @@ class Bootstrap /** * Revert previously backuped get arguments - * - * @return void */ protected function revertGetArguments() { diff --git a/typo3/sysext/sys_note/Classes/Domain/Model/SysNote.php b/typo3/sysext/sys_note/Classes/Domain/Model/SysNote.php index ec6cf95dd9fb..cf404ce83fd3 100644 --- a/typo3/sysext/sys_note/Classes/Domain/Model/SysNote.php +++ b/typo3/sysext/sys_note/Classes/Domain/Model/SysNote.php @@ -64,7 +64,6 @@ class SysNote extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param \DateTime $creationDate - * @return void */ public function setCreationDate($creationDate) { @@ -81,7 +80,6 @@ class SysNote extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param \DateTime $modificationDate - * @return void */ public function setModificationDate($modificationDate) { @@ -98,7 +96,6 @@ class SysNote extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param \TYPO3\CMS\Extbase\Domain\Model\BackendUser $author - * @return void */ public function setAuthor(\TYPO3\CMS\Extbase\Domain\Model\BackendUser $author) { @@ -115,7 +112,6 @@ class SysNote extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $subject - * @return void */ public function setSubject($subject) { @@ -132,7 +128,6 @@ class SysNote extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param string $message - * @return void */ public function setMessage($message) { @@ -149,7 +144,6 @@ class SysNote extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param bool $personal - * @return void */ public function setPersonal($personal) { @@ -166,7 +160,6 @@ class SysNote extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity /** * @param int $category - * @return void */ public function setCategory($category) { diff --git a/typo3/sysext/sys_note/Classes/Domain/Repository/SysNoteRepository.php b/typo3/sysext/sys_note/Classes/Domain/Repository/SysNoteRepository.php index cc36ebb7b93b..6f7f9a70196a 100644 --- a/typo3/sysext/sys_note/Classes/Domain/Repository/SysNoteRepository.php +++ b/typo3/sysext/sys_note/Classes/Domain/Repository/SysNoteRepository.php @@ -21,8 +21,6 @@ class SysNoteRepository extends \TYPO3\CMS\Extbase\Persistence\Repository { /** * Initialize the repository - * - * @return void */ public function initializeObject() { diff --git a/typo3/sysext/t3editor/Classes/Hook/TypoScriptTemplateInfoHook.php b/typo3/sysext/t3editor/Classes/Hook/TypoScriptTemplateInfoHook.php index c565e2ba1010..17d97f88372f 100644 --- a/typo3/sysext/t3editor/Classes/Hook/TypoScriptTemplateInfoHook.php +++ b/typo3/sysext/t3editor/Classes/Hook/TypoScriptTemplateInfoHook.php @@ -44,7 +44,6 @@ class TypoScriptTemplateInfoHook * Hook-function: inject t3editor JavaScript code before the page is compiled * called in \TYPO3\CMS\Backend\Template\DocumentTemplate:startPage * - * @return void * @see \TYPO3\CMS\Backend\Template\DocumentTemplate::startPage */ public function preStartPageHook() @@ -63,7 +62,6 @@ class TypoScriptTemplateInfoHook * * @param array $parameters * @param \TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController $pObj - * @return void */ public function postOutputProcessingHook($parameters, $pObj) { diff --git a/typo3/sysext/t3editor/Classes/T3editor.php b/typo3/sysext/t3editor/Classes/T3editor.php index 6eb523b791c1..2fc078fd96f4 100644 --- a/typo3/sysext/t3editor/Classes/T3editor.php +++ b/typo3/sysext/t3editor/Classes/T3editor.php @@ -102,7 +102,6 @@ class T3editor implements \TYPO3\CMS\Core\SingletonInterface * Set mode by file * * @param string $file - * @return void */ public function setModeByFile($file) { @@ -114,7 +113,6 @@ class T3editor implements \TYPO3\CMS\Core\SingletonInterface * Set mode by type * * @param string $type - * @return void */ public function setModeByType($type) { diff --git a/typo3/sysext/t3editor/Classes/TypoScriptReferenceLoader.php b/typo3/sysext/t3editor/Classes/TypoScriptReferenceLoader.php index 8a24330442ab..d76a318b7946 100644 --- a/typo3/sysext/t3editor/Classes/TypoScriptReferenceLoader.php +++ b/typo3/sysext/t3editor/Classes/TypoScriptReferenceLoader.php @@ -71,7 +71,6 @@ class TypoScriptReferenceLoader * Load XML file * * @param string $filepath - * @return void */ protected function loadFile($filepath) { diff --git a/typo3/sysext/taskcenter/Classes/Controller/TaskModuleController.php b/typo3/sysext/taskcenter/Classes/Controller/TaskModuleController.php index dbe8afa1e809..23a302e28f21 100644 --- a/typo3/sysext/taskcenter/Classes/Controller/TaskModuleController.php +++ b/typo3/sysext/taskcenter/Classes/Controller/TaskModuleController.php @@ -64,8 +64,6 @@ class TaskModuleController extends BaseScriptClass /** * Adds items to the ->MOD_MENU array. Used for the function menu selector. - * - * @return void */ public function menuConfig() { @@ -137,8 +135,6 @@ class TaskModuleController extends BaseScriptClass /** * Creates the module's content. In this case it rather acts as a kind of # * dispatcher redirecting requests to specific tasks. - * - * @return void */ public function main() { @@ -164,7 +160,6 @@ class TaskModuleController extends BaseScriptClass * Prints out the module's HTML * * @deprecated since TYPO3 v8, will be removed in TYPO3 v9 - * @return void */ public function printContent() { @@ -174,8 +169,6 @@ class TaskModuleController extends BaseScriptClass /** * Generates the module content by calling the selected task - * - * @return void */ protected function renderModuleContent() { @@ -244,8 +237,6 @@ class TaskModuleController extends BaseScriptClass /** * Generates the information content - * - * @return void */ protected function renderInformationContent() { @@ -418,8 +409,6 @@ class TaskModuleController extends BaseScriptClass /** * Create the panel of buttons for submitting the form or otherwise * perform operations. - * - * @return void */ protected function getButtons() { diff --git a/typo3/sysext/tstemplate/Classes/Controller/TemplateAnalyzerModuleFunctionController.php b/typo3/sysext/tstemplate/Classes/Controller/TemplateAnalyzerModuleFunctionController.php index 6b044fabd86e..d225a88a743a 100644 --- a/typo3/sysext/tstemplate/Classes/Controller/TemplateAnalyzerModuleFunctionController.php +++ b/typo3/sysext/tstemplate/Classes/Controller/TemplateAnalyzerModuleFunctionController.php @@ -52,7 +52,6 @@ class TemplateAnalyzerModuleFunctionController extends AbstractFunctionModule * * @param TypoScriptTemplateModuleController $pObj * @param array $conf - * @return void */ public function init(&$pObj, $conf) { diff --git a/typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateModuleController.php b/typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateModuleController.php index 9ecf93b8df29..af68eaab7645 100644 --- a/typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateModuleController.php +++ b/typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateModuleController.php @@ -129,8 +129,6 @@ class TypoScriptTemplateModuleController extends BaseScriptClass /** * Init - * - * @return void */ public function init() { @@ -144,8 +142,6 @@ class TypoScriptTemplateModuleController extends BaseScriptClass /** * Clear cache - * - * @return void */ public function clearCache() { @@ -159,8 +155,6 @@ class TypoScriptTemplateModuleController extends BaseScriptClass /** * Main - * - * @return void */ public function main() { @@ -249,7 +243,6 @@ class TypoScriptTemplateModuleController extends BaseScriptClass /** * Generates the menu based on $this->MOD_MENU * - * @return void * @throws \InvalidArgumentException */ protected function generateMenu() @@ -586,7 +579,6 @@ page.10.value = HELLO WORLD! * @param array $pArray * @param array $rlArr * @param array $row - * @return void */ public function setInPageArray(&$pArray, $rlArr, $row) { diff --git a/typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateObjectBrowserModuleFunctionController.php b/typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateObjectBrowserModuleFunctionController.php index 2460846cd7d6..7f9dd176c182 100644 --- a/typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateObjectBrowserModuleFunctionController.php +++ b/typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateObjectBrowserModuleFunctionController.php @@ -56,7 +56,6 @@ class TypoScriptTemplateObjectBrowserModuleFunctionController extends AbstractFu * * @param TypoScriptTemplateModuleController $pObj * @param array $conf - * @return void */ public function init(&$pObj, $conf) { @@ -388,7 +387,6 @@ class TypoScriptTemplateObjectBrowserModuleFunctionController extends AbstractFu * Add flash message to queue * * @param FlashMessage $flashMessage - * @return void */ protected function addFlashMessage(FlashMessage $flashMessage) { diff --git a/typo3/sysext/version/Classes/DataHandler/CommandMap.php b/typo3/sysext/version/Classes/DataHandler/CommandMap.php index 16d6dd34e2a6..d4197f2b7897 100644 --- a/typo3/sysext/version/Classes/DataHandler/CommandMap.php +++ b/typo3/sysext/version/Classes/DataHandler/CommandMap.php @@ -262,7 +262,6 @@ class CommandMap * * @param string $callbackMethod * @param array $arguments Optional leading arguments for the callback method - * @return void */ protected function invokeWorkspacesSwapItems($callbackMethod, array $arguments = []) { @@ -285,8 +284,6 @@ class CommandMap * Workspaces records that have children or (relative) parents which are versionized * but not published with this request, are removed from the command map. Otherwise * this would produce hanging record sets and lost references. - * - * @return void */ protected function resolveWorkspacesSwapDependencies() { @@ -305,7 +302,6 @@ class CommandMap * @param string $table * @param int $liveId * @param array $properties - * @return void */ protected function applyWorkspacesSwapBehaviour($table, $liveId, array $properties) { @@ -333,7 +329,6 @@ class CommandMap * @param string $table * @param int $liveId * @param array $properties - * @return void */ protected function addWorkspacesSwapElements(\TYPO3\CMS\Version\Dependency\DependencyResolver $dependency, $table, $liveId, array $properties) { @@ -357,7 +352,6 @@ class CommandMap * * @param string $callbackMethod * @param array $arguments Optional leading arguments for the callback method - * @return void */ protected function invokeWorkspacesSetStageItems($callbackMethod, array $arguments = []) { @@ -379,8 +373,6 @@ class CommandMap * Resolves workspaces related dependencies for staging of the command map. * Workspaces records that have children or (relative) parents which are versionized * but not staged with this request, are removed from the command map. - * - * @return void */ protected function resolveWorkspacesSetStageDependencies() { @@ -400,7 +392,6 @@ class CommandMap * @param string $table * @param string $versionIdList * @param array $properties - * @return void */ protected function applyWorkspacesSetStageBehaviour($table, $versionIdList, array $properties) { @@ -443,7 +434,6 @@ class CommandMap * @param string $table * @param string $versionId * @param array $properties - * @return void */ protected function addWorkspacesSetStageElements(\TYPO3\CMS\Version\Dependency\DependencyResolver $dependency, $table, $versionId, array $properties) { @@ -454,8 +444,6 @@ class CommandMap * Resolves workspaces related dependencies for clearing/flushing of the command map. * Workspaces records that have children or (relative) parents which are versionized * but not cleared/flushed with this request, are removed from the command map. - * - * @return void */ protected function resolveWorkspacesClearDependencies() { @@ -481,7 +469,6 @@ class CommandMap * @param string $table * @param string $versionIdList * @param array $properties - * @return void */ protected function explodeSetStage($table, $versionIdList, array $properties) { @@ -505,7 +492,6 @@ class CommandMap * * @param \TYPO3\CMS\Version\Dependency\DependencyResolver $dependency * @param string $scope - * @return void */ protected function applyWorkspacesDependencies(\TYPO3\CMS\Version\Dependency\DependencyResolver $dependency, $scope) { @@ -541,7 +527,6 @@ class CommandMap * * @param array $elements * @param string $scope - * @return void */ protected function purgeWithErrorMessage(array $elements, $scope) { @@ -564,7 +549,6 @@ class CommandMap * @param ElementEntity $intersectingElement * @param array $elements * @param string $scope - * @return void */ protected function update(ElementEntity $intersectingElement, array $elements, $scope) { @@ -594,7 +578,6 @@ class CommandMap * Merges command map elements to the top of the current command map.. * * @param array $commandMap - * @return void */ protected function mergeToTop(array $commandMap) { @@ -606,7 +589,6 @@ class CommandMap * Merges command map elements to the bottom of the current command map. * * @param array $commandMap - * @return void */ protected function mergeToBottom(array $commandMap) { @@ -619,7 +601,6 @@ class CommandMap * @param string $table * @param string $id * @param string $command (optional) - * @return void */ protected function remove($table, $id, $command = null) { @@ -770,8 +751,6 @@ class CommandMap /** * Constructs the scope settings. * Currently the scopes for swapping/publishing and staging are available. - * - * @return void */ protected function constructScopes() { diff --git a/typo3/sysext/version/Classes/Dependency/DependencyResolver.php b/typo3/sysext/version/Classes/Dependency/DependencyResolver.php index acc1fd459ea3..e3dd2730b180 100644 --- a/typo3/sysext/version/Classes/Dependency/DependencyResolver.php +++ b/typo3/sysext/version/Classes/Dependency/DependencyResolver.php @@ -149,7 +149,6 @@ class DependencyResolver * Processes and registers the outermost parents accordant to the registered elements. * * @param \TYPO3\CMS\Version\Dependency\ElementEntity $element - * @return void */ protected function processOuterMostParent(\TYPO3\CMS\Version\Dependency\ElementEntity $element) { diff --git a/typo3/sysext/version/Classes/Dependency/ElementEntity.php b/typo3/sysext/version/Classes/Dependency/ElementEntity.php index 80778aa20a34..a2bb594068ab 100644 --- a/typo3/sysext/version/Classes/Dependency/ElementEntity.php +++ b/typo3/sysext/version/Classes/Dependency/ElementEntity.php @@ -176,7 +176,6 @@ class ElementEntity * * @param string $key * @param mixed $value - * @return void */ public function setDataValue($key, $value) { diff --git a/typo3/sysext/version/Classes/Dependency/ElementEntityProcessor.php b/typo3/sysext/version/Classes/Dependency/ElementEntityProcessor.php index 70cfc49893bf..ca1f13a37909 100644 --- a/typo3/sysext/version/Classes/Dependency/ElementEntityProcessor.php +++ b/typo3/sysext/version/Classes/Dependency/ElementEntityProcessor.php @@ -171,7 +171,6 @@ class ElementEntityProcessor * @param array $callerArguments * @param array $targetArgument * @param string $eventName - * @return void */ public function createNewDependentElementCallback(array $callerArguments, array $targetArgument, ElementEntity $caller, $eventName) { diff --git a/typo3/sysext/version/Classes/Hook/DataHandlerHook.php b/typo3/sysext/version/Classes/Hook/DataHandlerHook.php index 8ae7778f6d53..548fc08e842c 100644 --- a/typo3/sysext/version/Classes/Hook/DataHandlerHook.php +++ b/typo3/sysext/version/Classes/Hook/DataHandlerHook.php @@ -61,7 +61,6 @@ class DataHandlerHook * hook that is called before any cmd of the commandmap is executed * * @param DataHandler $dataHandler reference to the main DataHandler object - * @return void */ public function processCmdmap_beforeStart(DataHandler $dataHandler) { @@ -80,7 +79,6 @@ class DataHandlerHook * @param mixed $value the value containing the data * @param bool $commandIsProcessed can be set so that other hooks or * @param DataHandler $dataHandler reference to the main DataHandler object - * @return void */ public function processCmdmap($command, $table, $id, $value, &$commandIsProcessed, DataHandler $dataHandler) { @@ -130,7 +128,6 @@ class DataHandlerHook * executed * * @param DataHandler $dataHandler reference to the main DataHandler object - * @return void */ public function processCmdmap_afterFinish(DataHandler $dataHandler) { @@ -152,7 +149,6 @@ class DataHandlerHook * @param array $record The accordant database record * @param bool $recordWasDeleted can be set so that other hooks or * @param DataHandler $dataHandler reference to the main DataHandler object - * @return void */ public function processCmdmap_deleteAction($table, $id, array $record, &$recordWasDeleted, DataHandler $dataHandler) { @@ -279,7 +275,6 @@ class DataHandlerHook * @param int $resolvedPid The final page ID of the record * @param bool $recordWasMoved can be set so that other hooks or * @param DataHandler $dataHandler - * @return void */ public function moveRecord($table, $uid, $destPid, array $propArr, array $moveRec, $resolvedPid, &$recordWasMoved, DataHandler $dataHandler) { @@ -361,7 +356,6 @@ class DataHandlerHook * @param int $resolvedPageId Resolved real destination page id * @param string $table Name of parent table * @param int $uid UID of the parent record - * @return void */ protected function moveRecord_processFields(DataHandler $dataHandler, $resolvedPageId, $table, $uid) { @@ -391,7 +385,6 @@ class DataHandlerHook * @param string $field Name of the field of the parent record * @param string $value Value of the field of the parent record * @param array $configuration TCA field configuration of the parent record - * @return void */ protected function moveRecord_processFieldValue(DataHandler $dataHandler, $resolvedPageId, $table, $uid, $field, $value, array $configuration) { @@ -437,7 +430,6 @@ class DataHandlerHook * @param string $comment User comment sent along with action * @param DataHandler $dataHandler DataHandler object * @param array $notificationAlternativeRecipients List of recipients to notify instead of be_users selected by sys_workspace, list is generated by workspace extension module - * @return void */ protected function notifyStageChange(array $stat, $stageId, $table, $id, $comment, DataHandler $dataHandler, array $notificationAlternativeRecipients = []) { @@ -706,7 +698,6 @@ class DataHandlerHook * @param bool $notificationEmailInfo Accumulate state changes in memory for compiled notification email? * @param DataHandler $dataHandler DataHandler object * @param array $notificationAlternativeRecipients comma separated list of recipients to notify instead of normal be_users - * @return void */ protected function version_setStage($table, $id, $stageId, $comment = '', $notificationEmailInfo = false, DataHandler $dataHandler, array $notificationAlternativeRecipients = []) { @@ -763,7 +754,6 @@ class DataHandlerHook * @param string $comment Notification comment * @param bool $notificationEmailInfo Accumulate state changes in memory for compiled notification email? * @param array $notificationAlternativeRecipients comma separated list of recipients to notificate instead of normal be_users - * @return void */ protected function version_swap($table, $id, $swapWith, $swapIntoWS = 0, DataHandler $dataHandler, $comment = '', $notificationEmailInfo = false, $notificationAlternativeRecipients = []) { @@ -1030,7 +1020,6 @@ class DataHandlerHook * @param \TYPO3\CMS\Core\Database\RelationHandler $dbAnalysis Instance that holds the sorting order of child records * @param array $configuration The TCA field configuration * @param int $parentId The uid of the parent record - * @return void */ public function writeRemappedForeignField(\TYPO3\CMS\Core\Database\RelationHandler $dbAnalysis, array $configuration, $parentId) { @@ -1052,7 +1041,6 @@ class DataHandlerHook * @param array $liveData: Live record data * @param array $versionData: Version record data * @param DataHandler $dataHandler Calling data-handler object - * @return void */ protected function version_swap_processFields($tableName, $fieldName, array $configuration, array $liveData, array $versionData, DataHandler $dataHandler) { @@ -1101,7 +1089,6 @@ class DataHandlerHook * @param int[] $foreignIds * @param array $configuration * @param int $targetWorkspaceId - * @return void * @internal */ public function updateInlineForeignFieldSorting($parentTableName, $parentId, $foreignTableName, $foreignIds, array $configuration, $targetWorkspaceId) @@ -1131,7 +1118,6 @@ class DataHandlerHook * @param int $id Record UID * @param bool $flush If set, will completely delete element * @param DataHandler $dataHandler DataHandler object - * @return void */ protected function version_clearWSID($table, $id, $flush = false, DataHandler $dataHandler) { @@ -1273,7 +1259,6 @@ class DataHandlerHook * @param array $pageIdList List of PIDs to search * @param int $workspaceId Workspace ID * @param array $elementList List of found elements. Key is table name, value is array of element UIDs - * @return void */ public function findPageElementsForVersionStageChange(array $pageIdList, $workspaceId, array &$elementList) { @@ -1332,7 +1317,6 @@ class DataHandlerHook * @param int $workspaceId Workspace ID. We need this parameter because user can be in LIVE but he still can publisg DRAFT from ws module! * @param array $pageIdList List of found page UIDs * @param array $elementList List of found element UIDs. Key is table name, value is list of UIDs - * @return void */ public function findPageIdsForVersionStateChange($table, array $idList, $workspaceId, array &$pageIdList, array &$elementList) { @@ -1388,7 +1372,6 @@ class DataHandlerHook * Finds real page IDs for state change. * * @param array $idList List of page UIDs, possibly versioned - * @return void */ public function findRealPageIds(array &$idList) { @@ -1411,7 +1394,6 @@ class DataHandlerHook * @param int $destPid Position to move to: $destPid: >=0 then it points to a page-id on which to insert the record (as the first element). <0 then it points to a uid from its own table after which to insert it (works if * @param int $wsUid UID of offline version of online record * @param DataHandler $dataHandler DataHandler object - * @return void * @see moveRecord() */ protected function moveRecord_wsPlaceholders($table, $uid, $destPid, $wsUid, DataHandler $dataHandler) diff --git a/typo3/sysext/viewpage/Classes/Controller/ViewModuleController.php b/typo3/sysext/viewpage/Classes/Controller/ViewModuleController.php index ac61d77168d2..cc8d6a8a4a5a 100644 --- a/typo3/sysext/viewpage/Classes/Controller/ViewModuleController.php +++ b/typo3/sysext/viewpage/Classes/Controller/ViewModuleController.php @@ -88,8 +88,6 @@ class ViewModuleController extends ActionController /** * Gets called before each action - * - * @return void */ public function initializeAction() { @@ -100,8 +98,6 @@ class ViewModuleController extends ActionController /** * Show selected page from pagetree in iframe - * - * @return void */ public function showAction() { diff --git a/typo3/sysext/workspaces/Classes/Controller/AbstractController.php b/typo3/sysext/workspaces/Classes/Controller/AbstractController.php index 92f8572b97eb..2c27af85c022 100644 --- a/typo3/sysext/workspaces/Classes/Controller/AbstractController.php +++ b/typo3/sysext/workspaces/Classes/Controller/AbstractController.php @@ -55,8 +55,6 @@ class AbstractController extends ActionController /** * Initializes the controller before invoking an action method. - * - * @return void */ protected function initializeAction() { @@ -95,8 +93,6 @@ class AbstractController extends ActionController /** * Assigns additional Workspace settings to TYPO3.settings.Workspaces.extension - * - * @return void */ protected function assignExtensionSettings() { diff --git a/typo3/sysext/workspaces/Classes/Controller/PreviewController.php b/typo3/sysext/workspaces/Classes/Controller/PreviewController.php index a199d8f7a259..da62bcc280a9 100644 --- a/typo3/sysext/workspaces/Classes/Controller/PreviewController.php +++ b/typo3/sysext/workspaces/Classes/Controller/PreviewController.php @@ -57,8 +57,6 @@ class PreviewController extends AbstractController /** * Initializes the controller before invoking an action method. - * - * @return void */ protected function initializeAction() { @@ -79,7 +77,6 @@ class PreviewController extends AbstractController * only the frames-urls we've to generate here * * @param int $previewWS - * @return void */ public function indexAction($previewWS = null) { @@ -190,7 +187,6 @@ class PreviewController extends AbstractController } /** - * @return void */ public function newPageAction() { diff --git a/typo3/sysext/workspaces/Classes/Controller/Remote/ActionHandler.php b/typo3/sysext/workspaces/Classes/Controller/Remote/ActionHandler.php index 688befb4fb94..adc2669a3ddb 100644 --- a/typo3/sysext/workspaces/Classes/Controller/Remote/ActionHandler.php +++ b/typo3/sysext/workspaces/Classes/Controller/Remote/ActionHandler.php @@ -69,7 +69,6 @@ class ActionHandler extends AbstractHandler * @param string $table * @param int $t3ver_oid * @param int $orig_uid - * @return void * @todo What about reporting errors back to the ExtJS interface? /olly/ */ public function swapSingleRecord($table, $t3ver_oid, $orig_uid) @@ -92,7 +91,6 @@ class ActionHandler extends AbstractHandler * * @param string $table * @param int $uid - * @return void * @todo What about reporting errors back to the ExtJS interface? /olly/ */ public function deleteSingleRecord($table, $uid) @@ -189,7 +187,6 @@ class ActionHandler extends AbstractHandler * Saves the selected columns to be shown to the preferences of the current backend user. * * @param \stdClass $model - * @return void */ public function saveColumnModel($model) { @@ -217,7 +214,6 @@ class ActionHandler extends AbstractHandler * Saves the selected language. * * @param int|string $language - * @return void */ public function saveLanguageSelection($language) { diff --git a/typo3/sysext/workspaces/Classes/Controller/ReviewController.php b/typo3/sysext/workspaces/Classes/Controller/ReviewController.php index 7dd689ac2fee..2ffb5ddc7c5b 100644 --- a/typo3/sysext/workspaces/Classes/Controller/ReviewController.php +++ b/typo3/sysext/workspaces/Classes/Controller/ReviewController.php @@ -61,8 +61,6 @@ class ReviewController extends AbstractController /** * Renders the review module user dependent with all workspaces. * The module will show all records of one workspace. - * - * @return void */ public function indexAction() { @@ -132,8 +130,6 @@ class ReviewController extends AbstractController /** * Renders the review module user dependent. * The module will show all records of all workspaces. - * - * @return void */ public function fullIndexAction() { @@ -164,8 +160,6 @@ class ReviewController extends AbstractController /** * Renders the review module for a single page. This is used within the * workspace-preview frame. - * - * @return void */ public function singleIndexAction() { @@ -194,8 +188,6 @@ class ReviewController extends AbstractController /** * Initializes the controller before invoking an action method. - * - * @return void */ protected function initializeAction() { diff --git a/typo3/sysext/workspaces/Classes/Domain/Model/CombinedRecord.php b/typo3/sysext/workspaces/Classes/Domain/Model/CombinedRecord.php index 9bac649f6539..24ae0d5994a0 100644 --- a/typo3/sysext/workspaces/Classes/Domain/Model/CombinedRecord.php +++ b/typo3/sysext/workspaces/Classes/Domain/Model/CombinedRecord.php @@ -92,7 +92,6 @@ class CombinedRecord * Sets the name of the database table. * * @param string $table - * @return void */ public function setTable($table) { @@ -113,7 +112,6 @@ class CombinedRecord * Sets the live-record object. * * @param \TYPO3\CMS\Workspaces\Domain\Model\DatabaseRecord $liveRecord - * @return void */ public function setLiveRecord(DatabaseRecord $liveRecord) { @@ -134,7 +132,6 @@ class CombinedRecord * Sets the version-record object. * * @param \TYPO3\CMS\Workspaces\Domain\Model\DatabaseRecord $versionRecord - * @return void */ public function setVersionRecord(DatabaseRecord $versionRecord) { diff --git a/typo3/sysext/workspaces/Classes/Domain/Model/DatabaseRecord.php b/typo3/sysext/workspaces/Classes/Domain/Model/DatabaseRecord.php index 4919d0ed7b9e..fb3a1dd35fa0 100644 --- a/typo3/sysext/workspaces/Classes/Domain/Model/DatabaseRecord.php +++ b/typo3/sysext/workspaces/Classes/Domain/Model/DatabaseRecord.php @@ -86,7 +86,6 @@ class DatabaseRecord * Sets the name of the database table. * * @param string $table - * @return void */ public function setTable($table) { @@ -107,7 +106,6 @@ class DatabaseRecord * Sets the id of the database record row. * * @param int $uid - * @return void */ public function setUid($uid) { @@ -129,7 +127,6 @@ class DatabaseRecord * Sets the database record row. * * @param array $row - * @return void */ public function setRow(array $row) { @@ -148,8 +145,6 @@ class DatabaseRecord /** * Loads the database record row (if not available yet). - * - * @return void */ protected function loadRow() { diff --git a/typo3/sysext/workspaces/Classes/Hook/BackendUtilityHook.php b/typo3/sysext/workspaces/Classes/Hook/BackendUtilityHook.php index 50f5d51de7bb..f477383b477b 100644 --- a/typo3/sysext/workspaces/Classes/Hook/BackendUtilityHook.php +++ b/typo3/sysext/workspaces/Classes/Hook/BackendUtilityHook.php @@ -42,7 +42,6 @@ class BackendUtilityHook implements \TYPO3\CMS\Core\SingletonInterface * @param string $viewScript * @param string $additionalGetVars * @param bool $switchFocus - * @return void */ public function preProcess(&$pageUid, $backPath, $rootLine, $anchorSection, &$viewScript, $additionalGetVars, $switchFocus) { diff --git a/typo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php b/typo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php index e1055711cd84..a77acd455e7d 100644 --- a/typo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php +++ b/typo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php @@ -36,7 +36,6 @@ class DataHandlerHook * @param string $id * @param string $value * @param \TYPO3\CMS\Core\DataHandling\DataHandler $dataHandler - * @return void */ public function processCmdmap_postProcess($command, $table, $id, $value, \TYPO3\CMS\Core\DataHandling\DataHandler $dataHandler) { @@ -54,7 +53,6 @@ class DataHandlerHook * executed * * @param \TYPO3\CMS\Core\DataHandling\DataHandler $dataHandler reference to the main DataHandler object - * @return void */ public function processCmdmap_afterFinish(\TYPO3\CMS\Core\DataHandling\DataHandler $dataHandler) { @@ -67,7 +65,6 @@ class DataHandlerHook * as orphan records. * * @param int $stageId Elements with this stage are resetted - * @return void */ protected function resetStageOfElements($stageId) { @@ -102,7 +99,6 @@ class DataHandlerHook * Flushes elements of a particular workspace to avoid orphan records. * * @param int $workspaceId The workspace to be flushed - * @return void */ protected function flushWorkspaceElements($workspaceId) { @@ -156,7 +152,6 @@ class DataHandlerHook * Flushes the workspace cache for current workspace and for the virtual "all workspaces" too. * * @param int $workspaceId The workspace to be flushed in cache - * @return void */ protected function flushWorkspaceCacheEntriesByWorkspaceId($workspaceId) { diff --git a/typo3/sysext/workspaces/Classes/Hook/PreviewHook.php b/typo3/sysext/workspaces/Classes/Hook/PreviewHook.php index 2756189a7641..a4c5e96fb009 100644 --- a/typo3/sysext/workspaces/Classes/Hook/PreviewHook.php +++ b/typo3/sysext/workspaces/Classes/Hook/PreviewHook.php @@ -63,7 +63,6 @@ class PreviewHook implements \TYPO3\CMS\Core\SingletonInterface * * @param array $params (not needed right now) * @param \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController $pObj - * @return void */ public function checkForPreview($params, &$pObj) { @@ -102,7 +101,6 @@ class PreviewHook implements \TYPO3\CMS\Core\SingletonInterface * * @param array $params holding the BE_USER object * @param \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController $pObj - * @return void */ public function initializePreviewUser(&$params, &$pObj) { diff --git a/typo3/sysext/workspaces/Classes/Hook/TypoScriptFrontendControllerHook.php b/typo3/sysext/workspaces/Classes/Hook/TypoScriptFrontendControllerHook.php index 6fc8cce4754f..0d103983b58f 100644 --- a/typo3/sysext/workspaces/Classes/Hook/TypoScriptFrontendControllerHook.php +++ b/typo3/sysext/workspaces/Classes/Hook/TypoScriptFrontendControllerHook.php @@ -22,7 +22,6 @@ class TypoScriptFrontendControllerHook /** * @param array $params * @param \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController $pObj - * @return void */ public function hook_eofe($params, $pObj) { diff --git a/typo3/sysext/workspaces/Classes/Hooks/PagetreeCollectionsProcessor.php b/typo3/sysext/workspaces/Classes/Hooks/PagetreeCollectionsProcessor.php index a36b4f925773..6a51d4d7be2a 100644 --- a/typo3/sysext/workspaces/Classes/Hooks/PagetreeCollectionsProcessor.php +++ b/typo3/sysext/workspaces/Classes/Hooks/PagetreeCollectionsProcessor.php @@ -32,7 +32,6 @@ class PagetreeCollectionsProcessor implements \TYPO3\CMS\Backend\Tree\Pagetree\C * @param int $mountPoint * @param int $level * @param \TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNodeCollection $nodeCollection - * @return void */ public function postProcessGetNodes($node, $mountPoint, $level, $nodeCollection) { @@ -47,7 +46,6 @@ class PagetreeCollectionsProcessor implements \TYPO3\CMS\Backend\Tree\Pagetree\C * @param string $searchFilter * @param int $mountPoint * @param \TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNodeCollection $nodeCollection - * @return void */ public function postProcessFilteredNodes($node, $searchFilter, $mountPoint, $nodeCollection) { @@ -60,7 +58,6 @@ class PagetreeCollectionsProcessor implements \TYPO3\CMS\Backend\Tree\Pagetree\C /** * @param string $searchFilter * @param \TYPO3\CMS\Backend\Tree\Pagetree\PagetreeNodeCollection $nodeCollection - * @return void */ public function postProcessGetTreeMounts($searchFilter, $nodeCollection) { @@ -75,7 +72,6 @@ class PagetreeCollectionsProcessor implements \TYPO3\CMS\Backend\Tree\Pagetree\C * in the current workspace * * @param \TYPO3\CMS\Backend\Tree\TreeNode $node - * @return void */ protected function highlightVersionizedElements(\TYPO3\CMS\Backend\Tree\TreeNode $node) { diff --git a/typo3/sysext/workspaces/Classes/Service/AdditionalColumnService.php b/typo3/sysext/workspaces/Classes/Service/AdditionalColumnService.php index e7a272886d76..538ab7478ec6 100644 --- a/typo3/sysext/workspaces/Classes/Service/AdditionalColumnService.php +++ b/typo3/sysext/workspaces/Classes/Service/AdditionalColumnService.php @@ -45,7 +45,6 @@ class AdditionalColumnService implements \TYPO3\CMS\Core\SingletonInterface * * @param string $columnName * @param string|object $dataProviderClassOrObject - * @return void * @throws \RuntimeException */ public function register($columnName, $dataProviderClassOrObject) diff --git a/typo3/sysext/workspaces/Classes/Service/AdditionalResourceService.php b/typo3/sysext/workspaces/Classes/Service/AdditionalResourceService.php index 92123eb98294..6ce5ad35c273 100644 --- a/typo3/sysext/workspaces/Classes/Service/AdditionalResourceService.php +++ b/typo3/sysext/workspaces/Classes/Service/AdditionalResourceService.php @@ -55,7 +55,6 @@ class AdditionalResourceService implements \TYPO3\CMS\Core\SingletonInterface /** * @param string $name * @param string $resourcePath - * @return void */ public function addJavaScriptResource($name, $resourcePath) { @@ -65,7 +64,6 @@ class AdditionalResourceService implements \TYPO3\CMS\Core\SingletonInterface /** * @param string $name * @param string $resourcePath - * @return void */ public function addStylesheetResource($name, $resourcePath) { @@ -74,7 +72,6 @@ class AdditionalResourceService implements \TYPO3\CMS\Core\SingletonInterface /** * @param string $resourcePath - * @return void */ public function addLocalizationResource($resourcePath) { diff --git a/typo3/sysext/workspaces/Classes/Service/AutoPublishService.php b/typo3/sysext/workspaces/Classes/Service/AutoPublishService.php index 1006f4c7ef88..b2484568d866 100644 --- a/typo3/sysext/workspaces/Classes/Service/AutoPublishService.php +++ b/typo3/sysext/workspaces/Classes/Service/AutoPublishService.php @@ -28,8 +28,6 @@ class AutoPublishService * the autopublication process * It searches for workspaces whose publication date is in the past * and publishes them - * - * @return void */ public function autoPublishWorkspaces() { diff --git a/typo3/sysext/workspaces/Classes/Service/GridDataService.php b/typo3/sysext/workspaces/Classes/Service/GridDataService.php index 8fc60ab445cf..a80240ec02ac 100644 --- a/typo3/sysext/workspaces/Classes/Service/GridDataService.php +++ b/typo3/sysext/workspaces/Classes/Service/GridDataService.php @@ -113,7 +113,6 @@ class GridDataService * * @param array $versions All available version records * @param string $filterTxt Text to be used to filter record result - * @return void */ protected function generateDataArray(array $versions, $filterTxt) { @@ -233,8 +232,6 @@ class GridDataService /** * Resolves dependencies of nested structures * and sort data elements considering these dependencies. - * - * @return void */ protected function resolveDataArrayDependencies() { @@ -283,8 +280,6 @@ class GridDataService /** * Initializes the workspace cache - * - * @return void */ protected function initializeWorkspacesCachingFramework() { @@ -347,8 +342,6 @@ class GridDataService /** * Performs sorting on the data array accordant to the * selected column in the grid view to be used for sorting. - * - * @return void */ protected function sortDataArray() { diff --git a/typo3/sysext/workspaces/Classes/Service/IntegrityService.php b/typo3/sysext/workspaces/Classes/Service/IntegrityService.php index 547adfe2ac10..1c833bbffd7f 100644 --- a/typo3/sysext/workspaces/Classes/Service/IntegrityService.php +++ b/typo3/sysext/workspaces/Classes/Service/IntegrityService.php @@ -81,7 +81,6 @@ class IntegrityService * Sets the affected elements. * * @param \TYPO3\CMS\Workspaces\Domain\Model\CombinedRecord[] $affectedElements - * @return void */ public function setAffectedElements(array $affectedElements) { @@ -90,8 +89,6 @@ class IntegrityService /** * Checks integrity of affected records. - * - * @return void */ public function check() { @@ -104,7 +101,6 @@ class IntegrityService * Checks a single element. * * @param \TYPO3\CMS\Workspaces\Domain\Model\CombinedRecord $element - * @return void */ public function checkElement(\TYPO3\CMS\Workspaces\Domain\Model\CombinedRecord $element) { @@ -118,7 +114,6 @@ class IntegrityService * then boths (localization and localization parent) should be published. * * @param \TYPO3\CMS\Workspaces\Domain\Model\CombinedRecord $element - * @return void */ protected function checkLocalization(\TYPO3\CMS\Workspaces\Domain\Model\CombinedRecord $element) { @@ -232,7 +227,6 @@ class IntegrityService * @param string $identifier Record identifier (table:id) * @param int $status Status code (see constants) * @param string $message Message/description of the issue - * @return void */ protected function addIssue($identifier, $status, $message) { diff --git a/typo3/sysext/workspaces/Classes/Service/StagesService.php b/typo3/sysext/workspaces/Classes/Service/StagesService.php index cee3f2441ce4..2e24df50f935 100644 --- a/typo3/sysext/workspaces/Classes/Service/StagesService.php +++ b/typo3/sysext/workspaces/Classes/Service/StagesService.php @@ -580,7 +580,6 @@ class StagesService implements \TYPO3\CMS\Core\SingletonInterface /** * @param array $groups - * @return void */ private function fetchGroupsFromDB(array $groups) { diff --git a/typo3/sysext/workspaces/Tests/Functional/ActionHandler/ActionHandlerTest.php b/typo3/sysext/workspaces/Tests/Functional/ActionHandler/ActionHandlerTest.php index b2c049454e99..40ed63b024e0 100644 --- a/typo3/sysext/workspaces/Tests/Functional/ActionHandler/ActionHandlerTest.php +++ b/typo3/sysext/workspaces/Tests/Functional/ActionHandler/ActionHandlerTest.php @@ -28,8 +28,6 @@ class ActionHandlerTest extends \TYPO3\TestingFramework\Core\Functional\Function /** * Set up - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceStageVisibleFieldsTest.php b/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceStageVisibleFieldsTest.php index 11af98d52d47..6059cd9b0138 100644 --- a/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceStageVisibleFieldsTest.php +++ b/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceStageVisibleFieldsTest.php @@ -39,8 +39,6 @@ class WorkspaceStageVisibleFieldsTest extends \TYPO3\TestingFramework\Core\Funct /** * Sets up this test case. - * - * @return void */ protected function setUp() { diff --git a/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceVisibleFieldsTest.php b/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceVisibleFieldsTest.php index c81c345e29ce..6137754cb8e3 100644 --- a/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceVisibleFieldsTest.php +++ b/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceVisibleFieldsTest.php @@ -55,8 +55,6 @@ class WorkspaceVisibleFieldsTest extends \TYPO3\TestingFramework\Core\Functional /** * Sets up this test case. - * - * @return void */ protected function setUp() { -- GitLab