[BUGFIX] Misleading annotation in createVersionNumberedFilename 44/40344/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Wed, 17 Jun 2015 11:19:32 +0000 (13:19 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 17 Jun 2015 11:24:28 +0000 (13:24 +0200)
The method returns a string.

Resolves: #67549
Releases: master
Change-Id: I7b9b6a1000ddfbb3394b545f42370ba39dcbecbe
Reviewed-on: http://review.typo3.org/40344
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Utility/GeneralUtility.php

index 8b15d06..780ea3b 100755 (executable)
@@ -3087,7 +3087,7 @@ Connection: close
         *
         * @param string $file Relative path to file including all potential query parameters (not htmlspecialchared yet)
         * @param bool $forceQueryString If settings would suggest to embed in filename, this parameter allows us to force the versioning to occur in the query string. This is needed for scriptaculous.js which cannot have a different filename in order to load its modules (?load=...)
-        * @return Relative path with version filename including the timestamp
+        * @return string Relative path with version filename including the timestamp
         */
        static public function createVersionNumberedFilename($file, $forceQueryString = FALSE) {
                $lookupFile = explode('?', $file);