mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-27 23:40:22 +05:30
$options is null by default (makes it optional)
This commit is contained in:
parent
a823096b44
commit
00fe3d3501
@ -38,7 +38,7 @@ class Server
|
||||
maintenance of the server.'
|
||||
);
|
||||
|
||||
public function __construct(array $options)
|
||||
public function __construct(array $options = null)
|
||||
{
|
||||
$this->options = array_merge($this->config, $options);
|
||||
if ($options !== null) {
|
||||
|
Loading…
Reference in New Issue
Block a user