@@ -22,6 +22,9 @@ |
||
22 | 22 | add_shortcode( 'wpinv_messages', __CLASS__ . '::messages' ); |
23 | 23 | } |
24 | 24 | |
25 | + /** |
|
26 | + * @param string[] $function |
|
27 | + */ |
|
25 | 28 | public static function shortcode_wrapper( $function, $atts = array(), $content = null, $wrapper = array( 'class' => 'wpi-g', 'before' => null, 'after' => null ) ) { |
26 | 29 | ob_start(); |
27 | 30 |