From b70d3840534294bc2d1c13b2656b125c45d0cdd6 Mon Sep 17 00:00:00 2001 From: Mirzaev Date: Sun, 23 Oct 2022 05:25:59 +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=D0=B5=20=D0=B3=D0=B5=D0=BD=D0=B5=D1=80=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D0=B8=20data=20=D0=B8=20metadata?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mirzaev/arangodb/system/document.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirzaev/arangodb/system/document.php b/mirzaev/arangodb/system/document.php index 35e30eb..a60eafd 100644 --- a/mirzaev/arangodb/system/document.php +++ b/mirzaev/arangodb/system/document.php @@ -32,7 +32,7 @@ class document * * @return string|null Идентификатор */ - public static function write(_connection $session, string $collection, ?array $data = null, ?array $metadata = null, bool $check = true, ?terminal $terminal = null): ?string + public static function write(_connection $session, string $collection, ?array $data = [], ?array $metadata = [], bool $check = true, ?terminal $terminal = null): ?string { // Инициализация коллекции collection::init($session, $collection, isset($data['_from'], $data['_to']));