@@ -209,6 +209,7 @@ discard block |
||
| 209 | 209 | * Like wc_get_template, but returns the HTML instead of outputting. |
| 210 | 210 | * @see wc_get_template |
| 211 | 211 | * @since 2.5.0 |
| 212 | + * @param string $template_name |
|
| 212 | 213 | */ |
| 213 | 214 | function wc_get_template_html( $template_name, $args = array(), $template_path = '', $default_path = '' ) { |
| 214 | 215 | ob_start(); |
@@ -1227,7 +1228,7 @@ discard block |
||
| 1227 | 1228 | /** |
| 1228 | 1229 | * Return a list of potential postcodes for wildcard searching. |
| 1229 | 1230 | * @param string $postcode |
| 1230 | - * @return array |
|
| 1231 | + * @return string[] |
|
| 1231 | 1232 | */ |
| 1232 | 1233 | function wc_get_wildcard_postcodes( $postcode ) { |
| 1233 | 1234 | $postcodes = array( '*', strtoupper( $postcode ), strtoupper( $postcode ) . '*' ); |
@@ -1248,6 +1249,7 @@ discard block |
||
| 1248 | 1249 | * @param array $objects Array of postcode objects from Database |
| 1249 | 1250 | * @param string $object_compare_key DB column name for the ID. |
| 1250 | 1251 | * @param string $object_compare_key DB column name for the value. |
| 1252 | + * @param string $object_id_key |
|
| 1251 | 1253 | * @return array Array of matching object ID and values. |
| 1252 | 1254 | */ |
| 1253 | 1255 | function wc_postcode_location_matcher( $postcode, $objects, $object_id_key, $object_compare_key ) { |
@@ -701,7 +701,6 @@ |
||
| 701 | 701 | /** |
| 702 | 702 | * Gets data about an attachment, such as alt text and captions. |
| 703 | 703 | * @since 2.6.0 |
| 704 | - * @param int $thumbnail_id |
|
| 705 | 704 | * @param object|bool $product |
| 706 | 705 | * @return array |
| 707 | 706 | */ |
@@ -240,6 +240,7 @@ |
||
| 240 | 240 | |
| 241 | 241 | /** |
| 242 | 242 | * Update DB version to current. |
| 243 | + * @param string $version |
|
| 243 | 244 | */ |
| 244 | 245 | public static function update_db_version( $version = null ) { |
| 245 | 246 | delete_option( 'woocommerce_db_version' ); |