Completed
Push — master ( 9039c2...e30981 )
by Andrii
03:01
created
src/controllers/AbstractController.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.