made set_type private
This commit is contained in:
parent
a053d234c9
commit
b8db53c2c1
|
@ -195,9 +195,8 @@ class WC_Order_Item extends WC_Data implements ArrayAccess {
|
|||
* Set order item type.
|
||||
* @param string $value
|
||||
*/
|
||||
public function set_type( $value ) {
|
||||
protected function set_type( $value ) {
|
||||
$this->_data['type'] = wc_clean( $value );
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue