From 40ceb7a86c38a0b878adca44c5729407631e7e82 Mon Sep 17 00:00:00 2001 From: Mirzaev Date: Mon, 7 Nov 2022 23:01:09 +1000 Subject: [PATCH] fix Array to string conversion --- mirzaev/vk/chat/system/core.php | 2 +- mirzaev/vk/chat/system/pattern.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mirzaev/vk/chat/system/core.php b/mirzaev/vk/chat/system/core.php index 8ddf0e1..69ab838 100644 --- a/mirzaev/vk/chat/system/core.php +++ b/mirzaev/vk/chat/system/core.php @@ -47,7 +47,7 @@ class core } // Запись в реестр - $this->patterns .= [$pattern]; + $this->patterns []= [$pattern]; return $pattern; } diff --git a/mirzaev/vk/chat/system/pattern.php b/mirzaev/vk/chat/system/pattern.php index cd2ef3e..5801ec4 100644 --- a/mirzaev/vk/chat/system/pattern.php +++ b/mirzaev/vk/chat/system/pattern.php @@ -39,7 +39,7 @@ class pattern public function command(command $command): static { // Запись в реестр - $this->commands .= [$command]; + $this->commands []= [$command]; return $this; }