[TwigBridge] Removed extra arguments in 2 places.

This commit is contained in:
Vyacheslav Pavlov 2016-07-26 15:42:00 +03:00 committed by Nicolas Grekas
parent eeaa0c7fd1
commit 754bd4ecd4

View File

@ -11,7 +11,6 @@
namespace Symfony\Bridge\Twig\Extension; namespace Symfony\Bridge\Twig\Extension;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use Symfony\Component\Security\Http\Logout\LogoutUrlGenerator; use Symfony\Component\Security\Http\Logout\LogoutUrlGenerator;
/** /**
@ -48,7 +47,7 @@ class LogoutUrlExtension extends \Twig_Extension
*/ */
public function getLogoutPath($key = null) 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) public function getLogoutUrl($key = null)
{ {
return $this->generator->getLogoutUrl($key, UrlGeneratorInterface::ABSOLUTE_URL); return $this->generator->getLogoutUrl($key);
} }
/** /**