Allow users to not specify server info (#164)
* Allow users to not specify server info * change to default name
This commit is contained in:
parent
280e8b62be
commit
b250f4ad1a
1 changed files with 3 additions and 1 deletions
|
|
@ -481,7 +481,9 @@ final class Builder
|
||||||
logging: false,
|
logging: false,
|
||||||
completions: true,
|
completions: true,
|
||||||
);
|
);
|
||||||
$configuration = new Configuration($this->serverInfo, $capabilities, $this->paginationLimit, $this->instructions, $this->protocolVersion);
|
|
||||||
|
$serverInfo = $this->serverInfo ?? new Implementation();
|
||||||
|
$configuration = new Configuration($serverInfo, $capabilities, $this->paginationLimit, $this->instructions, $this->protocolVersion);
|
||||||
$referenceHandler = new ReferenceHandler($container);
|
$referenceHandler = new ReferenceHandler($container);
|
||||||
|
|
||||||
$requestHandlers = array_merge($this->requestHandlers, [
|
$requestHandlers = array_merge($this->requestHandlers, [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue