From: Raphaƫl Gertz Date: Wed, 15 Sep 2021 14:45:15 +0000 (+0200) Subject: Fix symfony 5.3 deprecation X-Git-Tag: 0.2.0~5 X-Git-Url: https://git.rapsys.eu/packbundle/commitdiff_plain/004e139a1e7b0fbd2008f225a6dd4df0801c971e?ds=sidebyside Fix symfony 5.3 deprecation --- diff --git a/Context/RequestStackContext.php b/Context/RequestStackContext.php index 0421de7..343affd 100644 --- a/Context/RequestStackContext.php +++ b/Context/RequestStackContext.php @@ -45,7 +45,7 @@ class RequestStackContext extends BaseRequestStackContext { */ public function getBaseUrl(): string { //Without request - if (!$request = $this->requestStack->getMasterRequest()) { + if (!$request = $this->requestStack->getMainRequest()) { //Return base path return $this->basePath; }