@@ -69,6 +69,9 @@ discard block |
||
69 | 69 | return new static($config); |
70 | 70 | } |
71 | 71 | |
72 | + /** |
|
73 | + * @param string $name |
|
74 | + */ |
|
72 | 75 | public static function readVendorConfig($vendor, $name) |
73 | 76 | { |
74 | 77 | $path = Yii::getAlias(static::buildVendorPath($vendor, $name)); |
@@ -98,7 +101,6 @@ discard block |
||
98 | 101 | |
99 | 102 | /** |
100 | 103 | * Sets extra environment variables. |
101 | - * @param array $config |
|
102 | 104 | */ |
103 | 105 | public function setExtraEnv($vars) |
104 | 106 | { |
@@ -199,8 +201,8 @@ discard block |
||
199 | 201 | |
200 | 202 | /** |
201 | 203 | * Run request. |
202 | - * @param string|array $query |
|
203 | - * @return Response |
|
204 | + * @param string $query |
|
205 | + * @return \yii\console\Response |
|
204 | 206 | */ |
205 | 207 | public function runRequest($query) |
206 | 208 | { |
@@ -119,7 +119,7 @@ |
||
119 | 119 | |
120 | 120 | foreach (['params', 'aliases', 'modules', 'components'] as $key) { |
121 | 121 | if (isset($config[$key])) { |
122 | - $this->{'setExtra' . ucfirst($key)}($config[$key]); |
|
122 | + $this->{'setExtra'.ucfirst($key)}($config[$key]); |
|
123 | 123 | } |
124 | 124 | } |
125 | 125 |