@@ -110,6 +110,7 @@ discard block |
||
110 | 110 | /** |
111 | 111 | * Changes theme. |
112 | 112 | * @param string theme name |
113 | + * @param string $name |
|
113 | 114 | * @throws InvalidConfigException |
114 | 115 | */ |
115 | 116 | public function setTheme($name) |
@@ -139,7 +140,7 @@ discard block |
||
139 | 140 | } |
140 | 141 | |
141 | 142 | /** |
142 | - * @return bool |
|
143 | + * @return boolean|null |
|
143 | 144 | */ |
144 | 145 | public static function isHomePage() |
145 | 146 | { |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use yii\base\InvalidConfigException; |
17 | 17 | use yii\web\AssetBundle; |
18 | 18 | use yii\web\Controller; |
19 | -use yii\web\Request; |
|
20 | 19 | |
21 | 20 | /** |
22 | 21 | * Theme Manager. Provides:. |