@@ -112,6 +112,9 @@ discard block |
||
| 112 | 112 | return new NativeFileInfo($this, $path, basename($path), $this->getStat($path)); |
| 113 | 113 | } |
| 114 | 114 | |
| 115 | + /** |
|
| 116 | + * @param string $path |
|
| 117 | + */ |
|
| 115 | 118 | private function getStat($path) { |
| 116 | 119 | return $this->getState()->stat($this->buildUrl($path)); |
| 117 | 120 | } |
@@ -276,7 +279,7 @@ discard block |
||
| 276 | 279 | * |
| 277 | 280 | * @param string $path |
| 278 | 281 | * @param string $attribute attribute to get the info |
| 279 | - * @param string|int $value |
|
| 282 | + * @param integer $value |
|
| 280 | 283 | * @return mixed the attribute value |
| 281 | 284 | */ |
| 282 | 285 | public function setAttribute($path, $attribute, $value) { |
@@ -13,14 +13,11 @@ |
||
| 13 | 13 | use Icewind\SMB\Exception\FileInUseException; |
| 14 | 14 | use Icewind\SMB\Exception\InvalidTypeException; |
| 15 | 15 | use Icewind\SMB\Exception\NotFoundException; |
| 16 | -use Icewind\SMB\Exception\InvalidRequestException; |
|
| 17 | 16 | use Icewind\SMB\IFileInfo; |
| 18 | 17 | use Icewind\SMB\INotifyHandler; |
| 19 | 18 | use Icewind\SMB\IServer; |
| 20 | 19 | use Icewind\SMB\ISystem; |
| 21 | 20 | use Icewind\Streams\CallbackWrapper; |
| 22 | -use Icewind\SMB\Native\NativeShare; |
|
| 23 | -use Icewind\SMB\Native\NativeServer; |
|
| 24 | 21 | |
| 25 | 22 | class Share extends AbstractShare { |
| 26 | 23 | /** |