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 7531f54 commit 27c5ee6Copy full SHA for 27c5ee6
1 file changed
packages/http/src/Session/Session.php
@@ -124,9 +124,11 @@ public function cleanup(): void
124
$this->expiredKeys = [];
125
126
foreach ($this->data as $key => $value) {
127
- if ($value instanceof FlashValue) {
128
- $this->expiredKeys[$key] = $key;
+ if (! $value instanceof FlashValue) {
+ continue;
129
}
130
+
131
+ $this->expiredKeys[$key] = $key;
132
133
134
0 commit comments