[TASK] Fix phpDoc of BackendUtility::displayWarningMessages 26/17226/2
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:17:13 +0000 (22:17 +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/17226
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/backend/Classes/Utility/BackendUtility.php

index ff6db74..b28875b 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()) {