Skip to content

Commit 2643f37

Browse files
committed
Remove \Random\RandomException since it doesn't exist in PHP 8.1
We will add it back when we drop support for 8.1
1 parent ab9e431 commit 2643f37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/WebPush.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,8 @@ protected function createRejectedReport($reason): MessageSentReport
235235
}
236236

237237
/**
238-
* @throws \ErrorException|\Random\RandomException
238+
* @throws \ErrorException
239+
* add back @throws \Random\RandomException when we drop PHP 8.1 support
239240
*/
240241
protected function prepare(array $notifications): array
241242
{

0 commit comments

Comments
 (0)