@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | - * @return int|Response exit code |
|
| 51 | + * @return null|integer exit code |
|
| 52 | 52 | */ |
| 53 | 53 | public function actionMake() |
| 54 | 54 | { |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | * Runs list of actions. |
| 149 | 149 | * TODO: think to redo with runRequests. |
| 150 | 150 | * @param null|string|array $actions |
| 151 | - * @return int|Response exit code |
|
| 151 | + * @return null|integer exit code |
|
| 152 | 152 | */ |
| 153 | 153 | public function runActions($actions) |
| 154 | 154 | { |
@@ -225,6 +225,9 @@ discard block |
||
| 225 | 225 | return readline($prompt); |
| 226 | 226 | } |
| 227 | 227 | |
| 228 | + /** |
|
| 229 | + * @param string $prompt |
|
| 230 | + */ |
|
| 228 | 231 | public function readpassword($prompt) |
| 229 | 232 | { |
| 230 | 233 | echo $prompt; |
@@ -235,6 +238,9 @@ discard block |
||
| 235 | 238 | return $password; |
| 236 | 239 | } |
| 237 | 240 | |
| 241 | + /** |
|
| 242 | + * @param string $id |
|
| 243 | + */ |
|
| 238 | 244 | public static function takeGoal($id) |
| 239 | 245 | { |
| 240 | 246 | return Yii::$app->get('config')->getGoal($id); |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | * |
| 92 | 92 | * @param mixed $data |
| 93 | 93 | * |
| 94 | - * @return string file content |
|
| 94 | + * @return boolean file content |
|
| 95 | 95 | */ |
| 96 | 96 | public function renderPath($path, $data) |
| 97 | 97 | { |
@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | * Read file into a string or array. |
| 157 | 157 | * @param string $path |
| 158 | 158 | * @param bool $asArray |
| 159 | - * @return string|array |
|
| 159 | + * @return string |
|
| 160 | 160 | */ |
| 161 | 161 | public function read($path, $asArray = false) |
| 162 | 162 | { |