Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Mar 19, 2019
1 parent b648e82 commit 791992e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Illuminate/Session/Middleware/StartSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ public function handle($request, Closure $next)

$this->collectGarbage($session);

$this->addCookieToResponse(
$response = $next($request), $session
);
$response = $next($request);

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

$this->addCookieToResponse($response, $session);

// Again, if the session has been configured we will need to close out the session
// so that the attributes may be persisted to some storage medium. We will also
// add the session identifier cookie to the application response headers now.
Expand Down

0 comments on commit 791992e

Please sign in to comment.