[BUGFIX] LanguageController has "mixed" type annotations 20/18920/2
authorWouter Wolters <typo3@wouterwolters.nl>
Sun, 3 Feb 2013 13:11:07 +0000 (14:11 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 14 Mar 2013 19:09:44 +0000 (20:09 +0100)
The LanguageController of the lang sysext throws
exceptions if the rewritten property mapper is enabled.
The type annotation 'mixed' is unknown. The patch fixed
the annotation to the correct string value to make the
property mapper happy.

Change-Id: I57ebd268d2fe82c095ccf20b581e721703fb2868
Fixes: #44672
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/18920
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/lang/Classes/Controller/LanguageController.php

index b12dba0..64680a6 100644 (file)
@@ -133,10 +133,11 @@ class LanguageController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControl
        }
 
        /**
-        * Update translation for one extension
+        * Update translation for one extension.
+        * The view of this action returns JSON!
         *
         * @param string $extension The extension key
-        * @param mixed $locales List or array of locales to update
+        * @param string $locales Comma separated list of locales to update
         * @return void
         */
        public function updateTranslationAction($extension, $locales) {