File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ class BetaReferralCustomerTest extends \PHPUnit\Framework\TestCase
1515 public static function setUpBeforeClass (): void
1616 {
1717 TestUtil::setupVcrTests ();
18- $ referralCustomerProdApiKey = getenv ('REFERRAL_CUSTOMER_PROD_API_KEY ' ) !== false
19- ? getenv ('REFERRAL_CUSTOMER_PROD_API_KEY ' ) : '123 ' ;
18+ $ referralCustomerProdApiKey = ( string ) getenv ('REFERRAL_CUSTOMER_PROD_API_KEY ' ) !== false
19+ ? ( string ) getenv ('REFERRAL_CUSTOMER_PROD_API_KEY ' ) : '123 ' ;
2020 self ::$ client = new EasyPostClient ($ referralCustomerProdApiKey );
2121 }
2222
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ public static function pageSize(): int
2424 public static function uspsCarrierAccountId (): string
2525 {
2626 // Fallback to the EasyPost PHP Client Library Test User USPS carrier account ID due to strict matching
27- $ uspsCarrierAccountId = getenv ('USPS_CARRIER_ACCOUNT_ID ' ) !== false
28- ? getenv ('USPS_CARRIER_ACCOUNT_ID ' ) : 'ca_8dc116debcdb49b5a66a2ddee4612600 ' ;
27+ $ uspsCarrierAccountId = ( string ) getenv ('USPS_CARRIER_ACCOUNT_ID ' ) !== false
28+ ? ( string ) getenv ('USPS_CARRIER_ACCOUNT_ID ' ) : 'ca_8dc116debcdb49b5a66a2ddee4612600 ' ;
2929
3030 return $ uspsCarrierAccountId ;
3131 }
Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ class ReferralCustomerTest extends \PHPUnit\Framework\TestCase
1919 public static function setUpBeforeClass (): void
2020 {
2121 TestUtil::setupVcrTests ();
22- $ partnerUserProdApiKey = getenv ('PARTNER_USER_PROD_API_KEY ' ) !== false
23- ? getenv ('PARTNER_USER_PROD_API_KEY ' ) : '123 ' ;
22+ $ partnerUserProdApiKey = ( string ) getenv ('PARTNER_USER_PROD_API_KEY ' ) !== false
23+ ? ( string ) getenv ('PARTNER_USER_PROD_API_KEY ' ) : '123 ' ;
2424 self ::$ client = new EasyPostClient ($ partnerUserProdApiKey );
25- self ::$ referralUserProdApiKey = getenv ('REFERRAL_CUSTOMER_PROD_API_KEY ' ) !== false
26- ? getenv ('REFERRAL_CUSTOMER_PROD_API_KEY ' ) : '123 ' ;
25+ self ::$ referralUserProdApiKey = ( string ) getenv ('REFERRAL_CUSTOMER_PROD_API_KEY ' ) !== false
26+ ? ( string ) getenv ('REFERRAL_CUSTOMER_PROD_API_KEY ' ) : '123 ' ;
2727 }
2828
2929 /**
You can’t perform that action at this time.
0 commit comments