We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f71ad2 commit ae82f9dCopy full SHA for ae82f9d
1 file changed
src/Http/Session.php
@@ -148,7 +148,7 @@ private function initialize(): void
148
}
149
150
151
- register_shutdown_function([$this, 'clean']);
+ register_shutdown_function(\Closure::fromCallable([$this, 'clean']));
152
153
154
@@ -298,9 +298,8 @@ public function getIterator(): \Iterator
298
299
/**
300
* Cleans and minimizes meta structures. This method is called automatically on shutdown, do not call it directly.
301
- * @internal
302
*/
303
- public function clean(): void
+ private function clean(): void
304
{
305
if (!session_status() === PHP_SESSION_ACTIVE || empty($_SESSION)) {
306
return;
0 commit comments