@@ -300,7 +300,7 @@ discard block |
||
300 | 300 | * |
301 | 301 | * @param string $fileIdentifier |
302 | 302 | * @param string $localFilePath |
303 | - * @return bool TRUE if the operation succeeded |
|
303 | + * @return boolean|null TRUE if the operation succeeded |
|
304 | 304 | */ |
305 | 305 | public function replaceFile($fileIdentifier, $localFilePath) |
306 | 306 | { |
@@ -370,7 +370,7 @@ discard block |
||
370 | 370 | * @param string $sourceFolderIdentifier |
371 | 371 | * @param string $targetFolderIdentifier |
372 | 372 | * @param string $newFolderName |
373 | - * @return bool |
|
373 | + * @return boolean|null |
|
374 | 374 | */ |
375 | 375 | public function copyFolderWithinStorage($sourceFolderIdentifier, $targetFolderIdentifier, $newFolderName) |
376 | 376 | { |
@@ -2,13 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace CedricZiel\FalFlysystem\Fal; |
4 | 4 | |
5 | -use League\Flysystem\Adapter\Local; |
|
6 | 5 | use League\Flysystem\AdapterInterface; |
7 | -use League\Flysystem\Config; |
|
8 | 6 | use League\Flysystem\FilesystemInterface; |
9 | 7 | use TYPO3\CMS\Core\Resource\Driver\AbstractHierarchicalFilesystemDriver; |
10 | 8 | use TYPO3\CMS\Core\Resource\ResourceStorage; |
11 | -use TYPO3\CMS\Core\Type\File\FileInfo; |
|
12 | 9 | use TYPO3\CMS\Core\Utility\GeneralUtility; |
13 | 10 | use TYPO3\CMS\Core\Utility\PathUtility; |
14 | 11 | use TYPO3\CMS\Extbase\Utility\DebuggerUtility; |