@@ -393,7 +393,7 @@ discard block |
||
393 | 393 | * Our [portfolio] shortcode. |
394 | 394 | * Prints Portfolio data styled to look good on *any* theme. |
395 | 395 | * |
396 | - * @return portfolio_shortcode_html |
|
396 | + * @return string |
|
397 | 397 | */ |
398 | 398 | static function portfolio_shortcode( $atts ) { |
399 | 399 | // Default attributes |
@@ -526,7 +526,7 @@ discard block |
||
526 | 526 | * The Portfolio shortcode loop. |
527 | 527 | * |
528 | 528 | * @todo add theme color styles |
529 | - * @return html |
|
529 | + * @return string |
|
530 | 530 | */ |
531 | 531 | static function portfolio_shortcode_html( $atts ) { |
532 | 532 | |
@@ -618,6 +618,7 @@ discard block |
||
618 | 618 | /** |
619 | 619 | * Individual project class |
620 | 620 | * |
621 | + * @param integer $portfolio_index_number |
|
621 | 622 | * @return string |
622 | 623 | */ |
623 | 624 | static function get_project_class( $portfolio_index_number, $columns ) { |
@@ -725,7 +726,7 @@ discard block |
||
725 | 726 | /** |
726 | 727 | * Displays the author of the current portfolio project. |
727 | 728 | * |
728 | - * @return html |
|
729 | + * @return string |
|
729 | 730 | */ |
730 | 731 | static function get_project_author() { |
731 | 732 | $html = '<div class="project-author"><span>' . esc_html__( 'Author:', 'jetpack' ) . '</span> '; |
@@ -738,7 +739,7 @@ discard block |
||
738 | 739 | /** |
739 | 740 | * Display the featured image if it's available |
740 | 741 | * |
741 | - * @return html |
|
742 | + * @return string|null |
|
742 | 743 | */ |
743 | 744 | static function get_portfolio_thumbnail_link( $post_id ) { |
744 | 745 | if ( has_post_thumbnail( $post_id ) ) { |