Skip to content

Commit

Permalink
Merge pull request #24 from DraperStudio/master
Browse files Browse the repository at this point in the history
Add $additionalConfig to Config class
  • Loading branch information
AndyWendt committed Feb 20, 2016
2 parents e7d4f0e + 5aeaabf commit f91e366
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ class Config implements Contracts\ConfigInterface

protected $config;

public function __construct($key, $secret, $callbackUri)
public function __construct($key, $secret, $callbackUri, array $additionalConfig = [])
{
$this->config = [
$this->config = array_merge([
'client_id' => $key,
'client_secret' => $secret,
'redirect' => $callbackUri,
];
], $additionalConfig);
}

/**
Expand Down

0 comments on commit f91e366

Please sign in to comment.