Skip to content

Commit 80850e8

Browse files
authored
Fix PHP 8.4 deprecation: Implicitly marking parameter (#72)
1 parent 3cee0fc commit 80850e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MessageValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private static function convertLambdaMessage(Message $lambdaMessage)
6262
* @param string $hostNamePattern
6363
*/
6464
public function __construct(
65-
callable $certClient = null,
65+
?callable $certClient = null,
6666
$hostNamePattern = ''
6767
) {
6868
$this->certClient = $certClient ?: function($certUrl) {

0 commit comments

Comments
 (0)