@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | /** |
46 | 46 | * @param string $engine |
47 | 47 | * @throws InvalidArgumentException |
48 | - * @return ViewableInterface Chainable |
|
48 | + * @return ViewableTrait Chainable |
|
49 | 49 | */ |
50 | 50 | public function setTemplateEngine($engine) |
51 | 51 | { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | /** |
77 | 77 | * @param string $ident |
78 | 78 | * @throws InvalidArgumentException |
79 | - * @return ViewableInterface Chainable |
|
79 | + * @return ViewableTrait Chainable |
|
80 | 80 | */ |
81 | 81 | public function setTemplateIdent($ident) |
82 | 82 | { |
@@ -98,9 +98,9 @@ discard block |
||
98 | 98 | } |
99 | 99 | |
100 | 100 | /** |
101 | - * @param ViewInterface|array $view |
|
101 | + * @param ViewInterface $view |
|
102 | 102 | * @throws InvalidArgumentException If the view parameter is not an array or a View object. |
103 | - * @return ViewableInterface Chainable |
|
103 | + * @return ViewableTrait Chainable |
|
104 | 104 | */ |
105 | 105 | public function setView(ViewInterface $view) |
106 | 106 | { |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | } |
118 | 118 | |
119 | 119 | /** |
120 | - * @param string $template The template to parse and render. If null, use the object's default. |
|
120 | + * @param string $templateIdent The template to parse and render. If null, use the object's default. |
|
121 | 121 | * @return string The rendered template. |
122 | 122 | */ |
123 | 123 | public function render($templateIdent = null) |
@@ -129,7 +129,6 @@ discard block |
||
129 | 129 | } |
130 | 130 | |
131 | 131 | /** |
132 | - * @param string $templateIdent The template ident to load and render. |
|
133 | 132 | * @return string The rendered template. |
134 | 133 | */ |
135 | 134 | public function renderTemplate($templateString = null) |
@@ -141,7 +140,7 @@ discard block |
||
141 | 140 | /** |
142 | 141 | * Retrieve a ViewableInterface instance for the template's context. |
143 | 142 | * |
144 | - * @return mixed |
|
143 | + * @return ViewableTrait |
|
145 | 144 | */ |
146 | 145 | public function viewController() |
147 | 146 | { |