@@ -26,11 +26,8 @@ |
||
| 26 | 26 | use OCA\Files_external\NotFoundException; |
| 27 | 27 | use OCA\Files_external\Service\GlobalStoragesService; |
| 28 | 28 | use Symfony\Component\Console\Command\Command; |
| 29 | -use Symfony\Component\Console\Helper\Table; |
|
| 30 | -use Symfony\Component\Console\Helper\TableHelper; |
|
| 31 | 29 | use Symfony\Component\Console\Input\InputArgument; |
| 32 | 30 | use Symfony\Component\Console\Input\InputInterface; |
| 33 | -use Symfony\Component\Console\Input\InputOption; |
|
| 34 | 31 | use Symfony\Component\Console\Output\OutputInterface; |
| 35 | 32 | |
| 36 | 33 | class Config extends Base { |
@@ -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 | $completeResults = $this->checker->getResults(); |
@@ -96,7 +96,7 @@ |
||
| 96 | 96 | |
| 97 | 97 | /** |
| 98 | 98 | * sets the users avatar |
| 99 | - * @param \OCP\IImage|resource|string $data An image object, imagedata or path to set a new avatar |
|
| 99 | + * @param null|string $data An image object, imagedata or path to set a new avatar |
|
| 100 | 100 | * @throws \Exception if the provided file is not a jpg or png image |
| 101 | 101 | * @throws \Exception if the provided image is not valid |
| 102 | 102 | * @throws \OC\NotSquareException if the image is not square |
@@ -10,12 +10,9 @@ |
||
| 10 | 10 | use OCP\IUser; |
| 11 | 11 | use OCP\IUserManager; |
| 12 | 12 | use Sabre\CardDAV\Plugin; |
| 13 | -use Sabre\VObject\Component\VCard; |
|
| 14 | -use Sabre\VObject\Property\Text; |
|
| 15 | 13 | use Sabre\VObject\Reader; |
| 16 | 14 | use Symfony\Component\Console\Command\Command; |
| 17 | 15 | use Symfony\Component\Console\Helper\ProgressBar; |
| 18 | -use Symfony\Component\Console\Input\InputArgument; |
|
| 19 | 16 | use Symfony\Component\Console\Input\InputInterface; |
| 20 | 17 | use Symfony\Component\Console\Output\OutputInterface; |
| 21 | 18 | |
@@ -136,7 +136,7 @@ |
||
| 136 | 136 | * Returns the list of members for a group-principal |
| 137 | 137 | * |
| 138 | 138 | * @param string $principal |
| 139 | - * @return array |
|
| 139 | + * @return string[] |
|
| 140 | 140 | */ |
| 141 | 141 | function getGroupMemberSet($principal) { |
| 142 | 142 | // TODO: for now the group principal has only one member, the user itself |
@@ -30,7 +30,6 @@ |
||
| 30 | 30 | * StorageTimeoutException constructor. |
| 31 | 31 | * |
| 32 | 32 | * @param string $message |
| 33 | - * @param int $code |
|
| 34 | 33 | * @param \Exception $previous |
| 35 | 34 | * @since 9.0.0 |
| 36 | 35 | */ |
@@ -30,7 +30,6 @@ |
||
| 30 | 30 | * StorageTimeoutException constructor. |
| 31 | 31 | * |
| 32 | 32 | * @param string $message |
| 33 | - * @param int $code |
|
| 34 | 33 | * @param \Exception $previous |
| 35 | 34 | * @since 9.0.0 |
| 36 | 35 | */ |
@@ -30,7 +30,6 @@ |
||
| 30 | 30 | * StorageTimeoutException constructor. |
| 31 | 31 | * |
| 32 | 32 | * @param string $message |
| 33 | - * @param int $code |
|
| 34 | 33 | * @param \Exception $previous |
| 35 | 34 | * @since 9.0.0 |
| 36 | 35 | */ |
@@ -30,7 +30,6 @@ |
||
| 30 | 30 | * StorageTimeoutException constructor. |
| 31 | 31 | * |
| 32 | 32 | * @param string $message |
| 33 | - * @param int $code |
|
| 34 | 33 | * @param \Exception $previous |
| 35 | 34 | * @since 9.0.0 |
| 36 | 35 | */ |