diff --git a/module/VuFind/src/VuFind/Search/Factory/EITBackendFactory.php b/module/VuFind/src/VuFind/Search/Factory/EITBackendFactory.php index 4762c48e53735a6bfae303fa6055c15fe1d9a763..3fe65d424df4da62a50ef3c751a0c8040c911d93 100644 --- a/module/VuFind/src/VuFind/Search/Factory/EITBackendFactory.php +++ b/module/VuFind/src/VuFind/Search/Factory/EITBackendFactory.php @@ -117,13 +117,10 @@ class EITBackendFactory implements FactoryInterface */ protected function createConnector() { - $prof = isset($this->config->General->prof) - ? $this->config->General->prof : null; - $pwd = isset($this->config->General->pwd) - ? $this->config->General->pwd : null; + $prof = $this->config->General->prof ?? null; + $pwd = $this->config->General->pwd ?? null; $base = "http://eit.ebscohost.com/Services/SearchService.asmx/Search"; - $dbs = isset($this->config->General->dbs) - ? $this->config->General->dbs : null; + $dbs = $this->config->General->dbs ?? null; $client = $this->serviceLocator->get(\VuFindHttp\HttpService::class) ->createClient(); $connector = new Connector($base, $client, $prof, $pwd, $dbs);