Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
feat: 🎸 curl opt
Browse files Browse the repository at this point in the history
update curl opt
  • Loading branch information
Watson Zuo committed Mar 22, 2023
1 parent 7b27a3f commit fe29b8f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Couriers.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion src/EstimatedDeliveryDates.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion src/LastCheckPoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion src/Notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion src/Trackings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit fe29b8f

Please sign in to comment.