Skip to content

Commit 626b7e9

Browse files
author
Jan-Marten de Boer
committed
Reflect that $payload can be either string or null.
1 parent a84bdcb commit 626b7e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebhookSignature.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function __construct($secret)
1414

1515
/**
1616
* @param string $signature
17-
* @param string $payload
17+
* @param ?string $payload
1818
* @return bool
1919
*/
2020
public function validate($signature, $payload)

0 commit comments

Comments
 (0)