Skip to content

Commit

Permalink
Merge pull request #13 from Farskies/dev-paramater-fix
Browse files Browse the repository at this point in the history
Added options paramater when constructing Connection from getInstance
  • Loading branch information
fiddur committed Sep 24, 2015
2 parents 006a2ea + 370358f commit 0e368ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static function getInstance($name = 'default', $context = array(), $backe

if (array_key_exists($name, $instances)) return $instances[$name];

return $instances[$name] = new self($context, $backend);
return $instances[$name] = new self($context, $backend, $options);
}

//
Expand Down

0 comments on commit 0e368ae

Please sign in to comment.