@@ -100,6 +100,7 @@ discard block |
||
100 | 100 | * @param int $type \OCP\Lock\ILockingProvider::LOCK_SHARED or \OCP\Lock\ILockingProvider::LOCK_EXCLUSIVE |
101 | 101 | * @param \OCP\Lock\ILockingProvider $provider |
102 | 102 | * @throws \OCP\Lock\LockedException |
103 | + * @return void |
|
103 | 104 | */ |
104 | 105 | public function acquireLock($path, $type, ILockingProvider $provider); |
105 | 106 | |
@@ -108,6 +109,7 @@ discard block |
||
108 | 109 | * @param int $type \OCP\Lock\ILockingProvider::LOCK_SHARED or \OCP\Lock\ILockingProvider::LOCK_EXCLUSIVE |
109 | 110 | * @param \OCP\Lock\ILockingProvider $provider |
110 | 111 | * @throws \OCP\Lock\LockedException |
112 | + * @return void |
|
111 | 113 | */ |
112 | 114 | public function releaseLock($path, $type, ILockingProvider $provider); |
113 | 115 | |
@@ -116,6 +118,7 @@ discard block |
||
116 | 118 | * @param int $type \OCP\Lock\ILockingProvider::LOCK_SHARED or \OCP\Lock\ILockingProvider::LOCK_EXCLUSIVE |
117 | 119 | * @param \OCP\Lock\ILockingProvider $provider |
118 | 120 | * @throws \OCP\Lock\LockedException |
121 | + * @return void |
|
119 | 122 | */ |
120 | 123 | public function changeLock($path, $type, ILockingProvider $provider); |
121 | 124 | } |
@@ -194,6 +194,9 @@ |
||
194 | 194 | parent::propPatch($propPatch); |
195 | 195 | } |
196 | 196 | |
197 | + /** |
|
198 | + * @return string |
|
199 | + */ |
|
197 | 200 | public function getContactsGroups() { |
198 | 201 | return $this->carddavBackend->collectCardProperties($this->getResourceId(), 'CATEGORIES'); |
199 | 202 | } |
@@ -410,6 +410,9 @@ discard block |
||
410 | 410 | } |
411 | 411 | } |
412 | 412 | |
413 | + /** |
|
414 | + * @param string $path |
|
415 | + */ |
|
413 | 416 | private function getParentPath($path) { |
414 | 417 | $parent = dirname($path); |
415 | 418 | if ($parent === '.') { |
@@ -629,7 +632,7 @@ discard block |
||
629 | 632 | * |
630 | 633 | * @param string $mimetype either a full mimetype to search ('text/plain') or only the first part of a mimetype ('image') |
631 | 634 | * where it will search for all mimetypes in the group ('image/*') |
632 | - * @return ICacheEntry[] an array of cache entries where the mimetype matches the search |
|
635 | + * @return CacheEntry[] an array of cache entries where the mimetype matches the search |
|
633 | 636 | */ |
634 | 637 | public function searchByMime($mimetype) { |
635 | 638 | if (strpos($mimetype, '/')) { |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | /** |
122 | 122 | * List all installed apps |
123 | 123 | * |
124 | - * @return string[] |
|
124 | + * @return integer[] |
|
125 | 125 | */ |
126 | 126 | public function getInstalledApps() { |
127 | 127 | return array_keys($this->getInstalledAppsValues()); |
@@ -382,6 +382,9 @@ discard block |
||
382 | 382 | return in_array($appId, $this->shippedApps, true); |
383 | 383 | } |
384 | 384 | |
385 | + /** |
|
386 | + * @param string $appId |
|
387 | + */ |
|
385 | 388 | private function isAlwaysEnabled($appId) { |
386 | 389 | $alwaysEnabled = $this->getAlwaysEnabledApps(); |
387 | 390 | return in_array($appId, $alwaysEnabled, true); |
@@ -30,6 +30,9 @@ discard block |
||
30 | 30 | /** @var JSCombiner */ |
31 | 31 | protected $jsCombiner; |
32 | 32 | |
33 | + /** |
|
34 | + * @param string $theme |
|
35 | + */ |
|
33 | 36 | public function __construct(\OCP\ILogger $logger, $theme, array $core_map, array $party_map, JSCombiner $JSCombiner) { |
34 | 37 | parent::__construct($logger, $theme, $core_map, $party_map); |
35 | 38 | |
@@ -91,6 +94,9 @@ discard block |
||
91 | 94 | public function doFindTheme($script) { |
92 | 95 | } |
93 | 96 | |
97 | + /** |
|
98 | + * @param string $file |
|
99 | + */ |
|
94 | 100 | protected function cacheAndAppendCombineJsonIfExist($root, $file, $app = 'core') { |
95 | 101 | if (is_file($root.'/'.$file)) { |
96 | 102 | if ($this->jsCombiner->process($root, $file, $app)) { |
@@ -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([ |
@@ -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)) { |