Completed
Push — master ( f92269...60927c )
by Andrii
02:43
created
src/controllers/AbstractController.php 1 patch
Doc Comments   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
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
     {
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     /**
143 143
      * Is response NOT Ok.
144 144
      * @param Response|int $res
145
-     * @return bool
145
+     * @return integer
146 146
      */
147 147
     public static function isNotOk($res)
148 148
     {
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
 
152 152
     /**
153 153
      * Is response Ok.
154
-     * @param Response|int $res
154
+     * @param integer $res
155 155
      * @return bool
156 156
      */
157 157
     public static function isOk($res)
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
      * Runs list of actions.
164 164
      * TODO: think to redo with runRequests.
165 165
      * @param null|string|array $actions
166
-     * @return int|Response exit code
166
+     * @return null|integer exit code
167 167
      */
168 168
     public function runActions($actions)
169 169
     {
@@ -240,6 +240,9 @@  discard block
 block discarded – undo
240 240
         return readline($prompt);
241 241
     }
242 242
 
243
+    /**
244
+     * @param string $prompt
245
+     */
243 246
     public function readpassword($prompt)
244 247
     {
245 248
         echo $prompt;
@@ -250,6 +253,9 @@  discard block
 block discarded – undo
250 253
         return $password;
251 254
     }
252 255
 
256
+    /**
257
+     * @param string $id
258
+     */
253 259
     public static function takeGoal($id)
254 260
     {
255 261
         return Yii::$app->get('config')->getGoal($id);
Please login to merge, or discard this patch.