Skip to content

Commit a6eceb0

Browse files
committed
refactor: remove unneeded arguments to session
1 parent cc28c41 commit a6eceb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ function force_https(
499499
// If the session status is active, we should regenerate
500500
// the session ID for safety sake.
501501
if (ENVIRONMENT !== 'testing' && session_status() === PHP_SESSION_ACTIVE) {
502-
Services::session(null, true)->regenerate(); // @codeCoverageIgnore
502+
Services::session()->regenerate(); // @codeCoverageIgnore
503503
}
504504

505505
$baseURL = config(App::class)->baseURL;

0 commit comments

Comments
 (0)