@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace OCA\Federation\Command; |
4 | 4 | |
5 | -use OCA\Federation\DbHandler; |
|
6 | 5 | use Symfony\Component\Console\Command\Command; |
7 | 6 | use Symfony\Component\Console\Helper\ProgressBar; |
8 | 7 | use Symfony\Component\Console\Input\InputInterface; |
@@ -3,10 +3,6 @@ |
||
3 | 3 | namespace OCA\Federation; |
4 | 4 | |
5 | 5 | use OCA\DAV\CardDAV\SyncService; |
6 | -use Symfony\Component\Console\Command\Command; |
|
7 | -use Symfony\Component\Console\Helper\ProgressBar; |
|
8 | -use Symfony\Component\Console\Input\InputInterface; |
|
9 | -use Symfony\Component\Console\Output\OutputInterface; |
|
10 | 6 | |
11 | 7 | class SyncFederationAddressBooks { |
12 | 8 |
@@ -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 |
@@ -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 { |
@@ -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; |
@@ -463,7 +463,7 @@ |
||
463 | 463 | /** |
464 | 464 | * get database row of a give share |
465 | 465 | * |
466 | - * @param $id |
|
466 | + * @param integer $id |
|
467 | 467 | * @return array |
468 | 468 | * @throws ShareNotFound |
469 | 469 | */ |
@@ -25,7 +25,6 @@ |
||
25 | 25 | |
26 | 26 | use OC\Share20\Share; |
27 | 27 | use OCP\Files\IRootFolder; |
28 | -use OCP\IAppConfig; |
|
29 | 28 | use OCP\IConfig; |
30 | 29 | use OCP\IL10N; |
31 | 30 | use OCP\ILogger; |