[BUGFIX] Fix return type annotation in ResourceStorage::sanitizeFileName() 50/59050/2
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 11:20:10 +0000 (12:20 +0100)
Resolves: #87096
Releases: master, 8.7
Change-Id: I0a46420cb910d19223a8bb133d9e7457fbd29ee2
Reviewed-on: https://review.typo3.org/59050
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Classes/Resource/ResourceStorage.php

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