Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 07181ff

Browse files
committed
Fix capitalization
1 parent 00b8357 commit 07181ff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/AmazonPrepInfo.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function setSkus($s)
6363
}
6464

6565
/**
66-
* Sets the shipToCountryCode. (Required*).
66+
* Sets the ShipToCountryCode. (Required*).
6767
*
6868
* This method sets the country code to be sent in the next request.
6969
*
@@ -75,15 +75,15 @@ public function setCountryCode($s)
7575
{
7676
if (is_string($s)) {
7777
$this->resetCountryCode();
78-
$this->options['shipToCountryCode'] = $s;
78+
$this->options['ShipToCountryCode'] = $s;
7979
} else {
8080
return false;
8181
}
8282
}
8383

8484
private function resetCountryCode()
8585
{
86-
unset($this->options['shipToCountryCode']);
86+
unset($this->options['ShipToCountryCode']);
8787
}
8888

8989
/**
@@ -166,7 +166,7 @@ public function fetchPrepInstructions()
166166
return false;
167167
}
168168

169-
if (!array_key_exists('shipToCountryCode', $this->options)) {
169+
if (!array_key_exists('ShipToCountryCode', $this->options)) {
170170
$this->log('Country Code must be set in order to get prep instructions!', 'Warning');
171171

172172
return false;

0 commit comments

Comments
 (0)