Skip to content
This repository has been archived by the owner on Aug 18, 2022. It is now read-only.

Commit

Permalink
renamed method for Symfony 5.3+
Browse files Browse the repository at this point in the history
  • Loading branch information
Guite committed Jun 1, 2021
1 parent ec4b0a5 commit d6de4dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helper/ParameterHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public function finalizeParameters(): bool
*/
private function configureRequestContext(array &$params): void
{
$request = $this->requestStack->getMasterRequest();
$request = $this->requestStack->getMainRequest();
$hostFromRequest = isset($request) ? $request->getHost() : 'localhost';
$schemeFromRequest = isset($request) ? $request->getScheme() : 'http';
$basePathFromRequest = isset($request) ? $request->getBasePath() : null;
Expand Down

0 comments on commit d6de4dc

Please sign in to comment.