From 01a4c810946932f8da2bcccc27f516353fb0d038 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Tue, 9 Aug 2016 11:16:13 +0100 Subject: [PATCH] Spacing --- includes/class-wc-customer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/class-wc-customer.php b/includes/class-wc-customer.php index 3b8dde5820f..98e350dc11f 100644 --- a/includes/class-wc-customer.php +++ b/includes/class-wc-customer.php @@ -109,10 +109,10 @@ class WC_Customer extends WC_Legacy_Customer { if ( $customer instanceof WC_Customer ) { $this->_is_user = true; $this->read( absint( $customer->get_id() ) ); - } else if ( is_numeric( $customer ) ) { + } elseif ( is_numeric( $customer ) ) { $this->_is_user = true; $this->read( $customer ); - } else if ( empty( $customer ) ) { + } elseif ( empty( $customer ) ) { $this->_is_user = true; // unless load_session gets called after. }