@@ -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;  | 
                                                        
@@ -35,6 +35,10 @@  | 
                                                    ||
| 35 | 35 | /** @var bool */  | 
                                                        
| 36 | 36 | private $useV1;  | 
                                                        
| 37 | 37 | |
| 38 | + /**  | 
                                                        |
| 39 | + * @param Tree $tree  | 
                                                        |
| 40 | + * @param boolean $useV1  | 
                                                        |
| 41 | + */  | 
                                                        |
| 38 | 42 |  	public function __construct($tree, $useV1) { | 
                                                        
| 39 | 43 | $this->tree = $tree;  | 
                                                        
| 40 | 44 | $this->useV1 = $useV1;  | 
                                                        
@@ -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;  |