@@ -174,7 +174,7 @@ |
||
| 174 | 174 | * |
| 175 | 175 | * @param string $key |
| 176 | 176 | * @param mixed $empty_value |
| 177 | - * @return mixed The value specified for the option or a default value for the option. |
|
| 177 | + * @return string The value specified for the option or a default value for the option. |
|
| 178 | 178 | */ |
| 179 | 179 | public function get_option( $key, $empty_value = null ) { |
| 180 | 180 | if ( empty( $this->settings ) ) { |
@@ -122,7 +122,7 @@ |
||
| 122 | 122 | * |
| 123 | 123 | * Methods should override this to declare support (or lack of support) for a feature. |
| 124 | 124 | * |
| 125 | - * @param $feature string The name of a feature to test support for. |
|
| 125 | + * @param string $feature string The name of a feature to test support for. |
|
| 126 | 126 | * @return bool True if the shipping method supports the feature, false otherwise. |
| 127 | 127 | */ |
| 128 | 128 | public function supports( $feature ) { |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | /** |
| 65 | 65 | * Get continent code for a country code. |
| 66 | 66 | * @since 2.6.0 |
| 67 | - * @param $cc string |
|
| 67 | + * @param string $cc string |
|
| 68 | 68 | * @return string |
| 69 | 69 | */ |
| 70 | 70 | public function get_continent_code_for_country( $cc ) { |
@@ -82,7 +82,7 @@ |
||
| 82 | 82 | /** |
| 83 | 83 | * Get shipping zone using it's ID |
| 84 | 84 | * @since 2.6.0 |
| 85 | - * @param int $zone_id |
|
| 85 | + * @param integer $instance_id |
|
| 86 | 86 | * @return WC_Shipping_Meethod|bool |
| 87 | 87 | */ |
| 88 | 88 | public static function get_shipping_method( $instance_id ) { |
@@ -87,8 +87,6 @@ |
||
| 87 | 87 | /** |
| 88 | 88 | * Get all meta data for this rate. |
| 89 | 89 | * @since 2.6.0 |
| 90 | - * @param string $key |
|
| 91 | - * @param string $value |
|
| 92 | 90 | */ |
| 93 | 91 | public function get_meta_data() { |
| 94 | 92 | return $this->meta_data; |