@@ -102,17 +102,19 @@ discard block |
||
| 102 | 102 | * with the same attributes |
| 103 | 103 | * |
| 104 | 104 | * @since 9.0.0 |
| 105 | + * @return void |
|
| 105 | 106 | */ |
| 106 | 107 | public function updateTag($tagId, $newName, $userVisible, $userAssignable); |
| 107 | 108 | |
| 108 | 109 | /** |
| 109 | 110 | * Delete the given tags from the database and all their relationships. |
| 110 | 111 | * |
| 111 | - * @param string|array $tagIds array of tag ids |
|
| 112 | + * @param string $tagIds array of tag ids |
|
| 112 | 113 | * |
| 113 | 114 | * @throws \OCP\SystemTag\TagNotFoundException if at least one tag did not exist |
| 114 | 115 | * |
| 115 | 116 | * @since 9.0.0 |
| 117 | + * @return void |
|
| 116 | 118 | */ |
| 117 | 119 | public function deleteTags($tagIds); |
| 118 | 120 | |
@@ -123,7 +125,7 @@ discard block |
||
| 123 | 125 | * @param ISystemTag $tag tag to check permission for |
| 124 | 126 | * @param IUser $user user to check permission for |
| 125 | 127 | * |
| 126 | - * @return true if the user is allowed to assign/unassign the tag, false otherwise |
|
| 128 | + * @return boolean if the user is allowed to assign/unassign the tag, false otherwise |
|
| 127 | 129 | * |
| 128 | 130 | * @since 9.1.0 |
| 129 | 131 | */ |
@@ -133,9 +135,9 @@ discard block |
||
| 133 | 135 | * Checks whether the given user is allowed to see the tag with the given id. |
| 134 | 136 | * |
| 135 | 137 | * @param ISystemTag $tag tag to check permission for |
| 136 | - * @param IUser $user user to check permission for |
|
| 138 | + * @param IUser $userId user to check permission for |
|
| 137 | 139 | * |
| 138 | - * @return true if the user can see the tag, false otherwise |
|
| 140 | + * @return boolean if the user can see the tag, false otherwise |
|
| 139 | 141 | * |
| 140 | 142 | * @since 9.1.0 |
| 141 | 143 | */ |
@@ -148,6 +150,7 @@ discard block |
||
| 148 | 150 | * @param string[] $groupIds group ids of groups that can assign/unassign the tag |
| 149 | 151 | * |
| 150 | 152 | * @since 9.1.0 |
| 153 | + * @return void |
|
| 151 | 154 | */ |
| 152 | 155 | public function setTagGroups(ISystemTag $tag, $groupIds); |
| 153 | 156 | |
@@ -100,8 +100,8 @@ |
||
| 100 | 100 | /** |
| 101 | 101 | * Return the relative date in relation to today. Returns something like "last hour" or "two month ago" |
| 102 | 102 | * @param int $timestamp unix timestamp |
| 103 | - * @param boolean $dateOnly |
|
| 104 | - * @return \OC_L10N_String human readable interpretation of the timestamp |
|
| 103 | + * @param integer $dateOnly |
|
| 104 | + * @return string human readable interpretation of the timestamp |
|
| 105 | 105 | * |
| 106 | 106 | * @deprecated 8.0.0 Use \OCP\Template::relative_modified_date() instead |
| 107 | 107 | */ |
@@ -544,7 +544,7 @@ |
||
| 544 | 544 | * @param array $input The array to work on |
| 545 | 545 | * @param int $case Either MB_CASE_UPPER or MB_CASE_LOWER (default) |
| 546 | 546 | * @param string $encoding The encoding parameter is the character encoding. Defaults to UTF-8 |
| 547 | - * @return array |
|
| 547 | + * @return string |
|
| 548 | 548 | * @since 4.5.0 |
| 549 | 549 | */ |
| 550 | 550 | public static function mb_array_change_key_case($input, $case = MB_CASE_LOWER, $encoding = 'UTF-8') { |
@@ -98,7 +98,7 @@ |
||
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | /** |
| 101 | - * @param string|int $category |
|
| 101 | + * @param string $category |
|
| 102 | 102 | * @return int |
| 103 | 103 | */ |
| 104 | 104 | protected function getCategory($category) { |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | * |
| 72 | 72 | * @NoAdminRequired |
| 73 | 73 | * @NoSubadminRequired |
| 74 | - * @return array |
|
| 74 | + * @return DataResponse |
|
| 75 | 75 | */ |
| 76 | 76 | public function addPersonalRootCertificate() { |
| 77 | 77 | return $this->addCertificate($this->userCertificateManager); |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | * Add a new root certificate to a trust store |
| 82 | 82 | * |
| 83 | 83 | * @param ICertificateManager $certificateManager |
| 84 | - * @return array |
|
| 84 | + * @return DataResponse |
|
| 85 | 85 | */ |
| 86 | 86 | private function addCertificate(ICertificateManager $certificateManager) { |
| 87 | 87 | $headers = []; |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | /** |
| 160 | 160 | * Add a new personal root certificate to the system's trust store |
| 161 | 161 | * |
| 162 | - * @return array |
|
| 162 | + * @return DataResponse |
|
| 163 | 163 | */ |
| 164 | 164 | public function addSystemRootCertificate() { |
| 165 | 165 | return $this->addCertificate($this->systemCertificateManager); |
@@ -268,7 +268,7 @@ |
||
| 268 | 268 | |
| 269 | 269 | /** |
| 270 | 270 | * @NoCSRFRequired |
| 271 | - * @return DataResponse |
|
| 271 | + * @return DataDisplayResponse |
|
| 272 | 272 | */ |
| 273 | 273 | public function getFailedIntegrityCheckFiles() { |
| 274 | 274 | if(!$this->checker->isCodeCheckEnforced()) { |
@@ -216,7 +216,7 @@ |
||
| 216 | 216 | * |
| 217 | 217 | * @param \Google_Service_Drive_DriveFile |
| 218 | 218 | * |
| 219 | - * @return true if the file is a Google Doc file, false otherwise |
|
| 219 | + * @return boolean if the file is a Google Doc file, false otherwise |
|
| 220 | 220 | */ |
| 221 | 221 | private function isGoogleDocFile($file) { |
| 222 | 222 | return $this->getGoogleDocExtension($file->getMimeType()) !== ''; |
@@ -200,7 +200,7 @@ discard block |
||
| 200 | 200 | * and does not take the chroot into account ) |
| 201 | 201 | * |
| 202 | 202 | * @param string $path |
| 203 | - * @return \OCP\Files\Mount\IMountPoint |
|
| 203 | + * @return Mount\MountPoint|null |
|
| 204 | 204 | */ |
| 205 | 205 | public function getMount($path) { |
| 206 | 206 | return Filesystem::getMountManager()->find($this->getAbsolutePath($path)); |
@@ -963,7 +963,7 @@ discard block |
||
| 963 | 963 | |
| 964 | 964 | /** |
| 965 | 965 | * @param string $path |
| 966 | - * @return bool|string |
|
| 966 | + * @return string|false |
|
| 967 | 967 | * @throws \OCP\Files\InvalidPathException |
| 968 | 968 | */ |
| 969 | 969 | public function toTmpFile($path) { |
@@ -1078,7 +1078,7 @@ discard block |
||
| 1078 | 1078 | * @param string $path |
| 1079 | 1079 | * @param array $hooks (optional) |
| 1080 | 1080 | * @param mixed $extraParam (optional) |
| 1081 | - * @return mixed |
|
| 1081 | + * @return string |
|
| 1082 | 1082 | * @throws \Exception |
| 1083 | 1083 | * |
| 1084 | 1084 | * This method takes requests for basic filesystem functions (e.g. reading & writing |
@@ -2086,7 +2086,7 @@ discard block |
||
| 2086 | 2086 | |
| 2087 | 2087 | /** |
| 2088 | 2088 | * @param string $filename |
| 2089 | - * @return array |
|
| 2089 | + * @return string[] |
|
| 2090 | 2090 | * @throws \OC\User\NoUserException |
| 2091 | 2091 | * @throws NotFoundException |
| 2092 | 2092 | */ |
@@ -37,7 +37,6 @@ |
||
| 37 | 37 | /** |
| 38 | 38 | * RemoveOldCalendarShares constructor. |
| 39 | 39 | * |
| 40 | - * @param IDBConnection $db |
|
| 41 | 40 | */ |
| 42 | 41 | public function __construct(IDBConnection $connection) { |
| 43 | 42 | $this->connection = $connection; |