[TASK] Fix phpDoc of BackendUtility::displayWarningMessages 90/17190/3
authorSebastian Michaelsen <michaelsen@t3seo.de>
Mon, 17 Dec 2012 13:15:21 +0000 (14:15 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 18 Dec 2012 21:14:44 +0000 (22:14 +0100)
phpDoc says "@return void" but the method returns the messages as
HTML string

Resolves: #44051
Releases: 6.1, 6.0

Change-Id: I7b60510fb0374c9fa419dc598cf30bdf72fb2555
Reviewed-on: https://review.typo3.org/17190
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Oliver Klee
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/backend/Classes/Utility/BackendUtility.php

index 257a7bd..2d6a15d 100644 (file)
@@ -3829,7 +3829,7 @@ class BackendUtility {
         * Display some warning messages if this installation is obviously insecure!!
         * These warnings are only displayed to admin users
         *
-        * @return void
+        * @return string Rendered messages as HTML
         */
        static public function displayWarningMessages() {
                if ($GLOBALS['BE_USER']->isAdmin()) {