@@ -329,7 +329,7 @@ |
||
| 329 | 329 | /** |
| 330 | 330 | * find all available languages for an app |
| 331 | 331 | * @param string $app App that needs to be translated |
| 332 | - * @return array an array of available languages |
|
| 332 | + * @return string[] an array of available languages |
|
| 333 | 333 | * @deprecated 9.0.0 Use \OC::$server->getL10NFactory()->findAvailableLanguages() instead |
| 334 | 334 | */ |
| 335 | 335 | public static function findAvailableLanguages($app=null) { |
@@ -96,7 +96,7 @@ |
||
| 96 | 96 | /** |
| 97 | 97 | * Appends a variable |
| 98 | 98 | * @param string $key key |
| 99 | - * @param mixed $value value |
|
| 99 | + * @param string $value value |
|
| 100 | 100 | * @return boolean|null |
| 101 | 101 | * |
| 102 | 102 | * This function assigns a variable in an array context. If the key already |
@@ -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 |
@@ -5,10 +5,6 @@ |
||
| 5 | 5 | use OCA\DAV\CardDAV\AddressBook; |
| 6 | 6 | use OCA\DAV\CardDAV\CardDavBackend; |
| 7 | 7 | use Sabre\CardDAV\Plugin; |
| 8 | -use Symfony\Component\Console\Command\Command; |
|
| 9 | -use Symfony\Component\Console\Input\InputArgument; |
|
| 10 | -use Symfony\Component\Console\Input\InputInterface; |
|
| 11 | -use Symfony\Component\Console\Output\OutputInterface; |
|
| 12 | 8 | |
| 13 | 9 | class MigrateAddressbooks { |
| 14 | 10 | |
@@ -22,15 +22,12 @@ |
||
| 22 | 22 | namespace OCA\Files_External\Command; |
| 23 | 23 | |
| 24 | 24 | use OC\Core\Command\Base; |
| 25 | -use OCA\Files_external\Lib\StorageConfig; |
|
| 26 | 25 | use OCA\Files_external\NotFoundException; |
| 27 | 26 | use OCA\Files_external\Service\GlobalStoragesService; |
| 28 | 27 | use OCA\Files_external\Service\UserStoragesService; |
| 29 | 28 | use OCP\IUserManager; |
| 30 | 29 | use OCP\IUserSession; |
| 31 | 30 | use Symfony\Component\Console\Command\Command; |
| 32 | -use Symfony\Component\Console\Helper\Table; |
|
| 33 | -use Symfony\Component\Console\Helper\TableHelper; |
|
| 34 | 31 | use Symfony\Component\Console\Input\ArrayInput; |
| 35 | 32 | use Symfony\Component\Console\Input\InputArgument; |
| 36 | 33 | use Symfony\Component\Console\Input\InputInterface; |
@@ -34,7 +34,6 @@ |
||
| 34 | 34 | use OCP\Encryption\Exceptions\GenericEncryptionException; |
| 35 | 35 | use OCP\IConfig; |
| 36 | 36 | use OCP\ILogger; |
| 37 | -use OCP\IUser; |
|
| 38 | 37 | use OCP\IUserSession; |
| 39 | 38 | |
| 40 | 39 | class Crypt { |
@@ -34,7 +34,6 @@ |
||
| 34 | 34 | use OCP\Encryption\Exceptions\GenericEncryptionException; |
| 35 | 35 | use OCP\IConfig; |
| 36 | 36 | use OCP\ILogger; |
| 37 | -use OCP\IUser; |
|
| 38 | 37 | use OCP\IUserSession; |
| 39 | 38 | |
| 40 | 39 | class Crypt { |
@@ -95,7 +95,7 @@ |
||
| 95 | 95 | * returns a reference to the comments node |
| 96 | 96 | * |
| 97 | 97 | * @param Node $node |
| 98 | - * @return mixed|string |
|
| 98 | + * @return null|string |
|
| 99 | 99 | */ |
| 100 | 100 | public function getCommentsLink(Node $node) { |
| 101 | 101 | $href = $this->server->getBaseUri(); |
@@ -28,8 +28,6 @@ |
||
| 28 | 28 | use OCP\IGroupManager; |
| 29 | 29 | use OCP\IUserManager; |
| 30 | 30 | use Symfony\Component\Console\Command\Command; |
| 31 | -use Symfony\Component\Console\Helper\Table; |
|
| 32 | -use Symfony\Component\Console\Helper\TableHelper; |
|
| 33 | 31 | use Symfony\Component\Console\Input\InputArgument; |
| 34 | 32 | use Symfony\Component\Console\Input\InputInterface; |
| 35 | 33 | use Symfony\Component\Console\Input\InputOption; |