diff --git a/09-templating.md b/09-templating.md index a679aaa..1f1bb7c 100644 --- a/09-templating.md +++ b/09-templating.md @@ -27,20 +27,20 @@ So what does our template engine actually need to do? For now we really just nee In there create a new interface `Renderer.php` that looks like this: ```php -engine = $engine; } - public function render($template, $data = []) + public function render($template, $data = []) : string { return $this->engine->render($template, $data); } @@ -71,7 +71,7 @@ Of course we also have to add a definition in our `Dependencies.php` file becaus Now in your `Homepage` controller, add the new dependency like this: ```php -