@@ -79,7 +79,7 @@ |
||
79 | 79 | /** |
80 | 80 | * Defines parsing statistic types. |
81 | 81 | * |
82 | - * @return array |
|
82 | + * @return string[] |
|
83 | 83 | */ |
84 | 84 | public function defineStatisticTypes() |
85 | 85 | { |
@@ -79,7 +79,7 @@ |
||
79 | 79 | /** |
80 | 80 | * Defines parsing statistic types. |
81 | 81 | * |
82 | - * @return array |
|
82 | + * @return string[] |
|
83 | 83 | */ |
84 | 84 | public function defineStatisticTypes() |
85 | 85 | { |
@@ -79,7 +79,7 @@ |
||
79 | 79 | /** |
80 | 80 | * Defines parsing statistic types. |
81 | 81 | * |
82 | - * @return array |
|
82 | + * @return string[] |
|
83 | 83 | */ |
84 | 84 | public function defineStatisticTypes() |
85 | 85 | { |
@@ -79,7 +79,7 @@ |
||
79 | 79 | /** |
80 | 80 | * Defines parsing statistic types. |
81 | 81 | * |
82 | - * @return array |
|
82 | + * @return string[] |
|
83 | 83 | */ |
84 | 84 | public function defineStatisticTypes() |
85 | 85 | { |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | /** |
128 | 128 | * Returns available sub command names. |
129 | 129 | * |
130 | - * @return array |
|
130 | + * @return integer[] |
|
131 | 131 | */ |
132 | 132 | protected function getSubCommandNames() |
133 | 133 | { |
@@ -420,7 +420,7 @@ discard block |
||
420 | 420 | /** |
421 | 421 | * Returns list of config settings. |
422 | 422 | * |
423 | - * @return AbstractConfigSetting[] |
|
423 | + * @return PathsConfigSetting[] |
|
424 | 424 | */ |
425 | 425 | public function getConfigSettings() |
426 | 426 | { |
@@ -11,9 +11,9 @@ |
||
11 | 11 | namespace ConsoleHelpers\SVNBuddy\Command; |
12 | 12 | |
13 | 13 | |
14 | +use ConsoleHelpers\ConsoleKit\Exception\CommandException; |
|
14 | 15 | use ConsoleHelpers\SVNBuddy\Config\AbstractConfigSetting; |
15 | 16 | use ConsoleHelpers\SVNBuddy\Config\PathsConfigSetting; |
16 | -use ConsoleHelpers\ConsoleKit\Exception\CommandException; |
|
17 | 17 | use Stecman\Component\Symfony\Console\BashCompletion\CompletionContext; |
18 | 18 | use Symfony\Component\Console\Application; |
19 | 19 | use Symfony\Component\Console\Command\Command; |
@@ -11,18 +11,14 @@ |
||
11 | 11 | namespace ConsoleHelpers\SVNBuddy\Command; |
12 | 12 | |
13 | 13 | |
14 | -use ConsoleHelpers\ConsoleKit\Config\ConfigEditor; |
|
15 | 14 | use ConsoleHelpers\ConsoleKit\Exception\CommandException; |
16 | 15 | use ConsoleHelpers\SVNBuddy\Process\ProcessFactory; |
17 | 16 | use ConsoleHelpers\SVNBuddy\Updater\Stability; |
18 | 17 | use ConsoleHelpers\SVNBuddy\Updater\UpdateManager; |
19 | 18 | use ConsoleHelpers\SVNBuddy\Updater\Updater; |
20 | -use ConsoleHelpers\SVNBuddy\Updater\VersionUpdateStrategy; |
|
21 | 19 | use Symfony\Component\Console\Input\InputInterface; |
22 | 20 | use Symfony\Component\Console\Input\InputOption; |
23 | 21 | use Symfony\Component\Console\Output\OutputInterface; |
24 | -use Symfony\Component\Process\PhpExecutableFinder; |
|
25 | -use Symfony\Component\Process\ProcessBuilder; |
|
26 | 22 | |
27 | 23 | class SelfUpdateCommand extends AbstractCommand |
28 | 24 | { |
@@ -41,7 +41,7 @@ |
||
41 | 41 | * Creates new Symfony PHP process with given arguments. |
42 | 42 | * |
43 | 43 | * @param string $command Command. |
44 | - * @param array $arguments Arguments. |
|
44 | + * @param string[] $arguments Arguments. |
|
45 | 45 | * |
46 | 46 | * @return Process |
47 | 47 | * @throws \RuntimeException When PHP executable can't be found. |
@@ -11,8 +11,8 @@ |
||
11 | 11 | namespace ConsoleHelpers\SVNBuddy\Command\Dev; |
12 | 12 | |
13 | 13 | |
14 | -use ConsoleHelpers\SVNBuddy\Command\AbstractCommand; |
|
15 | 14 | use ConsoleHelpers\DatabaseMigration\MigrationManager; |
15 | +use ConsoleHelpers\SVNBuddy\Command\AbstractCommand; |
|
16 | 16 | use Stecman\Component\Symfony\Console\BashCompletion\CompletionContext; |
17 | 17 | use Symfony\Component\Console\Input\InputArgument; |
18 | 18 | use Symfony\Component\Console\Input\InputInterface; |