Skip to content

Commit 35025fc

Browse files
committed
Rename master request to main request
1 parent 709f837 commit 35025fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Extension/WebLinkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function getFunctions(): array
5656
*/
5757
public function link(string $uri, string $rel, array $attributes = []): string
5858
{
59-
if (!$request = $this->requestStack->getMasterRequest()) {
59+
if (!$request = $this->requestStack->getMainRequest()) {
6060
return $uri;
6161
}
6262

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"symfony/dependency-injection": "^4.4|^5.0",
3030
"symfony/finder": "^4.4|^5.0",
3131
"symfony/form": "^5.3",
32-
"symfony/http-foundation": "^4.4|^5.0",
32+
"symfony/http-foundation": "^5.3",
3333
"symfony/http-kernel": "^4.4|^5.0",
3434
"symfony/intl": "^4.4|^5.0",
3535
"symfony/mime": "^5.2",
@@ -57,7 +57,7 @@
5757
"phpdocumentor/type-resolver": "<1.4.0",
5858
"symfony/console": "<4.4",
5959
"symfony/form": "<5.3",
60-
"symfony/http-foundation": "<4.4",
60+
"symfony/http-foundation": "<5.3",
6161
"symfony/http-kernel": "<4.4",
6262
"symfony/translation": "<5.2",
6363
"symfony/workflow": "<5.2"

0 commit comments

Comments
 (0)