made set_type private

This commit is contained in:
Mike Jolley 2016-08-03 12:54:16 +01:00
parent a053d234c9
commit b8db53c2c1
1 changed files with 1 additions and 2 deletions

View File

@ -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 );
}
/*