@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * Construct a new view based on the passed template |
| 24 | - * @param mixed $template The template path or an array of them. |
|
| 24 | + * @param string $template The template path or an array of them. |
|
| 25 | 25 | */ |
| 26 | 26 | public function __construct($template){ |
| 27 | 27 | foreach ((array)$template as $templ){ |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * Load a Template Handler |
| 36 | - * @param class $handler The template handler class instance |
|
| 36 | + * @param View\Adapter $handler The template handler class instance |
|
| 37 | 37 | */ |
| 38 | 38 | public static function using(View\Adapter $handler){ |
| 39 | 39 | static::$handler = $handler; |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | |
| 74 | 74 | /** |
| 75 | 75 | * Returns the handler instance |
| 76 | - * @return mixed |
|
| 76 | + * @return View\Adapter |
|
| 77 | 77 | */ |
| 78 | 78 | public static function & handler(){ |
| 79 | 79 | return static::$handler; |