Skip to content

Commit

Permalink
Fixing bug with setValues method
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasmiller committed Sep 23, 2022
1 parent 2574419 commit 3ca42e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/recurly/traits/xml_doc.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function getValues()
public function setValues($values)
{
foreach($values as $key => $value) {
$this->_values[$key] = $value;
$this->$key = $value;
}
return $this;
}
Expand Down

0 comments on commit 3ca42e7

Please sign in to comment.