@@ -491,7 +491,7 @@ |
||
| 491 | 491 | /** |
| 492 | 492 | * Delete a shipping method from a zone. |
| 493 | 493 | * @param int $instance_id |
| 494 | - * @return True on success, false on failure |
|
| 494 | + * @return boolean on success, false on failure |
|
| 495 | 495 | */ |
| 496 | 496 | public function delete_shipping_method( $instance_id ) { |
| 497 | 497 | global $wpdb; |
@@ -268,7 +268,7 @@ discard block |
||
| 268 | 268 | |
| 269 | 269 | /** |
| 270 | 270 | * Is customer VAT exempt? |
| 271 | - * @return bool |
|
| 271 | + * @return string |
|
| 272 | 272 | */ |
| 273 | 273 | public function is_vat_exempt() { |
| 274 | 274 | return $this->get_is_vat_exempt(); |
@@ -276,7 +276,7 @@ discard block |
||
| 276 | 276 | |
| 277 | 277 | /** |
| 278 | 278 | * Has calculated shipping? |
| 279 | - * @return bool |
|
| 279 | + * @return string |
|
| 280 | 280 | */ |
| 281 | 281 | public function has_calculated_shipping() { |
| 282 | 282 | return $this->get_calculated_shipping(); |
@@ -558,7 +558,7 @@ discard block |
||
| 558 | 558 | /** |
| 559 | 559 | * Get if customer is VAT exempt? |
| 560 | 560 | * @since 2.7.0 |
| 561 | - * @return bool |
|
| 561 | + * @return string |
|
| 562 | 562 | */ |
| 563 | 563 | public function get_is_vat_exempt() { |
| 564 | 564 | return $this->_is_vat_exempt; |
@@ -566,7 +566,7 @@ discard block |
||
| 566 | 566 | |
| 567 | 567 | /** |
| 568 | 568 | * Has customer calculated shipping? |
| 569 | - * @return bool |
|
| 569 | + * @return string |
|
| 570 | 570 | */ |
| 571 | 571 | public function get_calculated_shipping() { |
| 572 | 572 | return $this->_calculated_shipping; |
@@ -247,6 +247,7 @@ |
||
| 247 | 247 | |
| 248 | 248 | /** |
| 249 | 249 | * Return settings associated with this payment gateway. |
| 250 | + * @param WC_Payment_Gateway $gateway |
|
| 250 | 251 | */ |
| 251 | 252 | public function get_settings( $gateway ) { |
| 252 | 253 | $settings = array(); |