[BUGFIX] Fix return type annotation in ResourceStorage::sanitizeFileName() 49/59049/3
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Fri, 7 Dec 2018 10:53:08 +0000 (11:53 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 7 Dec 2018 10:57:22 +0000 (11:57 +0100)
Resolves: #87096
Releases: master, 8.7
Change-Id: I0a46420cb910d19223a8bb133d9e7457fbd29ee2
Reviewed-on: https://review.typo3.org/59049
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Classes/Resource/ResourceStorage.php

index d9d6649..866dab7 100644 (file)
@@ -1133,7 +1133,7 @@ class ResourceStorage implements ResourceStorageInterface
      *
      * @throws \InvalidArgumentException
      * @throws Exception\ExistingTargetFileNameException
-     * @return FileInterface
+     * @return string
      */
     public function sanitizeFileName($fileName, Folder $targetFolder = null)
     {