Change get_name() return type from int to string

This commit is contained in:
Amir hossein Hossein Zadeh Karimi 2018-12-15 15:10:46 +03:30 committed by GitHub
parent f13a0bc9eb
commit 17141fdcb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ class WC_Product_Attribute implements ArrayAccess {
/**
* Get name.
*
* @return int
* @return string
*/
public function get_name() {
return $this->data['name'];