Completed
Push — master ( ab890a...7982ec )
by Frank
04:19
created
src/Adapter/Local.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@  discard block
 block discarded – undo
4 4
 
5 5
 use DirectoryIterator;
6 6
 use FilesystemIterator;
7
-use finfo as Finfo;
8 7
 use League\Flysystem\AdapterInterface;
9 8
 use League\Flysystem\Config;
10 9
 use League\Flysystem\Exception;
@@ -15,6 +14,7 @@  discard block
 block discarded – undo
15 14
 use RecursiveDirectoryIterator;
16 15
 use RecursiveIteratorIterator;
17 16
 use SplFileInfo;
17
+use finfo as Finfo;
18 18
 
19 19
 class Local extends AbstractAdapter
20 20
 {
Please login to merge, or discard this patch.
src/Adapter/Ftp.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace League\Flysystem\Adapter;
4 4
 
5 5
 use ErrorException;
6
-use League\Flysystem\Adapter\Polyfill\StreamedCopyTrait;
7 6
 use League\Flysystem\AdapterInterface;
7
+use League\Flysystem\Adapter\Polyfill\StreamedCopyTrait;
8 8
 use League\Flysystem\Config;
9 9
 use League\Flysystem\Util;
10 10
 use League\Flysystem\Util\MimeType;
Please login to merge, or discard this patch.
src/Util.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
      * Guess MIME Type based on the path of the file and it's content.
178 178
      *
179 179
      * @param string          $path
180
-     * @param string|resource $content
180
+     * @param string $content
181 181
      *
182 182
      * @return string|null MIME Type or NULL if no extension detected
183 183
      */
@@ -255,6 +255,9 @@  discard block
 block discarded – undo
255 255
         }
256 256
     }
257 257
 
258
+    /**
259
+     * @param resource $resource
260
+     */
258 261
     public static function isSeekableStream($resource)
259 262
     {
260 263
         $metadata = stream_get_meta_data($resource);
Please login to merge, or discard this patch.