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; }