Completed
Pull Request — master (#10784)
by Pascal
07:47
created
includes/wc-core-functions.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -209,6 +209,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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 ) {
Please login to merge, or discard this patch.