@@ -79,7 +79,6 @@ |
||
79 | 79 | /** |
80 | 80 | * Get shipping zone using it's ID |
81 | 81 | * @since 2.6.0 |
82 | - * @param int $zone_id |
|
83 | 82 | * @return WC_Shipping_Meethod|bool |
84 | 83 | */ |
85 | 84 | public static function get_shipping_method( $instance_id ) { |
@@ -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 ) { |