@@ -10,7 +10,6 @@ |
||
10 | 10 | |
11 | 11 | use samsonframework\core\SystemInterface; |
12 | 12 | use samsonframework\resource\ResourceMap; |
13 | -use samsonframework\view\Generator; |
|
14 | 13 | use samsonphp\config\Scheme; |
15 | 14 | use samsonphp\core\exception\ViewPathNotFound; |
16 | 15 | use samsonphp\event\Event; |
@@ -159,6 +159,9 @@ discard block |
||
159 | 159 | return $this; |
160 | 160 | } |
161 | 161 | |
162 | + /** |
|
163 | + * @param string $viewPath |
|
164 | + */ |
|
162 | 165 | public function view($viewPath) |
163 | 166 | { |
164 | 167 | if (is_a($viewPath, ViewInterface::class)) { |
@@ -250,7 +253,7 @@ discard block |
||
250 | 253 | } |
251 | 254 | |
252 | 255 | /** |
253 | - * @param null $controller |
|
256 | + * @param string|null $controller |
|
254 | 257 | * |
255 | 258 | * @throws ControllerActionNotFound |
256 | 259 | */ |