Skip to content

Commit 488a09e

Browse files
committed
Add missing handler for resource subscribe and unsubscribe
1 parent a6dec35 commit 488a09e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Server/Session/FileSessionStore.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function gc(): array
139139
@unlink($path);
140140
try {
141141
$deleted[] = Uuid::fromString($entry);
142-
} catch (\Throwable $e) {
142+
} catch (\Throwable) {
143143
// ignore non-UUID file names
144144
}
145145
}
@@ -176,7 +176,7 @@ public function getAllSessionIds(): array
176176

177177
try {
178178
$sessionIds[] = Uuid::fromString($entry);
179-
} catch (\Throwable $e) {
179+
} catch (\Throwable) {
180180
// ignore non-UUID sessions
181181
}
182182
}

src/Server/Session/Psr16StoreSession.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function getAllSessionIds(): array
105105
if ($this->exists($uuid)) {
106106
$validSessionIds[] = $uuid;
107107
}
108-
} catch (\Throwable $e) {
108+
} catch (\Throwable) {
109109
// Skip invalid UUIDs
110110
}
111111
}

0 commit comments

Comments
 (0)