@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | |
30 | 30 | /** |
31 | 31 | * Load a Template Handler |
32 | - * @param class $handler The template handler class instance |
|
32 | + * @param View\Adapter $handler The template handler class instance |
|
33 | 33 | */ |
34 | 34 | public static function using(View\Adapter &$handler){ |
35 | 35 | static::$handler = $handler; |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | |
70 | 70 | /** |
71 | 71 | * Returns the handler instance |
72 | - * @return mixed |
|
72 | + * @return View\Adapter |
|
73 | 73 | */ |
74 | 74 | public static function & handler(){ |
75 | 75 | return static::$handler; |
@@ -57,6 +57,9 @@ |
||
57 | 57 | class PHPContext { |
58 | 58 | protected $data = []; |
59 | 59 | |
60 | + /** |
|
61 | + * @param string $path |
|
62 | + */ |
|
60 | 63 | public function __construct($data=[], $path=null){ |
61 | 64 | $this->data = $data; |
62 | 65 | } |