@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Graze\DataFile\Test\Unit\Modify; |
4 | 4 | |
5 | -use Graze\DataFile\Modify\Exception\MakeDirectoryFailedException; |
|
6 | 5 | use Graze\DataFile\Modify\MakeDirectory; |
7 | 6 | use Graze\DataFile\Node\FileNode; |
8 | 7 | use Graze\DataFile\Test\TestCase; |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | * Return the current element |
72 | 72 | * |
73 | 73 | * @link http://php.net/manual/en/iterator.current.php |
74 | - * @return mixed Can return any type. |
|
74 | + * @return string Can return any type. |
|
75 | 75 | * @since 5.0.0 |
76 | 76 | */ |
77 | 77 | public function current() |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | * Return the key of the current element |
127 | 127 | * |
128 | 128 | * @link http://php.net/manual/en/iterator.key.php |
129 | - * @return mixed scalar on success, or null on failure. |
|
129 | + * @return integer scalar on success, or null on failure. |
|
130 | 130 | * @since 5.0.0 |
131 | 131 | */ |
132 | 132 | public function key() |
@@ -15,9 +15,7 @@ |
||
15 | 15 | |
16 | 16 | use Graze\DataFile\Modify\Compress\CompressionFactory; |
17 | 17 | use GuzzleHttp\Psr7\LazyOpenStream; |
18 | -use GuzzleHttp\Psr7\Stream; |
|
19 | 18 | use League\Flysystem\Adapter\Local; |
20 | -use League\Flysystem\Filesystem; |
|
21 | 19 | use Psr\Http\Message\StreamInterface; |
22 | 20 | |
23 | 21 | class LocalFile extends FileNode implements LocalFileNodeInterface, NodeStreamInterface |