[BUGFIX] Fix AnnotationException 17/61517/5
authorDaniel Huf <noreply@example.com>
Tue, 20 Aug 2019 12:12:31 +0000 (12:12 +0000)
committerFrank Naegler <frank.naegler@typo3.org>
Fri, 23 Aug 2019 11:49:16 +0000 (13:49 +0200)
Doctrine\Common\Annotations\AnnotationException
[Semantical Error] The annotation "@mkdir" in method
TYPO3\CMS\Core\Utility\GeneralUtility::mkdir() was never imported. Did you
maybe forget to add a "use" statement for this annotation?

Releases: master
Resolves: #88986
Change-Id: I8086ce12da8eb4ae942b5d8eb747c8c253dc3b3d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61517
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Alexander Schnitzler <review.typo3.org@alexanderschnitzler.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Guido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: Alexander Schnitzler <review.typo3.org@alexanderschnitzler.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/core/Classes/Utility/GeneralUtility.php

index 71148ec..c151b7f 100644 (file)
@@ -2037,7 +2037,7 @@ class GeneralUtility
      * and group ownership according to $GLOBALS['TYPO3_CONF_VARS']['SYS']['createGroup']
      *
      * @param string $newFolder Absolute path to folder, see PHP mkdir() function. Removes trailing slash internally.
-     * @return bool TRUE if @mkdir went well!
+     * @return bool TRUE if operation was successful
      */
     public static function mkdir($newFolder)
     {
@@ -2107,7 +2107,7 @@ class GeneralUtility
      *
      * @param string $path Absolute path to folder, see PHP rmdir() function. Removes trailing slash internally.
      * @param bool $removeNonEmpty Allow deletion of non-empty directories
-     * @return bool TRUE if @rmdir went well!
+     * @return bool TRUE if operation was successful
      */
     public static function rmdir($path, $removeNonEmpty = false)
     {