Skip to content

Commit

Permalink
[12.x] chore: remove support for Carbon v2 (#53825)
Browse files Browse the repository at this point in the history
* fix: remove carbon addReal* methods

* chore: remove support for Carbon v2
  • Loading branch information
calebdw authored Dec 11, 2024
1 parent 021ada5 commit f7d04a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Middleware/StartSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ protected function getCookieExpirationDate()
$config = $this->manager->getSessionConfig();

return $config['expire_on_close'] ? 0 : Date::instance(
Carbon::now()->addRealMinutes($config['lifetime'])
Carbon::now()->addMinutes($config['lifetime'])
);
}

Expand Down

0 comments on commit f7d04a7

Please sign in to comment.