@@ -162,7 +162,7 @@ |
||
162 | 162 | /** |
163 | 163 | * Set the BCC recipients of this message. |
164 | 164 | * |
165 | - * @param array $recipients Example: array('[email protected]', '[email protected]' => 'A name') |
|
165 | + * @param string[] $recipients Example: array('[email protected]', '[email protected]' => 'A name') |
|
166 | 166 | * @return $this |
167 | 167 | */ |
168 | 168 | public function setBcc(array $recipients) { |
@@ -65,7 +65,7 @@ |
||
65 | 65 | * Set a value in the cache if it's not already stored |
66 | 66 | * |
67 | 67 | * @param string $key |
68 | - * @param mixed $value |
|
68 | + * @param integer $value |
|
69 | 69 | * @param int $ttl Time To Live in seconds. Defaults to 60*60*24 |
70 | 70 | * @return bool |
71 | 71 | */ |
@@ -155,7 +155,7 @@ |
||
155 | 155 | * Set a value in the cache if it's not already stored |
156 | 156 | * |
157 | 157 | * @param string $key |
158 | - * @param mixed $value |
|
158 | + * @param integer $value |
|
159 | 159 | * @param int $ttl Time To Live in seconds. Defaults to 60*60*24 |
160 | 160 | * @return bool |
161 | 161 | * @throws \Exception |
@@ -923,7 +923,7 @@ |
||
923 | 923 | * @param int $previewWidth |
924 | 924 | * @param int $previewHeight |
925 | 925 | * |
926 | - * @return int[] |
|
926 | + * @return double[] |
|
927 | 927 | */ |
928 | 928 | private function scale($image, $askedWidth, $askedHeight, $previewWidth, $previewHeight) { |
929 | 929 | $scalingUp = $this->getScalingUp(); |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | * Returns expensive repair steps to be run on the |
140 | 140 | * command line with a special option. |
141 | 141 | * |
142 | - * @return IRepairStep[] |
|
142 | + * @return OldGroupMembershipShares[] |
|
143 | 143 | */ |
144 | 144 | public static function getExpensiveRepairSteps() { |
145 | 145 | return [ |
@@ -216,7 +216,6 @@ discard block |
||
216 | 216 | } |
217 | 217 | |
218 | 218 | /** |
219 | - * @param int $max |
|
220 | 219 | */ |
221 | 220 | public function finishProgress() { |
222 | 221 | // for now just emit as we did in the past |
@@ -69,7 +69,7 @@ |
||
69 | 69 | } |
70 | 70 | |
71 | 71 | /** |
72 | - * @param \Doctrine\DBAL\Connection $connection |
|
72 | + * @param \OC\DB\Connection $connection |
|
73 | 73 | * @return string[] |
74 | 74 | */ |
75 | 75 | protected function getAllNonUTF8BinTables($connection) { |
@@ -53,7 +53,7 @@ |
||
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
56 | - * @param \Doctrine\DBAL\Connection $connection |
|
56 | + * @param \OCP\IDBConnection $connection |
|
57 | 57 | * @return string[] |
58 | 58 | */ |
59 | 59 | private function getAllMyIsamTables($connection) { |
@@ -24,7 +24,6 @@ |
||
24 | 24 | use OCP\Security\ICrypto; |
25 | 25 | use OCP\IDBConnection; |
26 | 26 | use OCP\Security\ICredentialsManager; |
27 | -use OCP\IConfig; |
|
28 | 27 | |
29 | 28 | /** |
30 | 29 | * Store and retrieve credentials for external services |
@@ -1074,7 +1074,7 @@ |
||
1074 | 1074 | * Get the certificate manager for the user |
1075 | 1075 | * |
1076 | 1076 | * @param string $userId (optional) if not specified the current loggedin user is used, use null to get the system certificate manager |
1077 | - * @return \OCP\ICertificateManager | null if $uid is null and no user is logged in |
|
1077 | + * @return null|CertificateManager | null if $uid is null and no user is logged in |
|
1078 | 1078 | */ |
1079 | 1079 | public function getCertificateManager($userId = '') { |
1080 | 1080 | if ($userId === '') { |