Skip to content

Commit

Permalink
Added pass by reference prefix to setArgument method, fixes #139
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Stephens committed Mar 7, 2017
1 parent b1cc8a8 commit 82abc06
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 82abc06

Please sign in to comment.