[BUGFIX] Invalid comments in FAL 40/45640/2
authorXavier Perseguers <xavier@typo3.org>
Thu, 7 Jan 2016 14:12:07 +0000 (15:12 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 7 Jan 2016 20:06:51 +0000 (21:06 +0100)
Change-Id: I8b76a87180e314190eb86e61cc2476952eb85e2c
Releases: master, 7.6
Resolves: #72571
Reviewed-on: https://review.typo3.org/45640
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Resource/ResourceStorage.php

index 3bdd60f..4557473 100644 (file)
@@ -2488,12 +2488,12 @@ class ResourceStorage implements ResourceStorageInterface
      * Emits the file post-rename signal.
      *
      * @param FileInterface $file
-     * @param $targetFolder
+     * @param string $sanitizedTargetFileName
      * @return void
      */
-    protected function emitPostFileRenameSignal(FileInterface $file, $targetFolder)
+    protected function emitPostFileRenameSignal(FileInterface $file, $sanitizedTargetFileName)
     {
-        $this->getSignalSlotDispatcher()->dispatch(\TYPO3\CMS\Core\Resource\ResourceStorage::class, self::SIGNAL_PostFileRename, array($file, $targetFolder));
+        $this->getSignalSlotDispatcher()->dispatch(\TYPO3\CMS\Core\Resource\ResourceStorage::class, self::SIGNAL_PostFileRename, array($file, $sanitizedTargetFileName));
     }
 
     /**
@@ -2632,7 +2632,7 @@ class ResourceStorage implements ResourceStorageInterface
      *
      * @param Folder $folder
      * @param Folder $targetFolder
-     * @param $newName
+     * @param string $newName
      * @param Folder $originalFolder
      * @return void
      */
@@ -2645,7 +2645,7 @@ class ResourceStorage implements ResourceStorageInterface
      * Emits the folder pre-rename signal.
      *
      * @param Folder $folder
-     * @param $newName
+     * @param string $newName
      * @return void
      */
     protected function emitPreFolderRenameSignal(Folder $folder, $newName)
@@ -2657,7 +2657,7 @@ class ResourceStorage implements ResourceStorageInterface
      * Emits the folder post-rename signal.
      *
      * @param Folder $folder
-     * @param $newName
+     * @param string $newName
      * @return void
      */
     protected function emitPostFolderRenameSignal(Folder $folder, $newName)