@@ -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()) { |