Skip to content

Commit

Permalink
Removed non-existing parameters for LogoutUrlGenerator calls
Browse files Browse the repository at this point in the history
  • Loading branch information
King2500 authored and Robin Chalas committed Mar 2, 2019
1 parent c8d6dec commit d3ee2b6
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -11,7 +11,6 @@

namespace Symfony\Bundle\SecurityBundle\Templating\Helper;

use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use Symfony\Component\Security\Http\Logout\LogoutUrlGenerator;
use Symfony\Component\Templating\Helper\Helper;

Expand All @@ -38,7 +37,7 @@ public function __construct(LogoutUrlGenerator $generator)
*/
public function getLogoutPath($key)
{
return $this->generator->getLogoutPath($key, UrlGeneratorInterface::ABSOLUTE_PATH);
return $this->generator->getLogoutPath($key);
}

/**
Expand All @@ -50,7 +49,7 @@ public function getLogoutPath($key)
*/
public function getLogoutUrl($key)
{
return $this->generator->getLogoutUrl($key, UrlGeneratorInterface::ABSOLUTE_URL);
return $this->generator->getLogoutUrl($key);
}

/**
Expand Down

0 comments on commit d3ee2b6

Please sign in to comment.