| @@ -93,7 +93,7 @@ | ||
| 93 | 93 | /** | 
| 94 | 94 | * returns a list of all possible property names | 
| 95 | 95 | * | 
| 96 | - * @return array | |
| 96 | + * @return string[] | |
| 97 | 97 | */ | 
| 98 | 98 |  	static public function getPropertyNames() { | 
| 99 | 99 | return [ | 
| @@ -138,7 +138,7 @@ | ||
| 138 | 138 |  	 * This will be used in the {DAV:}supported-report-set property. | 
| 139 | 139 | * | 
| 140 | 140 | * @param string $uri | 
| 141 | - * @return array | |
| 141 | + * @return string[] | |
| 142 | 142 | */ | 
| 143 | 143 |  	public function getSupportedReportSet($uri) { | 
| 144 | 144 | return [self::REPORT_NAME]; | 
| @@ -115,7 +115,7 @@ | ||
| 115 | 115 | /** | 
| 116 | 116 | * Returns an array with all the child nodes | 
| 117 | 117 | * | 
| 118 | - * @return \Sabre\DAV\INode[] | |
| 118 | + * @return CommentNode[] | |
| 119 | 119 | */ | 
| 120 | 120 |  	function getChildren() { | 
| 121 | 121 | return $this->findChildren(); | 
| @@ -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 | */ | 
| @@ -132,7 +132,7 @@ | ||
| 132 | 132 | * Returns the list of members for a group-principal | 
| 133 | 133 | * | 
| 134 | 134 | * @param string $principal | 
| 135 | - * @return array | |
| 135 | + * @return string[] | |
| 136 | 136 | */ | 
| 137 | 137 |  	function getGroupMemberSet($principal) { | 
| 138 | 138 | // TODO: for now the group principal has only one member, the user itself | 
| @@ -23,7 +23,6 @@ | ||
| 23 | 23 | namespace OCA\DAV\DAV; | 
| 24 | 24 | |
| 25 | 25 | use Sabre\DAVACL\PrincipalBackend\AbstractBackend; | 
| 26 | -use Sabre\HTTP\URLUtil; | |
| 27 | 26 | |
| 28 | 27 |  class SystemPrincipalBackend extends AbstractBackend { | 
| 29 | 28 | |
| @@ -369,7 +369,7 @@ | ||
| 369 | 369 | * @param string $path path to the file which should be updated | 
| 370 | 370 | * @param string $uid of the user who performs the operation | 
| 371 | 371 | * @param array $accessList who has access to the file contains the key 'users' and 'public' | 
| 372 | - * @return boolean | |
| 372 | + * @return null|boolean | |
| 373 | 373 | */ | 
| 374 | 374 |  	public function update($path, $uid, array $accessList) { | 
| 375 | 375 | |
| @@ -488,7 +488,7 @@ | ||
| 488 | 488 | |
| 489 | 489 | |
| 490 | 490 | /** | 
| 491 | - * @param $path | |
| 491 | + * @param string $path | |
| 492 | 492 | * @param $uid | 
| 493 | 493 | * @return mixed | 
| 494 | 494 | */ | 
| @@ -391,7 +391,7 @@ discard block | ||
| 391 | 391 | /** | 
| 392 | 392 | * store remote ID in federated reShare table | 
| 393 | 393 | * | 
| 394 | - * @param $shareId | |
| 394 | + * @param integer $shareId | |
| 395 | 395 | * @param $remoteId | 
| 396 | 396 | */ | 
| 397 | 397 |  	public function storeRemoteId($shareId, $remoteId) { | 
| @@ -729,7 +729,7 @@ discard block | ||
| 729 | 729 | /** | 
| 730 | 730 | * get database row of a give share | 
| 731 | 731 | * | 
| 732 | - * @param $id | |
| 732 | + * @param integer $id | |
| 733 | 733 | * @return array | 
| 734 | 734 | * @throws ShareNotFound | 
| 735 | 735 | */ | 
| @@ -110,7 +110,7 @@ | ||
| 110 | 110 | * check if it is a file located in data/user/files only files in the | 
| 111 | 111 | * 'files' directory should be moved to the trash | 
| 112 | 112 | * | 
| 113 | - * @param $path | |
| 113 | + * @param string $path | |
| 114 | 114 | * @return bool | 
| 115 | 115 | */ | 
| 116 | 116 |  	protected function shouldMoveToTrash($path){ |