forked from loafle/openapi-generator-original
By default should use static configuration class instance, otherwise new instance is created every time (#19775)
This commit is contained in:
@@ -93,7 +93,7 @@ class AuthApi
|
||||
int $hostIndex = 0
|
||||
) {
|
||||
$this->client = $client ?: new Client();
|
||||
$this->config = $config ?: new Configuration();
|
||||
$this->config = $config ?: Configuration::getDefaultConfiguration();
|
||||
$this->headerSelector = $selector ?: new HeaderSelector();
|
||||
$this->hostIndex = $hostIndex;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user