From 76305990034faaabaccfa03215663ac16dc6e46d Mon Sep 17 00:00:00 2001 From: IanDelMar <42134098+IanDelMar@users.noreply.github.com> Date: Thu, 19 Mar 2020 17:12:32 +0100 Subject: [PATCH] Fix DocBlocks --- inc/extras.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/inc/extras.php b/inc/extras.php index 893e251..66f327f 100644 --- a/inc/extras.php +++ b/inc/extras.php @@ -67,7 +67,7 @@ if ( ! function_exists( 'understrap_change_logo_class' ) ) { * * @param string $html Markup. * - * @return mixed + * @return string */ function understrap_change_logo_class( $html ) { @@ -79,11 +79,10 @@ if ( ! function_exists( 'understrap_change_logo_class' ) ) { } } -/** - * Display navigation to next/previous post when applicable. - */ - if ( ! function_exists( 'understrap_post_nav' ) ) { + /** + * Display navigation to next/previous post when applicable. + */ function understrap_post_nav() { // Don't print empty markup if there's nowhere to navigate. $previous = ( is_attachment() ) ? get_post( get_post()->post_parent ) : get_adjacent_post( false, '', true );