@@ -151,7 +151,6 @@ |
||
151 | 151 | /** |
152 | 152 | * saves database schema to xml file |
153 | 153 | * @param string $file name of file |
154 | - * @param int $mode |
|
155 | 154 | * @return bool |
156 | 155 | * |
157 | 156 | * TODO: write more documentation |
@@ -413,6 +413,10 @@ |
||
413 | 413 | return $url; |
414 | 414 | } |
415 | 415 | |
416 | + /** |
|
417 | + * @param string $feature |
|
418 | + * @param string $value |
|
419 | + */ |
|
416 | 420 | public function triggerChange($feature, $value = null) { |
417 | 421 | if ($this->emitter) { |
418 | 422 | $this->emitter->emit('\OC\User', 'changeUser', array($this, $feature, $value)); |
@@ -116,8 +116,8 @@ |
||
116 | 116 | * Looks up a system wide defined value |
117 | 117 | * |
118 | 118 | * @param string $key the key of the value, under which it was saved |
119 | - * @param mixed $default the default value to be returned if the value isn't set |
|
120 | - * @return mixed the value or $default |
|
119 | + * @param string|false $default the default value to be returned if the value isn't set |
|
120 | + * @return string the value or $default |
|
121 | 121 | */ |
122 | 122 | public function getSystemValue($key, $default = '') { |
123 | 123 | return $this->systemConfig->getValue($key, $default); |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * Share a path |
49 | 49 | * |
50 | 50 | * @param IShare $share |
51 | - * @return IShare The share object |
|
51 | + * @return Share The share object |
|
52 | 52 | * @throws ShareNotFound |
53 | 53 | * @throws \Exception |
54 | 54 | */ |
@@ -396,7 +396,7 @@ discard block |
||
396 | 396 | * Get a share by token |
397 | 397 | * |
398 | 398 | * @param string $token |
399 | - * @return IShare |
|
399 | + * @return Share |
|
400 | 400 | * @throws ShareNotFound |
401 | 401 | */ |
402 | 402 | public function getShareByToken($token) { |
@@ -427,7 +427,7 @@ discard block |
||
427 | 427 | * Create a share object from an database row |
428 | 428 | * |
429 | 429 | * @param array $data |
430 | - * @return IShare |
|
430 | + * @return Share |
|
431 | 431 | * @throws InvalidShare |
432 | 432 | * @throws ShareNotFound |
433 | 433 | */ |