@@ -38,7 +38,6 @@ |
||
| 38 | 38 | use GuzzleHttp\Message\ResponseInterface; |
| 39 | 39 | use Icewind\Streams\CallbackWrapper; |
| 40 | 40 | use OC\Files\Filesystem; |
| 41 | -use OC\Files\Stream\Close; |
|
| 42 | 41 | use Icewind\Streams\IteratorDirectory; |
| 43 | 42 | use OC\MemCache\ArrayCache; |
| 44 | 43 | use OCP\AppFramework\Http; |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | |
| 103 | 103 | /** |
| 104 | 104 | * @param \Icewind\SMB\Change $change |
| 105 | - * @return IChange|null |
|
| 105 | + * @return null|Change |
|
| 106 | 106 | */ |
| 107 | 107 | private function mapChange(\Icewind\SMB\Change $change) { |
| 108 | 108 | $path = $this->relativePath($change->getPath()); |
@@ -31,14 +31,11 @@ |
||
| 31 | 31 | |
| 32 | 32 | namespace OCA\Files_External\Lib\Storage; |
| 33 | 33 | |
| 34 | -use Icewind\SMB\Change; |
|
| 35 | 34 | use Icewind\SMB\Exception\ConnectException; |
| 36 | 35 | use Icewind\SMB\Exception\Exception; |
| 37 | 36 | use Icewind\SMB\Exception\ForbiddenException; |
| 38 | 37 | use Icewind\SMB\Exception\NotFoundException; |
| 39 | -use Icewind\SMB\INotifyHandler; |
|
| 40 | 38 | use Icewind\SMB\IFileInfo; |
| 41 | -use Icewind\SMB\IShare; |
|
| 42 | 39 | use Icewind\SMB\NativeServer; |
| 43 | 40 | use Icewind\SMB\Server; |
| 44 | 41 | use Icewind\Streams\CallbackWrapper; |
@@ -498,6 +498,9 @@ |
||
| 498 | 498 | }); |
| 499 | 499 | } |
| 500 | 500 | |
| 501 | + /** |
|
| 502 | + * @param string $path |
|
| 503 | + */ |
|
| 501 | 504 | public function notify($path) { |
| 502 | 505 | $path = '/' . ltrim($path, '/'); |
| 503 | 506 | $shareNotifyHandler = $this->share->notify($this->buildPath($path)); |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | * Creates a Folder that represents a non-existing path |
| 32 | 32 | * |
| 33 | 33 | * @param string $path path |
| 34 | - * @return string non-existing node class |
|
| 34 | + * @return NonExistingFile non-existing node class |
|
| 35 | 35 | */ |
| 36 | 36 | protected function createNonExistingNode($path) { |
| 37 | 37 | return new NonExistingFile($this->root, $this->view, $path); |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | * Creates a Folder that represents a non-existing path |
| 38 | 38 | * |
| 39 | 39 | * @param string $path path |
| 40 | - * @return string non-existing node class |
|
| 40 | + * @return NonExistingFolder non-existing node class |
|
| 41 | 41 | */ |
| 42 | 42 | protected function createNonExistingNode($path) { |
| 43 | 43 | return new NonExistingFolder($this->root, $this->view, $path); |
@@ -46,7 +46,6 @@ |
||
| 46 | 46 | use OC\AppFramework\Utility\TimeFactory; |
| 47 | 47 | use OC\Core\Middleware\TwoFactorMiddleware; |
| 48 | 48 | use OC\RichObjectStrings\Validator; |
| 49 | -use OC\Security\Bruteforce\Throttler; |
|
| 50 | 49 | use OCP\AppFramework\IApi; |
| 51 | 50 | use OCP\AppFramework\IAppContainer; |
| 52 | 51 | use OCP\Files\IAppData; |
@@ -33,6 +33,7 @@ |
||
| 33 | 33 | * |
| 34 | 34 | * @returns string |
| 35 | 35 | * @since 12 |
| 36 | + * @return string |
|
| 36 | 37 | */ |
| 37 | 38 | public function getIcon(); |
| 38 | 39 | } |
@@ -33,7 +33,6 @@ |
||
| 33 | 33 | use OC\Accounts\AccountManager; |
| 34 | 34 | use OC\AppFramework\Http; |
| 35 | 35 | use OC\ForbiddenException; |
| 36 | -use OC\User\User; |
|
| 37 | 36 | use OCP\App\IAppManager; |
| 38 | 37 | use OCP\AppFramework\Controller; |
| 39 | 38 | use OCP\AppFramework\Http\DataResponse; |
@@ -20,7 +20,6 @@ |
||
| 20 | 20 | */ |
| 21 | 21 | namespace OCA\DAV\CalDAV\Publishing\Xml; |
| 22 | 22 | |
| 23 | -use OCA\DAV\CalDAV\Publishing\PublishPlugin as Plugin; |
|
| 24 | 23 | use Sabre\Xml\Writer; |
| 25 | 24 | use Sabre\Xml\XmlSerializable; |
| 26 | 25 | |