mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-30 02:33:14 +05:30
If $options is not equal to null then overwrite default options
This commit is contained in:
parent
f7d200faec
commit
a823096b44
@ -41,6 +41,9 @@ class Server
|
||||
public function __construct(array $options)
|
||||
{
|
||||
$this->options = array_merge($this->config, $options);
|
||||
if ($options !== null) {
|
||||
$this->options = array_merge($this->config, $options);
|
||||
}
|
||||
}
|
||||
|
||||
public function registerDbAbstractor(object $db)
|
||||
|
Loading…
Reference in New Issue
Block a user