From 004e139a1e7b0fbd2008f225a6dd4df0801c971e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 15 Sep 2021 16:45:15 +0200 Subject: [PATCH] Fix symfony 5.3 deprecation --- Context/RequestStackContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.41.0