diff --git a/src/Models/Attribute.php b/src/Models/Attribute.php index fc61604..807328e 100644 --- a/src/Models/Attribute.php +++ b/src/Models/Attribute.php @@ -99,7 +99,7 @@ protected function deleteTerm($attribute_id, $term_id, $options = []) */ protected function batchTerm($attribute_id, $data) { - $return Query::init() + return Query::init() ->setEndpoint("products/attributes/{$attribute_id}/terms") ->batch($data); }