@@ -23,7 +23,6 @@ discard block |
||
| 23 | 23 | namespace OCA\DAV; |
| 24 | 24 | |
| 25 | 25 | use OCA\DAV\CalDAV\Schedule\IMipPlugin; |
| 26 | -use OCA\DAV\Connector\FedAuth; |
|
| 27 | 26 | use OCA\DAV\Connector\Sabre\Auth; |
| 28 | 27 | use OCA\DAV\Connector\Sabre\BlockLegacyClientPlugin; |
| 29 | 28 | use OCA\DAV\Files\CustomPropertiesBackend; |
@@ -33,7 +32,6 @@ discard block |
||
| 33 | 32 | use Sabre\DAV\IFile; |
| 34 | 33 | use Sabre\HTTP\RequestInterface; |
| 35 | 34 | use Sabre\HTTP\ResponseInterface; |
| 36 | -use Sabre\HTTP\Util; |
|
| 37 | 35 | |
| 38 | 36 | class Server { |
| 39 | 37 | |
@@ -370,7 +370,7 @@ |
||
| 370 | 370 | * @param string $path path to the file which should be updated |
| 371 | 371 | * @param string $uid of the user who performs the operation |
| 372 | 372 | * @param array $accessList who has access to the file contains the key 'users' and 'public' |
| 373 | - * @return boolean |
|
| 373 | + * @return null|boolean |
|
| 374 | 374 | */ |
| 375 | 375 | public function update($path, $uid, array $accessList) { |
| 376 | 376 | |
@@ -21,7 +21,6 @@ |
||
| 21 | 21 | namespace OCA\DAV\Connector\Sabre; |
| 22 | 22 | |
| 23 | 23 | use Sabre\Xml\XmlSerializable; |
| 24 | -use Sabre\Xml\Element; |
|
| 25 | 24 | use Sabre\Xml\Writer; |
| 26 | 25 | |
| 27 | 26 | /** |
@@ -128,7 +128,6 @@ |
||
| 128 | 128 | /** |
| 129 | 129 | * Get $n re-shares from the database |
| 130 | 130 | * |
| 131 | - * @param int $n The max number of shares to fetch |
|
| 132 | 131 | * @return \Doctrine\DBAL\Driver\Statement |
| 133 | 132 | */ |
| 134 | 133 | private function getReShares() { |
@@ -136,7 +136,7 @@ |
||
| 136 | 136 | * Returns the list of members for a group-principal |
| 137 | 137 | * |
| 138 | 138 | * @param string $principal |
| 139 | - * @return array |
|
| 139 | + * @return string[] |
|
| 140 | 140 | */ |
| 141 | 141 | function getGroupMemberSet($principal) { |
| 142 | 142 | // TODO: for now the group principal has only one member, the user itself |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | private $cache = []; |
| 76 | 76 | |
| 77 | 77 | /** |
| 78 | - * @param Tree $tree node tree |
|
| 78 | + * @param ObjectTree $tree node tree |
|
| 79 | 79 | * @param IDBConnection $connection database connection |
| 80 | 80 | * @param IUser $user owner of the tree and properties |
| 81 | 81 | */ |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | private $userFolder; |
| 89 | 89 | |
| 90 | 90 | /** |
| 91 | - * @param Tree $tree |
|
| 91 | + * @param ObjectTree $tree |
|
| 92 | 92 | * @param View $view |
| 93 | 93 | */ |
| 94 | 94 | public function __construct(Tree $tree, |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | * This will be used in the {DAV:}supported-report-set property. |
| 134 | 134 | * |
| 135 | 135 | * @param string $uri |
| 136 | - * @return array |
|
| 136 | + * @return string[] |
|
| 137 | 137 | */ |
| 138 | 138 | public function getSupportedReportSet($uri) { |
| 139 | 139 | return [self::REPORT_NAME]; |
@@ -264,6 +264,7 @@ discard block |
||
| 264 | 264 | * |
| 265 | 265 | * @param string[] $requestedProps requested properties |
| 266 | 266 | * @param Node[] nodes nodes for which to fetch and prepare responses |
| 267 | + * @param Node[] $nodes |
|
| 267 | 268 | * @return Response[] |
| 268 | 269 | */ |
| 269 | 270 | public function prepareResponses($requestedProps, $nodes) { |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | /** |
| 58 | - * @param \Sabre\DAV\INode $rootNode |
|
| 58 | + * @param Directory $rootNode |
|
| 59 | 59 | * @param \OC\Files\View $view |
| 60 | 60 | * @param \OCP\Files\Mount\IMountManager $mountManager |
| 61 | 61 | */ |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | private $tree; |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * @param \Sabre\DAV\Tree $tree tree |
|
| 49 | + * @param ObjectTree $tree tree |
|
| 50 | 50 | */ |
| 51 | 51 | public function __construct(Tree $tree) { |
| 52 | 52 | $this->tree = $tree; |