Skip to content

Commit e91521c

Browse files
committed
Refrain from using deprecated getMasterRequest
Using the term 'master' is translated to 'main'. I recon as this can be considered culturally sensitive. And this is updated in the saml bundle as of this commit.
1 parent c78ba29 commit e91521c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Entity/HostedEntities.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ private function generateUrl($routeDefinition)
142142

143143
$context = $this->router->getContext();
144144

145-
$context->fromRequest($this->requestStack->getMasterRequest());
145+
$context->fromRequest($this->requestStack->getMainRequest());
146146

147147
$url = $this->router->generate($route, $parameters, RouterInterface::ABSOLUTE_URL);
148148

0 commit comments

Comments
 (0)