Skip to content

Commit 791992e

Browse files
committed
formatting
1 parent b648e82 commit 791992e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Illuminate/Session/Middleware/StartSession.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ public function handle($request, Closure $next)
5353

5454
$this->collectGarbage($session);
5555

56-
$this->addCookieToResponse(
57-
$response = $next($request), $session
58-
);
56+
$response = $next($request);
5957

6058
$this->storeCurrentUrl($request, $session);
6159

60+
$this->addCookieToResponse($response, $session);
61+
6262
// Again, if the session has been configured we will need to close out the session
6363
// so that the attributes may be persisted to some storage medium. We will also
6464
// add the session identifier cookie to the application response headers now.

0 commit comments

Comments
 (0)