@@ -369,7 +369,7 @@ |
||
| 369 | 369 | /** |
| 370 | 370 | * Returns list of config settings. |
| 371 | 371 | * |
| 372 | - * @return AbstractConfigSetting[] |
|
| 372 | + * @return PathsConfigSetting[] |
|
| 373 | 373 | */ |
| 374 | 374 | public function getConfigSettings() |
| 375 | 375 | { |
@@ -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\Input\InputArgument; |
@@ -203,7 +203,7 @@ |
||
| 203 | 203 | * |
| 204 | 204 | * @param mixed $value Value. |
| 205 | 205 | * |
| 206 | - * @return mixed |
|
| 206 | + * @return string |
|
| 207 | 207 | */ |
| 208 | 208 | protected function openEditor($value) |
| 209 | 209 | { |
@@ -11,9 +11,9 @@ |
||
| 11 | 11 | namespace ConsoleHelpers\SVNBuddy\Command; |
| 12 | 12 | |
| 13 | 13 | |
| 14 | -use ConsoleHelpers\SVNBuddy\Config\ArrayConfigSetting; |
|
| 15 | 14 | use ConsoleHelpers\ConsoleKit\Config\ConfigEditor; |
| 16 | 15 | use ConsoleHelpers\SVNBuddy\Config\AbstractConfigSetting; |
| 16 | +use ConsoleHelpers\SVNBuddy\Config\ArrayConfigSetting; |
|
| 17 | 17 | use ConsoleHelpers\SVNBuddy\Config\ChoiceConfigSetting; |
| 18 | 18 | use ConsoleHelpers\SVNBuddy\InteractiveEditor; |
| 19 | 19 | use Stecman\Component\Symfony\Console\BashCompletion\CompletionContext; |
@@ -220,7 +220,7 @@ |
||
| 220 | 220 | * Runs command. |
| 221 | 221 | * |
| 222 | 222 | * @param string $command Command. |
| 223 | - * @param array $arguments Arguments. |
|
| 223 | + * @param string[] $arguments Arguments. |
|
| 224 | 224 | * @param string|null $working_directory Working directory. |
| 225 | 225 | * |
| 226 | 226 | * @return string |
@@ -11,10 +11,10 @@ |
||
| 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\IntegerConfigSetting; |
| 16 | 17 | use ConsoleHelpers\SVNBuddy\Config\RegExpsConfigSetting; |
| 17 | -use ConsoleHelpers\ConsoleKit\Exception\CommandException; |
|
| 18 | 18 | use ConsoleHelpers\SVNBuddy\Repository\Parser\RevisionListParser; |
| 19 | 19 | use ConsoleHelpers\SVNBuddy\Repository\RevisionLog\RevisionLog; |
| 20 | 20 | use ConsoleHelpers\SVNBuddy\Repository\RevisionLog\RevisionPrinter; |
@@ -359,7 +359,7 @@ discard block |
||
| 359 | 359 | /** |
| 360 | 360 | * Returns all refs. |
| 361 | 361 | * |
| 362 | - * @return array |
|
| 362 | + * @return string[] |
|
| 363 | 363 | */ |
| 364 | 364 | protected function getAllRefs() |
| 365 | 365 | { |
@@ -372,7 +372,7 @@ discard block |
||
| 372 | 372 | /** |
| 373 | 373 | * Returns all actions. |
| 374 | 374 | * |
| 375 | - * @return array |
|
| 375 | + * @return string[] |
|
| 376 | 376 | */ |
| 377 | 377 | protected function getAllActions() |
| 378 | 378 | { |
@@ -382,7 +382,7 @@ discard block |
||
| 382 | 382 | /** |
| 383 | 383 | * Returns all actions. |
| 384 | 384 | * |
| 385 | - * @return array |
|
| 385 | + * @return string[] |
|
| 386 | 386 | */ |
| 387 | 387 | protected function getAllKinds() |
| 388 | 388 | { |
@@ -600,7 +600,7 @@ discard block |
||
| 600 | 600 | /** |
| 601 | 601 | * Returns option names, that makes sense to use in aggregation mode. |
| 602 | 602 | * |
| 603 | - * @return array |
|
| 603 | + * @return string[] |
|
| 604 | 604 | */ |
| 605 | 605 | public function getAggregatedOptions() |
| 606 | 606 | { |
@@ -11,11 +11,11 @@ |
||
| 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\ArrayConfigSetting; |
| 16 | 17 | use ConsoleHelpers\SVNBuddy\Config\ChoiceConfigSetting; |
| 17 | 18 | use ConsoleHelpers\SVNBuddy\Config\StringConfigSetting; |
| 18 | -use ConsoleHelpers\ConsoleKit\Exception\CommandException; |
|
| 19 | 19 | use ConsoleHelpers\SVNBuddy\Helper\OutputHelper; |
| 20 | 20 | use ConsoleHelpers\SVNBuddy\MergeSourceDetector\AbstractMergeSourceDetector; |
| 21 | 21 | use ConsoleHelpers\SVNBuddy\Repository\Connector\UrlResolver; |
@@ -722,7 +722,7 @@ |
||
| 722 | 722 | /** |
| 723 | 723 | * Returns option names, that makes sense to use in aggregation mode. |
| 724 | 724 | * |
| 725 | - * @return array |
|
| 725 | + * @return string[] |
|
| 726 | 726 | */ |
| 727 | 727 | public function getAggregatedOptions() |
| 728 | 728 | { |
@@ -14,8 +14,8 @@ |
||
| 14 | 14 | use Aura\Sql\ExtendedPdo; |
| 15 | 15 | use Aura\Sql\ExtendedPdoInterface; |
| 16 | 16 | use ConsoleHelpers\ConsoleKit\ConsoleIO; |
| 17 | -use ConsoleHelpers\DatabaseMigration\MigrationManager; |
|
| 18 | 17 | use ConsoleHelpers\DatabaseMigration\MigrationContext; |
| 18 | +use ConsoleHelpers\DatabaseMigration\MigrationManager; |
|
| 19 | 19 | use ConsoleHelpers\SVNBuddy\Database\StatementProfiler; |
| 20 | 20 | use ConsoleHelpers\SVNBuddy\Repository\Connector\Connector; |
| 21 | 21 | |
@@ -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 | { |
@@ -419,7 +419,7 @@ |
||
| 419 | 419 | * |
| 420 | 420 | * @param string $path Path. |
| 421 | 421 | * |
| 422 | - * @return integer |
|
| 422 | + * @return string |
|
| 423 | 423 | */ |
| 424 | 424 | public function getPathChecksum($path) |
| 425 | 425 | { |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | /** |
| 159 | 159 | * Returns allowed modes. |
| 160 | 160 | * |
| 161 | - * @return array |
|
| 161 | + * @return string[] |
|
| 162 | 162 | */ |
| 163 | 163 | protected function getModes() |
| 164 | 164 | { |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | /** |
| 169 | 169 | * Returns list of config settings. |
| 170 | 170 | * |
| 171 | - * @return AbstractConfigSetting[] |
|
| 171 | + * @return ArrayConfigSetting[] |
|
| 172 | 172 | */ |
| 173 | 173 | public function getConfigSettings() |
| 174 | 174 | { |