Skip to content

Commit bb88601

Browse files
authored
Revert "Create new Json ParameterBag Instance when cloning Request (#44671)" (#45147)
This reverts commit 1661857.
1 parent 926cf96 commit bb88601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Http/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ public static function createFrom(self $from, $to = null)
456456

457457
$request->setDefaultRequestLocale($from->getDefaultLocale());
458458

459-
$request->setJson(clone $from->json());
459+
$request->setJson($from->json());
460460

461461
if ($from->hasSession() && $session = $from->session()) {
462462
$request->setLaravelSession($session);

0 commit comments

Comments
 (0)