10000 merged branch jfsimon/issue-7185-2.2 (PR #7390) · symfony/symfony@d9181ba · GitHub
[go: up one dir, main page]

Skip to content

Commit d9181ba

Browse files
committed
merged branch jfsimon/issue-7185-2.2 (PR #7390)
This PR was merged into the 2.2 branch. Commits ------- 53cf12b replaced new occurences of 'Request::create()' with '::create()' Discussion ---------- [2.2] sub-requests are now created with the same class as their parent Following #7381 | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #7185, #7186
2 parents 801a7f8 + 53cf12b commit d9181ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Fragment/InlineFragmentRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ protected function createSubRequest($uri, Request $request)
8989
// the sub-request is internal
9090
$server['REMOTE_ADDR'] = '127.0.0.1';
9191

92-
$subRequest = Request::create($uri, 'get', array(), $cookies, array(), $server);
92+
$subRequest = $request::create($uri, 'get', array(), $cookies, array(), $server);
9393
if ($session = $request->getSession()) {
9494
$subRequest->setSession($session);
9595
}

0 commit comments

Comments
 (0)
0