@@ -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,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; |
@@ -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 |
@@ -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; |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | /** |
| 30 | 30 | * Defines parsing statistic types. |
| 31 | 31 | * |
| 32 | - * @return array |
|
| 32 | + * @return string[] |
|
| 33 | 33 | */ |
| 34 | 34 | public function defineStatisticTypes() |
| 35 | 35 | { |
@@ -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 | |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | /** |
| 30 | 30 | * Defines parsing statistic types. |
| 31 | 31 | * |
| 32 | - * @return array |
|
| 32 | + * @return string[] |
|
| 33 | 33 | */ |
| 34 | 34 | public function defineStatisticTypes() |
| 35 | 35 | { |
@@ -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 | { |