We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eb9a945 + 09f8ed1 commit 64c5f73Copy full SHA for 64c5f73
1 file changed
Twig/RouteSecurityExtension.php
@@ -22,7 +22,7 @@ public function __construct(AccessControl $accessControl)
22
$this->accessControl = $accessControl;
23
}
24
25
- public function getFunctions()
+ public function getFunctions(): array
26
{
27
return [
28
new TwigFunction('hasUserAccessToRoute', [$this->accessControl, 'hasUserAccessToRoute']),
0 commit comments