@@ -52,7 +52,7 @@ |
||
52 | 52 | protected $config; |
53 | 53 | |
54 | 54 | /** |
55 | - * @param \Doctrine\DBAL\Connection $connection |
|
55 | + * @param Connection $connection |
|
56 | 56 | * @param ISecureRandom $random |
57 | 57 | * @param IConfig $config |
58 | 58 | */ |
@@ -261,6 +261,9 @@ |
||
261 | 261 | return $footer; |
262 | 262 | } |
263 | 263 | |
264 | + /** |
|
265 | + * @param string $key |
|
266 | + */ |
|
264 | 267 | public function buildDocLinkToKey($key) { |
265 | 268 | if ($this->themeExist('buildDocLinkToKey')) { |
266 | 269 | return $this->theme->buildDocLinkToKey($key); |
@@ -53,7 +53,7 @@ |
||
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
56 | - * @return \OCP\Diagnostics\IQuery[] |
|
56 | + * @return Query[] |
|
57 | 57 | */ |
58 | 58 | public function getQueries() { |
59 | 59 | return $this->queries; |
@@ -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 |
@@ -185,7 +185,7 @@ |
||
185 | 185 | } |
186 | 186 | |
187 | 187 | /** |
188 | - * @return \OCP\Files\FileInfo::TYPE_FILE|\OCP\Files\FileInfo::TYPE_FOLDER |
|
188 | + * @return string |
|
189 | 189 | */ |
190 | 190 | public function getType() { |
191 | 191 | if (!isset($this->data['type'])) { |
@@ -195,7 +195,7 @@ |
||
195 | 195 | /** |
196 | 196 | * search for files by tag |
197 | 197 | * |
198 | - * @param string|int $tag name or tag id |
|
198 | + * @param string $tag name or tag id |
|
199 | 199 | * @param string $userId owner of the tags |
200 | 200 | * @return Node[] |
201 | 201 | */ |
@@ -144,6 +144,9 @@ |
||
144 | 144 | return true; |
145 | 145 | } |
146 | 146 | |
147 | + /** |
|
148 | + * @param string $path |
|
149 | + */ |
|
147 | 150 | public function url_stat($path) { |
148 | 151 | if (isset(self::$data[$path])) { |
149 | 152 | $size = strlen(self::$data[$path]); |
@@ -106,7 +106,7 @@ |
||
106 | 106 | * Removes a user from a group |
107 | 107 | * @param string $uid Name of the user to remove from group |
108 | 108 | * @param string $gid Name of the group from which remove the user |
109 | - * @return bool |
|
109 | + * @return null|false |
|
110 | 110 | * |
111 | 111 | * removes the user from a group. |
112 | 112 | */ |
@@ -144,6 +144,9 @@ |
||
144 | 144 | return $this->getGroupObject($gid); |
145 | 145 | } |
146 | 146 | |
147 | + /** |
|
148 | + * @param string $gid |
|
149 | + */ |
|
147 | 150 | protected function getGroupObject($gid) { |
148 | 151 | $backends = array(); |
149 | 152 | foreach ($this->backends as $backend) { |