From 754bd4ecd43e60ec23992b56eb64d53392dd61d4 Mon Sep 17 00:00:00 2001 From: Vyacheslav Pavlov Date: Tue, 26 Jul 2016 15:42:00 +0300 Subject: [PATCH] [TwigBridge] Removed extra arguments in 2 places. --- src/Symfony/Bridge/Twig/Extension/LogoutUrlExtension.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Symfony/Bridge/Twig/Extension/LogoutUrlExtension.php b/src/Symfony/Bridge/Twig/Extension/LogoutUrlExtension.php index 7fc278758e..ea105e8d95 100644 --- a/src/Symfony/Bridge/Twig/Extension/LogoutUrlExtension.php +++ b/src/Symfony/Bridge/Twig/Extension/LogoutUrlExtension.php @@ -11,7 +11,6 @@ namespace Symfony\Bridge\Twig\Extension; -use Symfony\Component\Routing\Generator\UrlGeneratorInterface; use Symfony\Component\Security\Http\Logout\LogoutUrlGenerator; /** @@ -48,7 +47,7 @@ class LogoutUrlExtension extends \Twig_Extension */ public function getLogoutPath($key = null) { - return $this->generator->getLogoutPath($key, UrlGeneratorInterface::ABSOLUTE_PATH); + return $this->generator->getLogoutPath($key); } /** @@ -60,7 +59,7 @@ class LogoutUrlExtension extends \Twig_Extension */ public function getLogoutUrl($key = null) { - return $this->generator->getLogoutUrl($key, UrlGeneratorInterface::ABSOLUTE_URL); + return $this->generator->getLogoutUrl($key); } /**