@@ -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 | } |
@@ -103,6 +103,11 @@ |
||
103 | 103 | return false; |
104 | 104 | } |
105 | 105 | |
106 | + /** |
|
107 | + * @param false|string $root |
|
108 | + * @param string $file |
|
109 | + * @param string|false $webRoot |
|
110 | + */ |
|
106 | 111 | public function append($root, $file, $webRoot = null, $throw = true, $scss = false) { |
107 | 112 | if (!$scss) { |
108 | 113 | parent::append($root, $file, $webRoot, $throw); |
@@ -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, '/')) { |
@@ -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)) { |
@@ -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()) { |