From 6f8a7482cc42ae73f630c2154041a9fc6349772e Mon Sep 17 00:00:00 2001 From: Bernt Winqvist Date: Tue, 9 Jun 2026 08:55:11 +0200 Subject: [PATCH] Fix deprecation errors --- src/OneLoginClient.php | 4 ++-- src/exceptions/OneLoginException.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OneLoginClient.php b/src/OneLoginClient.php index 992e7a2..b077b18 100644 --- a/src/OneLoginClient.php +++ b/src/OneLoginClient.php @@ -45,8 +45,8 @@ class OneLoginClient /** @var GuzzleHttp\Client client */ protected $client; - /** @var string $clientID OneLogin Client ID */ - public $clientID; + /** @var string $clientId OneLogin Client ID */ + public $clientId; /** @var string $clientSecret OneLogin Client */ public $clientSecret; diff --git a/src/exceptions/OneLoginException.php b/src/exceptions/OneLoginException.php index 13b9a0b..d0f564d 100644 --- a/src/exceptions/OneLoginException.php +++ b/src/exceptions/OneLoginException.php @@ -13,7 +13,7 @@ class OneLoginException extends \Exception /** @var string $errorAttribute The attribute that caused the error if available */ protected $errorAttribute; - public function __construct($message = "", $code = 0, $errorAttribute = null, \Throwable $previous = null) + public function __construct($message = "", $code = 0, $errorAttribute = null, ?\Throwable $previous = null) { parent::__construct($message, $code, $previous); $this->errorCode = $code;