@@ -139,6 +139,9 @@ discard block |
||
| 139 | 139 | return $dirs; |
| 140 | 140 | } |
| 141 | 141 | |
| 142 | + /** |
|
| 143 | + * @param string $name |
|
| 144 | + */ |
|
| 142 | 145 | public function buildPathes($dirs, $name) |
| 143 | 146 | { |
| 144 | 147 | foreach ($dirs as $dir) { |
@@ -202,6 +205,9 @@ discard block |
||
| 202 | 205 | return substr($class, 0, strrpos($class, '\\')) . '\\models\\Settings'; |
| 203 | 206 | } |
| 204 | 207 | |
| 208 | + /** |
|
| 209 | + * @param string $class |
|
| 210 | + */ |
|
| 205 | 211 | public static function findSettingsClass($class) |
| 206 | 212 | { |
| 207 | 213 | $res = static::calcSettingsClass($class); |
@@ -109,6 +109,7 @@ discard block |
||
| 109 | 109 | /** |
| 110 | 110 | * Changes theme. |
| 111 | 111 | * @param string theme name |
| 112 | + * @param string $name |
|
| 112 | 113 | * @throws InvalidConfigException |
| 113 | 114 | */ |
| 114 | 115 | public function setTheme($name) |
@@ -199,7 +200,7 @@ discard block |
||
| 199 | 200 | * Draws widget. |
| 200 | 201 | * @param mixed $config |
| 201 | 202 | * @throws InvalidConfigException |
| 202 | - * @return void |
|
| 203 | + * @return string |
|
| 203 | 204 | */ |
| 204 | 205 | public function widget($config) |
| 205 | 206 | { |