@@ -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\Input\InputArgument; |
| 19 | 19 | use Symfony\Component\Console\Input\InputInterface; |
@@ -119,7 +119,7 @@ |
||
| 119 | 119 | /** |
| 120 | 120 | * Returns format version. |
| 121 | 121 | * |
| 122 | - * @return mixed |
|
| 122 | + * @return string |
|
| 123 | 123 | */ |
| 124 | 124 | private function _getCacheInvalidator() |
| 125 | 125 | { |
@@ -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 |
@@ -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 | { |
@@ -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; |
@@ -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; |
@@ -219,7 +219,7 @@ discard block |
||
| 219 | 219 | * |
| 220 | 220 | * @param string $name Property name. |
| 221 | 221 | * @param string $path_or_url Path to get property from. |
| 222 | - * @param mixed $revision Revision. |
|
| 222 | + * @param integer|null $revision Revision. |
|
| 223 | 223 | * |
| 224 | 224 | * @return string |
| 225 | 225 | */ |
@@ -288,7 +288,7 @@ discard block |
||
| 288 | 288 | * |
| 289 | 289 | * @param string $path Path to a file. |
| 290 | 290 | * |
| 291 | - * @return string|boolean |
|
| 291 | + * @return string|false |
|
| 292 | 292 | * @see getProjectUrl |
| 293 | 293 | */ |
| 294 | 294 | public function getRefByPath($path) |
@@ -11,9 +11,9 @@ |
||
| 11 | 11 | namespace ConsoleHelpers\SVNBuddy\Repository\Connector; |
| 12 | 12 | |
| 13 | 13 | |
| 14 | +use ConsoleHelpers\ConsoleKit\Config\ConfigEditor; |
|
| 14 | 15 | use ConsoleHelpers\ConsoleKit\ConsoleIO; |
| 15 | 16 | use ConsoleHelpers\SVNBuddy\Cache\CacheManager; |
| 16 | -use ConsoleHelpers\ConsoleKit\Config\ConfigEditor; |
|
| 17 | 17 | use ConsoleHelpers\SVNBuddy\Exception\RepositoryCommandException; |
| 18 | 18 | use ConsoleHelpers\SVNBuddy\Process\IProcessFactory; |
| 19 | 19 | |
@@ -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 | { |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | /** |
| 42 | 42 | * Defines parsing statistic types. |
| 43 | 43 | * |
| 44 | - * @return array |
|
| 44 | + * @return string[] |
|
| 45 | 45 | */ |
| 46 | 46 | public function defineStatisticTypes() |
| 47 | 47 | { |