From f2e0abcc505b3921b24fd20c83b8ff6c4ed56d9e Mon Sep 17 00:00:00 2001 From: Nikita Date: Tue, 24 Nov 2020 17:45:39 +0300 Subject: [PATCH] fix --- src/AmoCRM/Client/AmoCRMApiClient.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AmoCRM/Client/AmoCRMApiClient.php b/src/AmoCRM/Client/AmoCRMApiClient.php index 8c45931d..633908bb 100644 --- a/src/AmoCRM/Client/AmoCRMApiClient.php +++ b/src/AmoCRM/Client/AmoCRMApiClient.php @@ -68,9 +68,9 @@ class AmoCRMApiClient * AmoCRMApiClient constructor. * @param string $clientId * @param string $clientSecret - * @param string $redirectUri + * @param null|string $redirectUri */ - public function __construct(string $clientId, string $clientSecret, string $redirectUri) + public function __construct(string $clientId, string $clientSecret, ?string $redirectUri) { $this->oAuthClient = new AmoCRMOAuth($clientId, $clientSecret, $redirectUri); }