Compare commits
2 Commits
1.0.0
...
40ceb7a86c
Author | SHA1 | Date | |
---|---|---|---|
40ceb7a86c | |||
8e52c2128c |
@@ -23,7 +23,7 @@ class command
|
||||
*/
|
||||
public function __construct(
|
||||
public Closure $program,
|
||||
public array $accounts
|
||||
public array $accounts = []
|
||||
) {
|
||||
}
|
||||
|
||||
|
@@ -47,7 +47,7 @@ class core
|
||||
}
|
||||
|
||||
// Запись в реестр
|
||||
$this->patterns .= [$pattern];
|
||||
$this->patterns []= [$pattern];
|
||||
|
||||
return $pattern;
|
||||
}
|
||||
|
@@ -39,7 +39,7 @@ class pattern
|
||||
public function command(command $command): static
|
||||
{
|
||||
// Запись в реестр
|
||||
$this->commands .= [$command];
|
||||
$this->commands []= [$command];
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user