From b79fbd40be340c266a9ce3f2afacd3d8b49f3deb Mon Sep 17 00:00:00 2001 From: Arsen Mirzaev Tatyano-Muradovich Date: Sun, 19 Sep 2021 02:29:50 +1000 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mirzaev/arangodb/system/connection.php | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/mirzaev/arangodb/system/connection.php b/mirzaev/arangodb/system/connection.php index 24d6b1b..d8f053b 100644 --- a/mirzaev/arangodb/system/connection.php +++ b/mirzaev/arangodb/system/connection.php @@ -92,18 +92,18 @@ final class connection public function __construct(array $settings = null) { // Запись - $this->__set('adress', $settings['adress'] ?? $settings['endpoint'] ?? null); - $this->__set('storage', $settings['storage'] ?? $settings['database'] ?? null); - $this->__set('auth', $settings['auth'] ?? null); - $this->__set('name', $settings['name'] ?? null); - $this->__set('password', $settings['password'] ?? null); - $this->__set('connection', $settings['connection'] ?? null); - $this->__set('timeout_connect', $settings['timeout_connect'] ?? null); - $this->__set('timeout_request', $settings['timeout_request'] ?? null); - $this->__set('reconnect', $settings['reconnect'] ?? null); - $this->__set('create', $settings['create'] ?? null); - $this->__set('update', $settings['update'] ?? $settings['policy'] ?? null); - $this->__set('journal', $settings['journal'] ?? null); + @$this->__set('adress', $settings['adress'] ?? $settings['endpoint']); + @$this->__set('storage', $settings['storage'] ?? $settings['database']); + @$this->__set('auth', $settings['auth']); + @$this->__set('name', $settings['name']); + @$this->__set('password', $settings['password']); + @$this->__set('connection', $settings['connection']); + @$this->__set('timeout_connect', $settings['timeout_connect']); + @$this->__set('timeout_request', $settings['timeout_request']); + @$this->__set('reconnect', $settings['reconnect']); + @$this->__set('create', $settings['create']); + @$this->__set('update', $settings['update'] ?? $settings['policy']); + @$this->__set('journal', $settings['journal']); if ($this->journal) { // Запрос на активацию журналирования