Skip to content

Commit d3ee2b6

Browse files
King2500Robin Chalas
authored and
Robin Chalas
committed
Removed non-existing parameters for LogoutUrlGenerator calls
1 parent c8d6dec commit d3ee2b6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Symfony/Bundle/SecurityBundle/Templating/Helper/LogoutUrlHelper.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Bundle\SecurityBundle\Templating\Helper;
1313

14-
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
1514
use Symfony\Component\Security\Http\Logout\LogoutUrlGenerator;
1615
use Symfony\Component\Templating\Helper\Helper;
1716

@@ -38,7 +37,7 @@ public function __construct(LogoutUrlGenerator $generator)
3837
*/
3938
public function getLogoutPath($key)
4039
{
41-
return $this->generator->getLogoutPath($key, UrlGeneratorInterface::ABSOLUTE_PATH);
40+
return $this->generator->getLogoutPath($key);
4241
}
4342

4443
/**
@@ -50,7 +49,7 @@ public function getLogoutPath($key)
5049
*/
5150
public function getLogoutUrl($key)
5251
{
53-
return $this->generator->getLogoutUrl($key, UrlGeneratorInterface::ABSOLUTE_URL);
52+
return $this->generator->getLogoutUrl($key);
5453
}
5554

5655
/**

0 commit comments

Comments
 (0)