@@ -153,7 +153,6 @@ discard block |
||
| 153 | 153 | /** |
| 154 | 154 | * saves database schema to xml file |
| 155 | 155 | * @param string $file name of file |
| 156 | - * @param int $mode |
|
| 157 | 156 | * @return bool |
| 158 | 157 | * |
| 159 | 158 | * TODO: write more documentation |
@@ -197,7 +196,7 @@ discard block |
||
| 197 | 196 | * simulate the database schema update |
| 198 | 197 | * @param string $file file to read structure from |
| 199 | 198 | * @throws Exception |
| 200 | - * @return string|boolean |
|
| 199 | + * @return boolean |
|
| 201 | 200 | */ |
| 202 | 201 | public static function simulateUpdateDbFromStructure($file) { |
| 203 | 202 | $schemaManager = self::getMDB2SchemaManager(); |
@@ -88,7 +88,7 @@ |
||
| 88 | 88 | * send a message to the client |
| 89 | 89 | * |
| 90 | 90 | * @param string $type |
| 91 | - * @param mixed $data |
|
| 91 | + * @param string $data |
|
| 92 | 92 | * |
| 93 | 93 | * @throws \BadMethodCallException |
| 94 | 94 | * if only one parameter is given, a typeless message will be send with that parameter as data |
@@ -1434,7 +1434,7 @@ |
||
| 1434 | 1434 | * Normalize a unicode string |
| 1435 | 1435 | * |
| 1436 | 1436 | * @param string $value a not normalized string |
| 1437 | - * @return bool|string |
|
| 1437 | + * @return string |
|
| 1438 | 1438 | */ |
| 1439 | 1439 | public static function normalizeUnicode($value) { |
| 1440 | 1440 | if(Normalizer::isNormalized($value)) { |
@@ -152,7 +152,7 @@ |
||
| 152 | 152 | |
| 153 | 153 | /** |
| 154 | 154 | * @param string $gid |
| 155 | - * @return \OCP\IGroup |
|
| 155 | + * @return null|Group |
|
| 156 | 156 | */ |
| 157 | 157 | protected function getGroupObject($gid) { |
| 158 | 158 | $backends = array(); |
@@ -476,7 +476,7 @@ |
||
| 476 | 476 | |
| 477 | 477 | /** |
| 478 | 478 | * Removes an app |
| 479 | - * @param string $name name of the application to remove |
|
| 479 | + * @param string $appId |
|
| 480 | 480 | * @return boolean |
| 481 | 481 | * |
| 482 | 482 | * |
@@ -524,7 +524,7 @@ |
||
| 524 | 524 | * @param array $input The array to work on |
| 525 | 525 | * @param int $case Either MB_CASE_UPPER or MB_CASE_LOWER (default) |
| 526 | 526 | * @param string $encoding The encoding parameter is the character encoding. Defaults to UTF-8 |
| 527 | - * @return array |
|
| 527 | + * @return string |
|
| 528 | 528 | * @since 4.5.0 |
| 529 | 529 | */ |
| 530 | 530 | public static function mb_array_change_key_case($input, $case = MB_CASE_LOWER, $encoding = 'UTF-8') { |
@@ -332,7 +332,7 @@ discard block |
||
| 332 | 332 | /** |
| 333 | 333 | * get the users email address |
| 334 | 334 | * |
| 335 | - * @return string|null |
|
| 335 | + * @return string |
|
| 336 | 336 | * @since 9.0.0 |
| 337 | 337 | */ |
| 338 | 338 | public function getEMailAddress() { |
@@ -417,6 +417,10 @@ discard block |
||
| 417 | 417 | return $url; |
| 418 | 418 | } |
| 419 | 419 | |
| 420 | + /** |
|
| 421 | + * @param string $feature |
|
| 422 | + * @param string $value |
|
| 423 | + */ |
|
| 420 | 424 | public function triggerChange($feature, $value = null) { |
| 421 | 425 | if ($this->emitter) { |
| 422 | 426 | $this->emitter->emit('\OC\User', 'changeUser', array($this, $feature, $value)); |
@@ -103,6 +103,9 @@ |
||
| 103 | 103 | return \OC_App::getAppVersions(); |
| 104 | 104 | } |
| 105 | 105 | |
| 106 | + /** |
|
| 107 | + * @param string $appId |
|
| 108 | + */ |
|
| 106 | 109 | protected function getAppInfo($appId) { |
| 107 | 110 | return \OC_App::getAppInfo($appId); |
| 108 | 111 | } |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | * DispatcherEvent constructor. |
| 47 | 47 | * |
| 48 | 48 | * @param string $event |
| 49 | - * @param $appID |
|
| 49 | + * @param string $appID |
|
| 50 | 50 | * @param \OCP\IGroup[] $groups |
| 51 | 51 | * @since 9.0.0 |
| 52 | 52 | */ |