Skip to content

Commit

Permalink
Merge pull request #140 from mstephens/bugfix/139
Browse files Browse the repository at this point in the history
Added pass by reference prefix to setArgument method, fixes #139
  • Loading branch information
omniphx authored Mar 7, 2017
2 parents b1cc8a8 + 82abc06 commit 0087fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Omniphx/Forrest/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ private function setOptions($arguments) {
return $options;
}

private function setArgument($argument, $options) {
private function setArgument($argument, &$options) {
if (!isset($argument)) return;
if (!is_array($argument)) return;
foreach ($argument as $key => $value) {
Expand Down

0 comments on commit 0087fc3

Please sign in to comment.