Skip to content

Commit 16e2c77

Browse files
committed
phpstan fix
1 parent 09353b4 commit 16e2c77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SolidPubSub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function send($path, $type) {
2323
$client->addHeader("Sec-WebSocket-Protocol", "solid-0.1");
2424
try {
2525
$client->text("pub $path\n");
26-
} catch (\WebSocket\Exception $exception) {
26+
} catch (\Throwable $exception) {
2727
throw new \Exception('Could not write to pubsub server', 502, $exception);
2828
}
2929
}

0 commit comments

Comments
 (0)