From 68b1bd0cf17f506045176c9cbeb3148bd7f9996e Mon Sep 17 00:00:00 2001 From: Joe Dixon Date: Wed, 31 Jan 2024 13:06:50 +0000 Subject: [PATCH] Ensure value is returned --- src/Servers/Reverb/Http/Server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Servers/Reverb/Http/Server.php b/src/Servers/Reverb/Http/Server.php index 9ad5b2d7..decdeeb7 100644 --- a/src/Servers/Reverb/Http/Server.php +++ b/src/Servers/Reverb/Http/Server.php @@ -86,6 +86,6 @@ protected function createRequest(string $message, Connection $connection): ?Requ $this->close($connection, 413, 'Payload too large.'); } - return $request; + return $request ?? null; } }