diff --git a/src/Response.php b/src/Response.php index d25b202..233e3f7 100644 --- a/src/Response.php +++ b/src/Response.php @@ -27,7 +27,7 @@ class Response private $renderer = null; - function __construct(Container $c, string $layout, $mixed) + function __construct(Container $c, callable $layout, $mixed) { $this->container = $c;