$options is null by default (makes it optional)

This commit is contained in:
Alex Bilbie 2012-07-06 18:15:28 +01:00
parent a823096b44
commit 00fe3d3501

View File

@ -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) {