mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
If $options is not equal to null then overwrite default options
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user