From c19ecc677d68cf48efe938a9cba2198ab64a42cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Anne?= Date: Tue, 10 Dec 2024 05:29:38 +0100 Subject: [PATCH] Explicitly mark nullable parameter (#1034) --- src/Provider/AbstractProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Provider/AbstractProvider.php b/src/Provider/AbstractProvider.php index f0eb3eb3..26f6d1c6 100644 --- a/src/Provider/AbstractProvider.php +++ b/src/Provider/AbstractProvider.php @@ -495,7 +495,7 @@ public function getAuthorizationUrl(array $options = []) */ public function authorize( array $options = [], - callable $redirectHandler = null + ?callable $redirectHandler = null ) { $url = $this->getAuthorizationUrl($options); if ($redirectHandler) {