minor #19433 [TwigBridge] Removed extra arguments in 2 places. (zomberg)
This PR was squashed before being merged into the 2.7 branch (closes #19433).
Discussion
----------
[TwigBridge] Removed extra arguments in 2 places.
| Q | A
| ------------- | ---
| Branch? | 2.7
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | ~
| License | MIT
| Doc PR | ~
Commits
-------
754bd4e
[TwigBridge] Removed extra arguments in 2 places.
This commit is contained in:
commit
35c70be59f
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user