@@ -287,7 +287,6 @@ discard block |
||
287 | 287 | /** |
288 | 288 | * Returns the HTML string of the language switcher for a given menu. |
289 | 289 | * |
290 | - * @param object $args |
|
291 | 290 | * |
292 | 291 | * @return string |
293 | 292 | */ |
@@ -379,7 +378,7 @@ discard block |
||
379 | 378 | * @param string $object_id |
380 | 379 | * @param string $meta_key |
381 | 380 | * @param boolean $single |
382 | - * @return void |
|
381 | + * @return string|null |
|
383 | 382 | */ |
384 | 383 | public function filter_post_meta( $metadata = null, $object_id, $meta_key, $single ) { |
385 | 384 | if ( true === lsx_currencies()->convert_to_single && 'price' === $meta_key ) { |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | * Wraps your price in the currency html |
14 | 14 | * |
15 | 15 | * @param string $value |
16 | - * @return void |
|
16 | + * @return string |
|
17 | 17 | */ |
18 | 18 | function lsx_currencies_get_price_html( $value = '' ) { |
19 | 19 | $prefix = '<span class="amount lsx-currencies" '; |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | * A shortcode to wrap a value in your content |
41 | 41 | * |
42 | 42 | * @param array $atts |
43 | - * @return void |
|
43 | + * @return string |
|
44 | 44 | */ |
45 | 45 | function lsx_currency_value( $atts ) { |
46 | 46 | $a = shortcode_atts( |
@@ -107,6 +107,7 @@ discard block |
||
107 | 107 | * Return an instance of this class. |
108 | 108 | * |
109 | 109 | * @since 1.0.0 |
110 | + * @param string $slug |
|
110 | 111 | * @return object|\uix\uix A single instance of this class. |
111 | 112 | */ |
112 | 113 | public static function get_instance( $slug ) { |
@@ -351,6 +352,7 @@ discard block |
||
351 | 352 | * enqueue a set of styles and scripts |
352 | 353 | * |
353 | 354 | * @since 0.0.1 |
355 | + * @param string $prefix |
|
354 | 356 | */ |
355 | 357 | private function enqueue_set( $set, $prefix ) { |
356 | 358 | // go over the set to see if it has styles or scripts |