@@ -27,7 +27,6 @@ |
||
27 | 27 | use OCP\IUser; |
28 | 28 | use OCP\ILogger; |
29 | 29 | use OCP\Files\Folder; |
30 | - |
|
31 | 30 | use OC\Share20\Exception\ShareNotFound; |
32 | 31 | |
33 | 32 | /** |
@@ -32,7 +32,7 @@ |
||
32 | 32 | private $webRoot; |
33 | 33 | |
34 | 34 | /** |
35 | - * @param $webRoot |
|
35 | + * @param string $webRoot |
|
36 | 36 | */ |
37 | 37 | public function __construct($webRoot) { |
38 | 38 | $this->webRoot = $webRoot; |
@@ -22,7 +22,6 @@ |
||
22 | 22 | |
23 | 23 | namespace OC\App; |
24 | 24 | |
25 | -use OC_Util; |
|
26 | 25 | use OCP\IConfig; |
27 | 26 | |
28 | 27 | /** |
@@ -120,7 +120,7 @@ |
||
120 | 120 | * Set a value in the cache if it's not already stored |
121 | 121 | * |
122 | 122 | * @param string $key |
123 | - * @param mixed $value |
|
123 | + * @param integer $value |
|
124 | 124 | * @param int $ttl Time To Live in seconds. Defaults to 60*60*24 |
125 | 125 | * @return bool |
126 | 126 | */ |
@@ -53,7 +53,7 @@ |
||
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
56 | - * @param \Doctrine\DBAL\Connection $connection |
|
56 | + * @param \OCP\IDBConnection $connection |
|
57 | 57 | * @return string[] |
58 | 58 | */ |
59 | 59 | private function getAllMyIsamTables($connection) { |
@@ -153,7 +153,6 @@ discard block |
||
153 | 153 | /** |
154 | 154 | * saves database schema to xml file |
155 | 155 | * @param string $file name of file |
156 | - * @param int $mode |
|
157 | 156 | * @return bool |
158 | 157 | * |
159 | 158 | * TODO: write more documentation |
@@ -197,7 +196,7 @@ discard block |
||
197 | 196 | * simulate the database schema update |
198 | 197 | * @param string $file file to read structure from |
199 | 198 | * @throws Exception |
200 | - * @return string|boolean |
|
199 | + * @return boolean |
|
201 | 200 | */ |
202 | 201 | public static function simulateUpdateDbFromStructure($file) { |
203 | 202 | $schemaManager = self::getMDB2SchemaManager(); |
@@ -161,7 +161,7 @@ |
||
161 | 161 | /** |
162 | 162 | * Set the BCC recipients of this message. |
163 | 163 | * |
164 | - * @param array $recipients Example: array('[email protected]', '[email protected]' => 'A name') |
|
164 | + * @param string[] $recipients Example: array('[email protected]', '[email protected]' => 'A name') |
|
165 | 165 | * @return $this |
166 | 166 | */ |
167 | 167 | public function setBcc(array $recipients) { |
@@ -141,7 +141,7 @@ |
||
141 | 141 | * |
142 | 142 | * @param string $filename Path to the file. |
143 | 143 | * |
144 | - * @return null|int|float Number of bytes as number (float or int) or |
|
144 | + * @return integer|null Number of bytes as number (float or int) or |
|
145 | 145 | * null on failure. |
146 | 146 | */ |
147 | 147 | public function getFileSizeViaCOM($filename) { |
@@ -31,13 +31,10 @@ |
||
31 | 31 | use OCP\IUserManager; |
32 | 32 | use OCP\IUserSession; |
33 | 33 | use Symfony\Component\Console\Command\Command; |
34 | -use Symfony\Component\Console\Helper\Table; |
|
35 | -use Symfony\Component\Console\Helper\TableHelper; |
|
36 | 34 | use Symfony\Component\Console\Input\ArrayInput; |
37 | 35 | use Symfony\Component\Console\Input\InputArgument; |
38 | 36 | use Symfony\Component\Console\Input\InputInterface; |
39 | 37 | use Symfony\Component\Console\Input\InputOption; |
40 | -use Symfony\Component\Console\Input\Input; |
|
41 | 38 | use Symfony\Component\Console\Output\OutputInterface; |
42 | 39 | |
43 | 40 | class Import extends Base { |