@@ -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 | { |
@@ -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 | { |
@@ -141,7 +141,7 @@ |
||
141 | 141 | * same configuration as (or is) the default store, should return 'default' |
142 | 142 | * and 0. |
143 | 143 | * @param Mage_Core_Model_Store $store |
144 | - * @return mixed[] Tuple of scope "type" and scope id |
|
144 | + * @return string[] Tuple of scope "type" and scope id |
|
145 | 145 | */ |
146 | 146 | public function getScopeForStoreSettings(Mage_Core_Model_Store $store) |
147 | 147 | { |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * Type checks for self::__construct $initParams |
33 | 33 | * @param EbayEnterprise_Amqp_Helper_Config $configHelper |
34 | - * @return mixed[] |
|
34 | + * @return EbayEnterprise_Amqp_Helper_Config[] |
|
35 | 35 | */ |
36 | 36 | protected function _checkTypes(EbayEnterprise_Amqp_Helper_Config $configHelper) |
37 | 37 | { |
@@ -41,9 +41,9 @@ discard block |
||
41 | 41 | * Return the value at field in array if it exists. Otherwise, use the |
42 | 42 | * default value. |
43 | 43 | * @param array $arr |
44 | - * @param string|int $field Valid array key |
|
44 | + * @param string $field Valid array key |
|
45 | 45 | * @param mixed $default |
46 | - * @return mixed |
|
46 | + * @return EbayEnterprise_Amqp_Helper_Config |
|
47 | 47 | */ |
48 | 48 | protected function _nullCoalesce(array $arr, $field, $default) |
49 | 49 | { |