@@ -98,7 +98,9 @@ |
||
98 | 98 | * |
99 | 99 | * @param string |
100 | 100 | * @param string |
101 | - * @return string |
|
101 | + * @param string $regionCode |
|
102 | + * @param string $countryCode |
|
103 | + * @return integer |
|
102 | 104 | */ |
103 | 105 | public function getRegionIdByCode($regionCode, $countryCode) |
104 | 106 | { |
@@ -57,7 +57,7 @@ |
||
57 | 57 | * Return the value at field in array if it exists. Otherwise, use the |
58 | 58 | * default value. |
59 | 59 | * @param array $arr |
60 | - * @param string|int $field Valid array key |
|
60 | + * @param string $field Valid array key |
|
61 | 61 | * @param mixed $default |
62 | 62 | * @return mixed |
63 | 63 | */ |
@@ -51,7 +51,7 @@ |
||
51 | 51 | * Return the value at field in array if it exists. Otherwise, use the |
52 | 52 | * default value. |
53 | 53 | * @param array $arr |
54 | - * @param string|int $field Valid array key |
|
54 | + * @param string $field Valid array key |
|
55 | 55 | * @param mixed $default |
56 | 56 | * @return mixed |
57 | 57 | */ |
@@ -63,9 +63,9 @@ |
||
63 | 63 | * Return the value at field in array if it exists. Otherwise, use the |
64 | 64 | * default value. |
65 | 65 | * @param array $arr |
66 | - * @param string|int $field Valid array key |
|
66 | + * @param string $field Valid array key |
|
67 | 67 | * @param mixed $default |
68 | - * @return mixed |
|
68 | + * @return EbayEnterprise_Address_Helper_Data |
|
69 | 69 | */ |
70 | 70 | protected function _nullCoalesce(array $arr, $field, $default) |
71 | 71 | { |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | * Return the value at field in array if it exists. Otherwise, use the |
73 | 73 | * default value. |
74 | 74 | * @param array $arr |
75 | - * @param string|int $field Valid array key |
|
75 | + * @param string $field Valid array key |
|
76 | 76 | * @param mixed $default |
77 | 77 | * @return mixed |
78 | 78 | */ |
@@ -321,7 +321,7 @@ discard block |
||
321 | 321 | /** |
322 | 322 | * Perform the web request for address validation and return the response |
323 | 323 | * @param Mage_Customer_Model_Address_Abstract $address |
324 | - * @return EbayEnterprise_Address_Model_Validation_Response|null |
|
324 | + * @return EbayEnterprise_Address_Model_Validatoin_Response|null |
|
325 | 325 | */ |
326 | 326 | protected function _makeRequestForAddress(Mage_Customer_Model_Address_Abstract $address) |
327 | 327 | { |
@@ -367,7 +367,7 @@ discard block |
||
367 | 367 | * |
368 | 368 | * @param Mage_Customer_Model_Address_Abstract |
369 | 369 | * @param IBidirectionalApi |
370 | - * @return \eBayEnterprise\RetailOrderManagement\Payload\Address\IValidationRequest |
|
370 | + * @return IBidirectionalApi |
|
371 | 371 | */ |
372 | 372 | protected function _prepareApiForAddressRequest(Mage_Customer_Model_Address_Abstract $address, IBidirectionalApi $api) |
373 | 373 | { |
@@ -409,7 +409,7 @@ discard block |
||
409 | 409 | * |
410 | 410 | * @param Mage_Customer_Model_Address_Abstract $address |
411 | 411 | * @param string $errorMessage |
412 | - * @return EbayEnterprise_Address_Model_Validation_Response|null |
|
412 | + * @return EbayEnterprise_Address_Model_Validatoin_Response|null |
|
413 | 413 | */ |
414 | 414 | protected function _processRequest(Mage_Customer_Model_Address_Abstract $address, &$errorMessage) |
415 | 415 | { |
@@ -22,6 +22,9 @@ |
||
22 | 22 | $this->_setupBaseUrl(); |
23 | 23 | } |
24 | 24 | |
25 | + /** |
|
26 | + * @param integer $enabled |
|
27 | + */ |
|
25 | 28 | protected function _mockConfig($enabled) |
26 | 29 | { |
27 | 30 | $config = $this->getModelMockBuilder('eb2ccore/config_registry') |
@@ -17,8 +17,8 @@ |
||
17 | 17 | { |
18 | 18 | /** |
19 | 19 | * Create a new address object using the provided array of data. |
20 | - * @param array $addressData |
|
21 | - * @return Mage_Customer_Model_Address |
|
20 | + * @param string|null $type |
|
21 | + * @return EcomDev_PHPUnit_Mock_Proxy |
|
22 | 22 | */ |
23 | 23 | protected function _createAddress($type) |
24 | 24 | { |
@@ -193,7 +193,7 @@ |
||
193 | 193 | |
194 | 194 | /** |
195 | 195 | * Setup the session data with the supplied addresses. |
196 | - * @param Mage_Customer_Model_Address_Abstract $original |
|
196 | + * @param Mage_Customer_Model_Address|null $original |
|
197 | 197 | * @param Mage_Customer_Model_Address_Abstract[] $suggestions |
198 | 198 | * @param bool $hasFreshSuggestions |
199 | 199 | */ |
@@ -33,7 +33,7 @@ |
||
33 | 33 | /** |
34 | 34 | * Type hints for injected dependencies via the self::__construct $args |
35 | 35 | * @param EbayEnterprise_Amqp_Helper_Data $amqpHelper |
36 | - * @return mixed[] |
|
36 | + * @return EbayEnterprise_Amqp_Helper_Data[] |
|
37 | 37 | */ |
38 | 38 | protected function _checkTypes(EbayEnterprise_Amqp_Helper_Data $amqpHelper) |
39 | 39 | { |