@@ -11,7 +11,7 @@ |
||
| 11 | 11 | /** |
| 12 | 12 | * Returns the current widget in scope rendered into its' holder |
| 13 | 13 | * |
| 14 | - * @return HTML |
|
| 14 | + * @return HTMLText |
|
| 15 | 15 | */ |
| 16 | 16 | public function WidgetHolder() |
| 17 | 17 | { |
@@ -92,6 +92,7 @@ discard block |
||
| 92 | 92 | * Version viewer must only be added at if this is the final getCMSFields for a class. |
| 93 | 93 | * in order to avoid having to rename all fields from eg Root.Main to Root.Current.Main |
| 94 | 94 | * To do this we test if getCMSFields is from the current class |
| 95 | + * @param string $className |
|
| 95 | 96 | */ |
| 96 | 97 | public function isEndofLine($className) |
| 97 | 98 | { |
@@ -195,7 +196,7 @@ discard block |
||
| 195 | 196 | * Override the {@link Widget::forTemplate()} method so that holders are not rendered twice. The controller should |
| 196 | 197 | * render with widget inside the |
| 197 | 198 | * |
| 198 | - * @return HTML |
|
| 199 | + * @return HTMLText |
|
| 199 | 200 | */ |
| 200 | 201 | public function forTemplate($holder = true) { |
| 201 | 202 | return $this->renderWith($this->class); |