[TASK] Add missing @return phpDoc tags 27/58127/3
authorWouter Wolters <typo3@wouterwolters.nl>
Sun, 2 Sep 2018 15:24:58 +0000 (17:24 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 2 Sep 2018 16:09:17 +0000 (18:09 +0200)
Resolves: #86087
Releases: master
Change-Id: I6451f520eff1ce0281afda61b0c49eafc2a9a8cb
Reviewed-on: https://review.typo3.org/58127
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Controller/ContentElement/ElementHistoryController.php
typo3/sysext/fluid/Classes/Core/Widget/AbstractWidgetViewHelper.php
typo3/sysext/form/Classes/Mvc/Configuration/YamlSource.php
typo3/sysext/frontend/Classes/DataProcessing/MenuProcessor.php

index b96ee1f..8c5e59a 100644 (file)
@@ -202,6 +202,7 @@ class ElementHistoryController
      * Displays settings evaluation
      *
      * @param ServerRequestInterface $request
+     * @return array
      */
     protected function prepareDisplaySettings(ServerRequestInterface $request)
     {
index 7152321..9e369af 100644 (file)
@@ -229,6 +229,7 @@ abstract class AbstractWidgetViewHelper extends AbstractViewHelper
      * @param string $initializationPhpCode
      * @param ViewHelperNode $node
      * @param TemplateCompiler $compiler
+     * @return string
      */
     public function compile($argumentsName, $closureName, &$initializationPhpCode, ViewHelperNode $node, TemplateCompiler $compiler)
     {
index a7a4adc..38c78f1 100644 (file)
@@ -109,6 +109,7 @@ class YamlSource
      *
      * @param File|string $fileToSave The file to write to.
      * @param array $configuration The configuration to save
+     * @return mixed
      * @throws FileWriteException if the file could not be written
      * @internal
      */
index 2e7534e..258ab62 100644 (file)
@@ -451,6 +451,7 @@ class MenuProcessor implements DataProcessorInterface
      *
      * @param array $page
      * @param array $processorConfiguration
+     * @return array
      */
     protected function processAdditionalDataProcessors($page, $processorConfiguration)
     {
@@ -505,6 +506,7 @@ class MenuProcessor implements DataProcessorInterface
      *
      * @param array $menuItem
      * @param array $conf
+     * @return array
      */
     public function replacePlaceholderInRenderedMenuItem($menuItem, $conf)
     {