@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | * Runs list of actions. |
145 | 145 | * TODO: think to redo with runRequests. |
146 | 146 | * @param null|string|array $actions |
147 | - * @return int|Response exit code |
|
147 | + * @return null|integer exit code |
|
148 | 148 | */ |
149 | 149 | public function runActions($actions) |
150 | 150 | { |
@@ -221,6 +221,9 @@ discard block |
||
221 | 221 | return readline($prompt); |
222 | 222 | } |
223 | 223 | |
224 | + /** |
|
225 | + * @param string $prompt |
|
226 | + */ |
|
224 | 227 | public function readpassword($prompt) |
225 | 228 | { |
226 | 229 | echo $prompt; |
@@ -231,6 +234,9 @@ discard block |
||
231 | 234 | return $password; |
232 | 235 | } |
233 | 236 | |
237 | + /** |
|
238 | + * @param string $id |
|
239 | + */ |
|
234 | 240 | public function takeGoal($id) |
235 | 241 | { |
236 | 242 | return Yii::$app->get('config')->getGoal($id); |