diff --git a/src/View/TemplateAwareViewInterface.php b/src/View/TemplateAwareViewInterface.php index cc43a21bc..e89d91fd4 100644 --- a/src/View/TemplateAwareViewInterface.php +++ b/src/View/TemplateAwareViewInterface.php @@ -13,12 +13,14 @@ * Optional addition to ViewInterface if the view deals with template files. * * @api + * @todo add return types with Fluid v5 */ interface TemplateAwareViewInterface { /** + * @todo as the outfacing interface, this (and its implementations) should actually return a string * @param string $templateName A template name to render, e.g. "Main/Index" - * @return string The rendered view + * @return mixed The rendered view * @api */ public function render(string $templateName = '');