@@ -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()) { |
@@ -30,8 +30,6 @@ |
||
| 30 | 30 | use OCA\Files_external\Service\GlobalStoragesService; |
| 31 | 31 | use OCP\Files\StorageNotAvailableException; |
| 32 | 32 | use Symfony\Component\Console\Command\Command; |
| 33 | -use Symfony\Component\Console\Helper\Table; |
|
| 34 | -use Symfony\Component\Console\Helper\TableHelper; |
|
| 35 | 33 | use Symfony\Component\Console\Input\InputArgument; |
| 36 | 34 | use Symfony\Component\Console\Input\InputInterface; |
| 37 | 35 | use Symfony\Component\Console\Input\InputOption; |
@@ -27,7 +27,6 @@ |
||
| 27 | 27 | use OCA\Files_External\Lib\Auth\AuthMechanism; |
| 28 | 28 | use \OCP\IConfig; |
| 29 | 29 | use OCP\ILogger; |
| 30 | -use OCP\IUser; |
|
| 31 | 30 | use \OCP\IUserSession; |
| 32 | 31 | use \OCP\IRequest; |
| 33 | 32 | use \OCP\IL10N; |