From 8470a691a727cfc46e4fc0f37627bed608c1e43d Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Thu, 22 Mar 2018 15:43:51 -0300 Subject: [PATCH] Fixed includes/class-wc-product-simple.php PHPCS violations --- includes/class-wc-product-simple.php | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/includes/class-wc-product-simple.php b/includes/class-wc-product-simple.php index 742166d46de..e736b4064c0 100644 --- a/includes/class-wc-product-simple.php +++ b/includes/class-wc-product-simple.php @@ -1,33 +1,32 @@ supports[] = 'ajax_add_to_cart'; + $this->supports[] = 'ajax_add_to_cart'; parent::__construct( $product ); } /** * Get internal type. + * * @return string */ public function get_type() {