Skip to content

Commit

Permalink
Merge pull request #8 from weikenchoo/master
Browse files Browse the repository at this point in the history
Changed attribute to attributes
  • Loading branch information
minchao authored Sep 6, 2019
2 parents c3dcbc0 + 5b3c9d8 commit 348a8e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Nodes/Item/Parameters/Attribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Attribute extends RequestParameters
{
public function getAttributeId(): int
{
return $this->parameters['attribute_id'];
return $this->parameters['attributes_id'];
}

/**
Expand All @@ -17,7 +17,7 @@ public function getAttributeId(): int
*/
public function setAttributeId(int $attributeId)
{
$this->parameters['attribute_id'] = $attributeId;
$this->parameters['attributes_id'] = $attributeId;

return $this;
}
Expand Down

0 comments on commit 348a8e8

Please sign in to comment.