From 577c052aff605697cd173967751828a181cca4ad Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Fri, 29 Nov 2019 19:38:28 +0100 Subject: Twig update to 3.0.0 and Renderer type hinting --- src/Renderer/Twig/Extensions/Session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Renderer/Twig/Extensions/Session.php') diff --git a/src/Renderer/Twig/Extensions/Session.php b/src/Renderer/Twig/Extensions/Session.php index 378e977e..77b5b55a 100644 --- a/src/Renderer/Twig/Extensions/Session.php +++ b/src/Renderer/Twig/Extensions/Session.php @@ -22,7 +22,7 @@ class Session extends TwigExtension /** * @return TwigFunction[] */ - public function getFunctions() + public function getFunctions(): array { return [ new TwigFunction('session_get', [$this->session, 'get']), -- cgit v1.2.3-70-g09d2