From b0fcba182946f238e0b8930f5340d2f8e718b2f6 Mon Sep 17 00:00:00 2001 From: koenemann Date: Fri, 27 Jan 2017 08:15:34 +0100 Subject: [PATCH] fixing some PHPCBF issues --- global-templates/hero.php | 1 - header.php | 9 +++++---- inc/extras.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/global-templates/hero.php b/global-templates/hero.php index 3c083ae..090b399 100644 --- a/global-templates/hero.php +++ b/global-templates/hero.php @@ -4,7 +4,6 @@ * * @package understrap */ - ?> diff --git a/header.php b/header.php index d2dd55e..eb02ad8 100644 --- a/header.php +++ b/header.php @@ -30,7 +30,7 @@ $container = get_theme_mod( 'understrap_container_type' );
- -
\ No newline at end of file + + \ No newline at end of file diff --git a/inc/extras.php b/inc/extras.php index f9c44bf..34ca68a 100644 --- a/inc/extras.php +++ b/inc/extras.php @@ -44,7 +44,7 @@ if ( ! function_exists( 'adjust_body_class' ) ) { function adjust_body_class( $classes ) { foreach ( $classes as $key => $value ) { - if ( $value == 'tag' ) { + if ( 'tag' == $value) { unset( $classes[ $key ] ); } }