Completed
Push — master ( 24d81b...f92269 )
by Andrii
02:51
created
src/controllers/AbstractController.php 1 patch
Doc Comments   +8 added lines, -2 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
     {
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/handlers/BaseHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.