@@ -114,8 +114,8 @@ |
||
| 114 | 114 | } |
| 115 | 115 | |
| 116 | 116 | /** |
| 117 | - * @param $appName |
|
| 118 | - * @param $fileName |
|
| 117 | + * @param string $appName |
|
| 118 | + * @param string $fileName |
|
| 119 | 119 | * @return ISimpleFile |
| 120 | 120 | */ |
| 121 | 121 | public function getCachedCSS($appName, $fileName) { |
@@ -98,6 +98,9 @@ |
||
| 98 | 98 | throw new Forbidden('Permission denied to delete this folder'); |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | + /** |
|
| 102 | + * @return string |
|
| 103 | + */ |
|
| 101 | 104 | public function getName() { |
| 102 | 105 | list(,$name) = Uri\split($this->principalInfo['uri']); |
| 103 | 106 | return $name; |
@@ -97,6 +97,9 @@ |
||
| 97 | 97 | } |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | + /** |
|
| 101 | + * @param string $pattern |
|
| 102 | + */ |
|
| 100 | 103 | protected function getInvalidObjects($pattern) { |
| 101 | 104 | $query = $this->db->getQueryBuilder(); |
| 102 | 105 | $query->select(['calendarid', 'uri']) |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | * the next element. |
| 80 | 80 | * |
| 81 | 81 | * @param Reader $reader |
| 82 | - * @return mixed |
|
| 82 | + * @return CalendarSearchReport |
|
| 83 | 83 | */ |
| 84 | 84 | static function xmlDeserialize(Reader $reader) { |
| 85 | 85 | $elems = $reader->parseInnerTree([ |
@@ -1100,6 +1100,9 @@ |
||
| 1100 | 1100 | return $share; |
| 1101 | 1101 | } |
| 1102 | 1102 | |
| 1103 | + /** |
|
| 1104 | + * @param \OCP\Share\IShare $share |
|
| 1105 | + */ |
|
| 1103 | 1106 | protected function checkExpireDate($share) { |
| 1104 | 1107 | if ($share->getExpirationDate() !== null && |
| 1105 | 1108 | $share->getExpirationDate() <= new \DateTime()) { |
@@ -163,7 +163,6 @@ discard block |
||
| 163 | 163 | /** |
| 164 | 164 | * @param string $url |
| 165 | 165 | * @param string $userName |
| 166 | - * @param string $addressBookUrl |
|
| 167 | 166 | * @param string $sharedSecret |
| 168 | 167 | * @return Client |
| 169 | 168 | */ |
@@ -301,7 +300,7 @@ discard block |
||
| 301 | 300 | } |
| 302 | 301 | |
| 303 | 302 | /** |
| 304 | - * @return array|null |
|
| 303 | + * @return string |
|
| 305 | 304 | */ |
| 306 | 305 | public function getLocalSystemAddressBook() { |
| 307 | 306 | if (is_null($this->localSystemAddressBook)) { |
@@ -335,7 +335,7 @@ |
||
| 335 | 335 | * Adds a heading to the email |
| 336 | 336 | * |
| 337 | 337 | * @param string $title |
| 338 | - * @param string $plainTitle|bool Title that is used in the plain text email |
|
| 338 | + * @param string $plainTitle Title that is used in the plain text email |
|
| 339 | 339 | * if empty the $title is used, if false none will be used |
| 340 | 340 | */ |
| 341 | 341 | public function addHeading($title, $plainTitle = '') { |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | private $parameters = []; |
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | - * @param object $object an object or classname |
|
| 40 | + * @param \OCP\AppFramework\Controller $object an object or classname |
|
| 41 | 41 | * @param string $method the method which we want to inspect |
| 42 | 42 | */ |
| 43 | 43 | public function reflect($object, $method){ |
@@ -436,6 +436,11 @@ |
||
| 436 | 436 | return $url; |
| 437 | 437 | } |
| 438 | 438 | |
| 439 | + /** |
|
| 440 | + * @param string $feature |
|
| 441 | + * @param string $value |
|
| 442 | + * @param string $oldValue |
|
| 443 | + */ |
|
| 439 | 444 | public function triggerChange($feature, $value = null, $oldValue = null) { |
| 440 | 445 | if ($this->emitter) { |
| 441 | 446 | $this->emitter->emit('\OC\User', 'changeUser', array($this, $feature, $value, $oldValue)); |