@@ -2,9 +2,7 @@ |
||
| 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; |
@@ -275,7 +275,7 @@ discard block |
||
| 275 | 275 | * |
| 276 | 276 | * @param string $fileIdentifier |
| 277 | 277 | * @param string $localFilePath |
| 278 | - * @return bool TRUE if the operation succeeded |
|
| 278 | + * @return boolean|null TRUE if the operation succeeded |
|
| 279 | 279 | */ |
| 280 | 280 | public function replaceFile($fileIdentifier, $localFilePath) |
| 281 | 281 | { |
@@ -345,7 +345,7 @@ discard block |
||
| 345 | 345 | * @param string $sourceFolderIdentifier |
| 346 | 346 | * @param string $targetFolderIdentifier |
| 347 | 347 | * @param string $newFolderName |
| 348 | - * @return bool |
|
| 348 | + * @return boolean|null |
|
| 349 | 349 | */ |
| 350 | 350 | public function copyFolderWithinStorage($sourceFolderIdentifier, $targetFolderIdentifier, $newFolderName) |
| 351 | 351 | { |
@@ -359,7 +359,7 @@ discard block |
||
| 359 | 359 | * of processing resources and money) for large files. |
| 360 | 360 | * |
| 361 | 361 | * @param string $fileIdentifier |
| 362 | - * @return string The file contents |
|
| 362 | + * @return \League\Flysystem\Handler The file contents |
|
| 363 | 363 | */ |
| 364 | 364 | public function getFileContents($fileIdentifier) |
| 365 | 365 | { |
@@ -386,7 +386,7 @@ discard block |
||
| 386 | 386 | * |
| 387 | 387 | * @param string $fileName |
| 388 | 388 | * @param string $folderIdentifier |
| 389 | - * @return bool |
|
| 389 | + * @return boolean|null |
|
| 390 | 390 | */ |
| 391 | 391 | public function fileExistsInFolder($fileName, $folderIdentifier) |
| 392 | 392 | { |