Completed
Push — master ( 2a3256...770069 )
by Andrii
04:50
created
src/base/Application.php 1 patch
Doc Comments   +8 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@  discard block
 block discarded – undo
68 68
         return new static($config);
69 69
     }
70 70
 
71
+    /**
72
+     * @param string $name
73
+     */
71 74
     public static function readVendorConfig($vendor, $name)
72 75
     {
73 76
         $path = Yii::getAlias(static::buildConfigPath($vendor, $name));
@@ -75,6 +78,9 @@  discard block
 block discarded – undo
75 78
         return file_exists($path) ? require $path : [];
76 79
     }
77 80
 
81
+    /**
82
+     * @return string
83
+     */
78 84
     public static function buildConfigPath($vendor, $name)
79 85
     {
80 86
         /// doesn't work when dependencies are not installed
@@ -99,7 +105,6 @@  discard block
 block discarded – undo
99 105
 
100 106
     /**
101 107
      * Sets extra environment variables.
102
-     * @param array $config
103 108
      */
104 109
     public function setExtraEnv($vars)
105 110
     {
@@ -200,8 +205,8 @@  discard block
 block discarded – undo
200 205
 
201 206
     /**
202 207
      * Run request.
203
-     * @param string|array $query
204
-     * @return Response
208
+     * @param string $query
209
+     * @return \yii\console\Response
205 210
      */
206 211
     public function runRequest($query)
207 212
     {
Please login to merge, or discard this patch.