@@ -39,7 +39,6 @@ |
||
| 39 | 39 | use OCA\DAV\Connector\Sabre\Exception\Forbidden; |
| 40 | 40 | use OCA\DAV\Connector\Sabre\Exception\InvalidPath; |
| 41 | 41 | use OCP\Files\ForbiddenException; |
| 42 | -use OCP\Files\Storage\IPersistentLockingStorage; |
|
| 43 | 42 | use OCP\Share\Exceptions\ShareNotFound; |
| 44 | 43 | use OCP\Share\IManager; |
| 45 | 44 | |
@@ -30,7 +30,6 @@ |
||
| 30 | 30 | use OCP\Lock\LockedException; |
| 31 | 31 | use Sabre\DAV\Exception\Forbidden; |
| 32 | 32 | use Sabre\DAV\Exception\NotFound; |
| 33 | -use Sabre\DAV\Exception\NotImplemented; |
|
| 34 | 33 | use Sabre\DAV\Locks\LockInfo; |
| 35 | 34 | use Sabre\DAV\ServerPlugin; |
| 36 | 35 | use Sabre\HTTP\RequestInterface; |
@@ -708,7 +708,7 @@ |
||
| 708 | 708 | } |
| 709 | 709 | |
| 710 | 710 | /** |
| 711 | - * @param $internalPath |
|
| 711 | + * @param string $internalPath |
|
| 712 | 712 | * @return array |
| 713 | 713 | */ |
| 714 | 714 | public function convertInternalPathToGlobalPath($internalPath) { |
@@ -53,7 +53,6 @@ |
||
| 53 | 53 | use OCP\Files\InvalidPathException; |
| 54 | 54 | use OCP\Files\ReservedWordException; |
| 55 | 55 | use OCP\Files\Storage\ILockingStorage; |
| 56 | -use OCP\Files\Storage\IStorage; |
|
| 57 | 56 | use OCP\Files\Storage\IPersistentLockingStorage; |
| 58 | 57 | use OCP\Files\Storage\IVersionedStorage; |
| 59 | 58 | use OCP\Lock\ILockingProvider; |
@@ -117,7 +117,7 @@ |
||
| 117 | 117 | /** |
| 118 | 118 | * Unix timestamp when lock was created |
| 119 | 119 | * |
| 120 | - * @return mixed |
|
| 120 | + * @return integer |
|
| 121 | 121 | * @since 11.0.0 |
| 122 | 122 | */ |
| 123 | 123 | public function getCreatedAt(): int { |