Skip to content

Commit

Permalink
Issue thephpleague#107 - refactored to camel case for product code
Browse files Browse the repository at this point in the history
  • Loading branch information
harnasz committed Sep 17, 2018
1 parent 00943b8 commit c056798
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Extend/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ public function setVat($value)
*/
public function getProductRecord()
{
return $this->getParameter('product_code');
return $this->getParameter('productCode');
}

/**
* {@inheritDoc}
*/
public function setProductCode($value)
{
return $this->setParameter('product_code', $value);
return $this->setParameter('productCode', $value);
}
}

0 comments on commit c056798

Please sign in to comment.