Skip to content

Commit 27c5ee6

Browse files
committed
Style
1 parent 7531f54 commit 27c5ee6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

packages/http/src/Session/Session.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,11 @@ public function cleanup(): void
124124
$this->expiredKeys = [];
125125

126126
foreach ($this->data as $key => $value) {
127-
if ($value instanceof FlashValue) {
128-
$this->expiredKeys[$key] = $key;
127+
if (! $value instanceof FlashValue) {
128+
continue;
129129
}
130+
131+
$this->expiredKeys[$key] = $key;
130132
}
131133
}
132134

0 commit comments

Comments
 (0)