Completed
Push — master ( f57390...3495f4 )
by Stiofan
12s
created
includes/class-wpinv-shortcodes.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@
 block discarded – undo
21 21
         add_shortcode( 'wpinv_messages', __CLASS__ . '::messages' );
22 22
     }
23 23
 
24
+    /**
25
+     * @param string[] $function
26
+     */
24 27
     public static function shortcode_wrapper(
25 28
         $function,
26 29
         $atts    = array(),
Please login to merge, or discard this patch.
includes/wpinv-template-functions.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -140,6 +140,9 @@  discard block
 block discarded – undo
140 140
 	do_action( 'wpinv_after_template_part', $template_name, $template_path, $located, $args );
141 141
 }
142 142
 
143
+/**
144
+ * @param string $template_name
145
+ */
143 146
 function wpinv_get_template_html( $template_name, $args = array(), $template_path = '', $default_path = '' ) {
144 147
 	ob_start();
145 148
 	wpinv_get_template( $template_name, $args, $template_path, $default_path );
@@ -172,6 +175,9 @@  discard block
 block discarded – undo
172 175
     return apply_filters( 'wpinv_locate_template', $template, $template_name, $template_path );
173 176
 }
174 177
 
178
+/**
179
+ * @param string $slug
180
+ */
175 181
 function wpinv_get_template_part( $slug, $name = null, $load = true ) {
176 182
 	do_action( 'get_template_part_' . $slug, $slug, $name );
177 183
 
@@ -871,6 +877,9 @@  discard block
 block discarded – undo
871 877
     return apply_filters( 'wpinv_get_watermark', $output, $id );
872 878
 }
873 879
 
880
+/**
881
+ * @param integer $id
882
+ */
874 883
 function wpinv_get_watermark( $id ) {
875 884
     if ( !$id > 0 ) {
876 885
         return NULL;
Please login to merge, or discard this patch.