@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | /** |
106 | 106 | * Returns a list of features for the DAV: HTTP header. |
107 | 107 | * |
108 | - * @return array |
|
108 | + * @return string[] |
|
109 | 109 | */ |
110 | 110 | function getFeatures() { |
111 | 111 | |
@@ -222,7 +222,7 @@ discard block |
||
222 | 222 | * |
223 | 223 | * @param string $reportName |
224 | 224 | * @param mixed $report |
225 | - * @return bool |
|
225 | + * @return false|null |
|
226 | 226 | */ |
227 | 227 | function report($reportName, $report) { |
228 | 228 | |
@@ -778,7 +778,7 @@ discard block |
||
778 | 778 | * |
779 | 779 | * An exception is thrown if it's not. |
780 | 780 | * |
781 | - * @param resource|string $data |
|
781 | + * @param resource $data |
|
782 | 782 | * @param string $path |
783 | 783 | * @param bool $modified Should be set to true, if this event handler |
784 | 784 | * changed &$data. |
@@ -911,7 +911,7 @@ discard block |
||
911 | 911 | * |
912 | 912 | * @param DAV\INode $node |
913 | 913 | * @param string $output |
914 | - * @return bool |
|
914 | + * @return null|false |
|
915 | 915 | */ |
916 | 916 | function htmlActionsPanel(DAV\INode $node, &$output) { |
917 | 917 |
@@ -315,7 +315,7 @@ discard block |
||
315 | 315 | * @param mixed $addressBookId |
316 | 316 | * @param string $cardUri |
317 | 317 | * @param string $cardData |
318 | - * @return string|null |
|
318 | + * @return string |
|
319 | 319 | */ |
320 | 320 | function createCard($addressBookId, $cardUri, $cardData) { |
321 | 321 | |
@@ -361,7 +361,7 @@ discard block |
||
361 | 361 | * @param mixed $addressBookId |
362 | 362 | * @param string $cardUri |
363 | 363 | * @param string $cardData |
364 | - * @return string|null |
|
364 | + * @return string |
|
365 | 365 | */ |
366 | 366 | function updateCard($addressBookId, $cardUri, $cardData) { |
367 | 367 |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | * |
72 | 72 | * @param RequestInterface $request |
73 | 73 | * @param ResponseInterface $response |
74 | - * @return bool |
|
74 | + * @return null|false |
|
75 | 75 | */ |
76 | 76 | function httpGet(RequestInterface $request, ResponseInterface $response) { |
77 | 77 | |
@@ -275,7 +275,7 @@ discard block |
||
275 | 275 | * |
276 | 276 | * @param RequestInterface $request |
277 | 277 | * @param ResponseInterface $response |
278 | - * @return void |
|
278 | + * @return boolean |
|
279 | 279 | */ |
280 | 280 | function httpDelete(RequestInterface $request, ResponseInterface $response) { |
281 | 281 | |
@@ -308,7 +308,7 @@ discard block |
||
308 | 308 | * |
309 | 309 | * @param RequestInterface $request |
310 | 310 | * @param ResponseInterface $response |
311 | - * @return void |
|
311 | + * @return boolean |
|
312 | 312 | */ |
313 | 313 | function httpPropFind(RequestInterface $request, ResponseInterface $response) { |
314 | 314 |
@@ -98,7 +98,7 @@ |
||
98 | 98 | } |
99 | 99 | |
100 | 100 | /** |
101 | - * @param string|int $category |
|
101 | + * @param string $category |
|
102 | 102 | * @return int |
103 | 103 | */ |
104 | 104 | protected function getCategory($category) { |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | * |
72 | 72 | * @NoAdminRequired |
73 | 73 | * @NoSubadminRequired |
74 | - * @return array |
|
74 | + * @return DataResponse |
|
75 | 75 | */ |
76 | 76 | public function addPersonalRootCertificate() { |
77 | 77 | return $this->addCertificate($this->userCertificateManager); |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | * Add a new root certificate to a trust store |
82 | 82 | * |
83 | 83 | * @param ICertificateManager $certificateManager |
84 | - * @return array |
|
84 | + * @return DataResponse |
|
85 | 85 | */ |
86 | 86 | private function addCertificate(ICertificateManager $certificateManager) { |
87 | 87 | $headers = []; |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | /** |
160 | 160 | * Add a new personal root certificate to the system's trust store |
161 | 161 | * |
162 | - * @return array |
|
162 | + * @return DataResponse |
|
163 | 163 | */ |
164 | 164 | public function addSystemRootCertificate() { |
165 | 165 | return $this->addCertificate($this->systemCertificateManager); |
@@ -268,7 +268,7 @@ |
||
268 | 268 | |
269 | 269 | /** |
270 | 270 | * @NoCSRFRequired |
271 | - * @return DataResponse |
|
271 | + * @return DataDisplayResponse |
|
272 | 272 | */ |
273 | 273 | public function getFailedIntegrityCheckFiles() { |
274 | 274 | if(!$this->checker->isCodeCheckEnforced()) { |