From 5aeaabf5f4f7e554dfeb353fb5c3245d4828f71f Mon Sep 17 00:00:00 2001 From: DraperStudio Date: Sat, 20 Feb 2016 10:44:25 +0100 Subject: [PATCH] Add $additionalConfig to Config class --- src/Config.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Config.php b/src/Config.php index fef6cdd..eb661c8 100644 --- a/src/Config.php +++ b/src/Config.php @@ -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); } /**