@@ -312,7 +312,7 @@ |
||
312 | 312 | * |
313 | 313 | * @param string $path |
314 | 314 | * @param string $attribute attribute to get the info |
315 | - * @param string|int $value |
|
315 | + * @param integer $value |
|
316 | 316 | * @return mixed the attribute value |
317 | 317 | */ |
318 | 318 | public function setAttribute(string $path, string $attribute, $value) { |
@@ -380,7 +380,7 @@ |
||
380 | 380 | /** |
381 | 381 | * @param string $path |
382 | 382 | * @param int $mode a combination of FileInfo::MODE_READONLY, FileInfo::MODE_ARCHIVE, FileInfo::MODE_SYSTEM and FileInfo::MODE_HIDDEN, FileInfo::NORMAL |
383 | - * @return mixed |
|
383 | + * @return boolean |
|
384 | 384 | */ |
385 | 385 | public function setMode(string $path, int $mode) { |
386 | 386 | $modeString = ''; |
@@ -8,7 +8,6 @@ discard block |
||
8 | 8 | namespace Icewind\SMB\Wrapped; |
9 | 9 | |
10 | 10 | use Icewind\SMB\AbstractShare; |
11 | -use Icewind\SMB\ACL; |
|
12 | 11 | use Icewind\SMB\Exception\AlreadyExistsException; |
13 | 12 | use Icewind\SMB\Exception\AuthenticationException; |
14 | 13 | use Icewind\SMB\Exception\ConnectionException; |
@@ -23,8 +22,6 @@ discard block |
||
23 | 22 | use Icewind\SMB\IServer; |
24 | 23 | use Icewind\SMB\ISystem; |
25 | 24 | use Icewind\Streams\CallbackWrapper; |
26 | -use Icewind\SMB\Native\NativeShare; |
|
27 | -use Icewind\SMB\Native\NativeServer; |
|
28 | 25 | |
29 | 26 | class Share extends AbstractShare { |
30 | 27 | /** |