@@ -24,6 +24,7 @@ discard block |
||
| 24 | 24 | * @param array $dsn |
| 25 | 25 | * @param string|null $username |
| 26 | 26 | * @param string|null $password |
| 27 | + * @return void |
|
| 27 | 28 | */ |
| 28 | 29 | public function __construct(array $dsn, $username, $password); |
| 29 | 30 | |
@@ -33,6 +34,7 @@ discard block |
||
| 33 | 34 | * Aliases in file name should not be used as they should be resolved earlier. |
| 34 | 35 | * |
| 35 | 36 | * @param string $file |
| 37 | + * @return void |
|
| 36 | 38 | */ |
| 37 | 39 | public function dump($file); |
| 38 | 40 | |
@@ -42,6 +44,7 @@ discard block |
||
| 42 | 44 | * Aliases in file name should not be used as they should be resolved earlier. |
| 43 | 45 | * |
| 44 | 46 | * @param string $file |
| 47 | + * @return void |
|
| 45 | 48 | */ |
| 46 | 49 | public function restore($file); |
| 47 | 50 | } |
@@ -101,6 +101,9 @@ |
||
| 101 | 101 | return $fileName; |
| 102 | 102 | } |
| 103 | 103 | |
| 104 | + /** |
|
| 105 | + * @param string $cmd |
|
| 106 | + */ |
|
| 104 | 107 | protected function runCommand($cmd) |
| 105 | 108 | { |
| 106 | 109 | $process = new Process($cmd); |
@@ -110,6 +110,9 @@ discard block |
||
| 110 | 110 | return $dumper; |
| 111 | 111 | } |
| 112 | 112 | |
| 113 | + /** |
|
| 114 | + * @param string|null $db |
|
| 115 | + */ |
|
| 113 | 116 | protected function getDbComponent($db) |
| 114 | 117 | { |
| 115 | 118 | if (!$db) { |
@@ -125,6 +128,9 @@ discard block |
||
| 125 | 128 | return $component; |
| 126 | 129 | } |
| 127 | 130 | |
| 131 | + /** |
|
| 132 | + * @param string|null $file |
|
| 133 | + */ |
|
| 128 | 134 | protected function getDumpFilePath($file) |
| 129 | 135 | { |
| 130 | 136 | if (!$file) { |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | /** |
| 42 | 42 | * @param string $actionID |
| 43 | 43 | * |
| 44 | - * @return array |
|
| 44 | + * @return string[] |
|
| 45 | 45 | * @codeCoverageIgnore |
| 46 | 46 | */ |
| 47 | 47 | public function options($actionID) |