fix Array to string conversion

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2022-11-07 23:01:09 +10:00
parent 8e52c2128c
commit 40ceb7a86c
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ class core
}
// Запись в реестр
$this->patterns .= [$pattern];
$this->patterns []= [$pattern];
return $pattern;
}

View File

@ -39,7 +39,7 @@ class pattern
public function command(command $command): static
{
// Запись в реестр
$this->commands .= [$command];
$this->commands []= [$command];
return $this;
}