22/**
33 * Represents a single Pinterest shipping zone
44 *
5- * @since x.x.x
5+ * @since 1.0.5
66 * @package Automattic\WooCommerce\Pinterest
77 */
88
1818 * By extending WC_Shipping_Zone we are able to add functionality necessary for Pinterest shipping column generation.
1919 * This allows us to operate on familiar interface which will be useful when we will continue to expand the functionality.
2020 *
21- * @since x.x.x
21+ * @since 1.0.5
2222 */
2323class PinterestShippingZone extends WC_Shipping_Zone {
2424
@@ -49,7 +49,7 @@ class PinterestShippingZone extends WC_Shipping_Zone {
4949 /**
5050 * From the list of countries filter out those which are not supported right now.
5151 *
52- * @since x.x.x
52+ * @since 1.0.5
5353 *
5454 * @param array $locations List of countries to filter.
5555 * @return array List of filtered countries.
@@ -69,7 +69,7 @@ function ( $location ) use ( $allowed_countries ) {
6969 * States are optional and added only if specified.
7070 * Countries are filtered to only include supported countries.
7171 *
72- * @since x.x.x
72+ * @since 1.0.5
7373 *
7474 * @return array Array of locations supported by this zone.
7575 */
@@ -129,7 +129,7 @@ public function get_countries_with_states() {
129129 *
130130 * Correctness of this approach is verified indirectly by shipping UT.
131131 *
132- * @since x.x.x
132+ * @since 1.0.5
133133 *
134134 * @param array $locations Array of locations.
135135 * @return array Array of locations with duplications removed.
@@ -141,7 +141,7 @@ public function remove_duplicate_locations( $locations ) {
141141 /**
142142 * Turn country and state into location array.
143143 *
144- * @since x.x.x
144+ * @since 1.0.5
145145 *
146146 * @param string $country Location country.
147147 * @param string $state Location state.
@@ -157,7 +157,7 @@ private function map_to_location( $country, $state = '' ) {
157157 /**
158158 * Combines zone locations with allowed shipping methods.
159159 *
160- * @since x.x.x
160+ * @since 1.0.5
161161 *
162162 * @return array Array with locations and allowed shipping methods.
163163 */
@@ -180,7 +180,7 @@ public function get_locations_with_shipping() {
180180 * Get shipping methods supported by the implementation.
181181 * Methods are filtered by allowed types and features.
182182 *
183- * @since x.x.x
183+ * @since 1.0.5
184184 *
185185 * @return array Supported shipping methods.
186186 */
@@ -201,7 +201,7 @@ private function get_supported_shipping_methods() {
201201 /**
202202 * Verify if shipping method is supported.
203203 *
204- * @since x.x.x
204+ * @since 1.0.5
205205 *
206206 * @param WC_Shipping_Method $shipping_method Shipping rate to verify.
207207 * @return boolean
0 commit comments