From fe29b8f674901a1c7d00822c7573b37b256725c1 Mon Sep 17 00:00:00 2001 From: Watson Zuo Date: Wed, 22 Mar 2023 17:28:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20curl=20opt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit update curl opt --- src/Couriers.php | 2 +- src/EstimatedDeliveryDates.php | 2 +- src/LastCheckPoint.php | 2 +- src/Notifications.php | 2 +- src/Trackings.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Couriers.php b/src/Couriers.php index c136e32..3311098 100644 --- a/src/Couriers.php +++ b/src/Couriers.php @@ -18,7 +18,7 @@ class Couriers extends BackwardCompatible * @param array|null the request curl opt * @throws AfterShipException */ - public function __construct($apiKey = '', $curlOpt = null, Requestable $request = null) + public function __construct($apiKey = '', Requestable $request = null, $curlOpt = null) { if (empty($apiKey)) { throw new AfterShipException('API Key is missing'); diff --git a/src/EstimatedDeliveryDates.php b/src/EstimatedDeliveryDates.php index 11ba3f5..106a250 100644 --- a/src/EstimatedDeliveryDates.php +++ b/src/EstimatedDeliveryDates.php @@ -12,7 +12,7 @@ class EstimatedDeliveryDates extends BackwardCompatible * @param Requestable $request * @throws AfterShipException */ - public function __construct($apiKey = '', $curlOpt = null, Requestable $request = null) + public function __construct($apiKey = '', Requestable $request = null, $curlOpt = null) { if (empty($apiKey)) { throw new AfterShipException('API Key is missing'); diff --git a/src/LastCheckPoint.php b/src/LastCheckPoint.php index 59c8015..10975d4 100644 --- a/src/LastCheckPoint.php +++ b/src/LastCheckPoint.php @@ -20,7 +20,7 @@ class LastCheckPoint extends BackwardCompatible * @param Requestable|null $request * @throws AfterShipException */ - public function __construct($apiKey = '', $curlOpt = null, Requestable $request = null) + public function __construct($apiKey = '', Requestable $request = null, $curlOpt = null) { if (empty($apiKey)) { throw new AfterShipException('API Key is missing'); diff --git a/src/Notifications.php b/src/Notifications.php index e81f3f9..e60c3f9 100644 --- a/src/Notifications.php +++ b/src/Notifications.php @@ -17,7 +17,7 @@ class Notifications * @param Requestable|null $request * @throws AfterShipException */ - public function __construct($apiKey, $curlOpt = null, Requestable $request = null) + public function __construct($apiKey, Requestable $request = null, $curlOpt = null) { if (empty($apiKey)) { throw new AfterShipException('API Key is missing'); diff --git a/src/Trackings.php b/src/Trackings.php index fce59fd..fa6c380 100644 --- a/src/Trackings.php +++ b/src/Trackings.php @@ -14,7 +14,7 @@ class Trackings extends BackwardCompatible * @param Requestable $request * @throws AfterShipException */ - public function __construct($apiKey = '', $curlOpt = null, Requestable $request = null) + public function __construct($apiKey = '', Requestable $request = null, $curlOpt = null) { if (empty($apiKey)) { throw new AfterShipException('API Key is missing');