Completed
Push — master ( 30248e...12963d )
by Cedric
15:24
created
Classes/Fal/FlysystemDriver.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.