Skip to content

Commit

Permalink
Add $additionalConfig to Config class
Browse files Browse the repository at this point in the history
  • Loading branch information
DraperStudio committed Feb 20, 2016
1 parent e7d4f0e commit 5aeaabf
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 5aeaabf

Please sign in to comment.