Compare commits
No commits in common. "40ceb7a86c38a0b878adca44c5729407631e7e82" and "3f8cbcd1e2a547ec7df2b8885cb858f3516458cc" have entirely different histories.
40ceb7a86c
...
3f8cbcd1e2
|
@ -23,7 +23,7 @@ class command
|
||||||
*/
|
*/
|
||||||
public function __construct(
|
public function __construct(
|
||||||
public Closure $program,
|
public Closure $program,
|
||||||
public array $accounts = []
|
public array $accounts
|
||||||
) {
|
) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ class core
|
||||||
}
|
}
|
||||||
|
|
||||||
// Запись в реестр
|
// Запись в реестр
|
||||||
$this->patterns []= [$pattern];
|
$this->patterns .= [$pattern];
|
||||||
|
|
||||||
return $pattern;
|
return $pattern;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,7 @@ class pattern
|
||||||
public function command(command $command): static
|
public function command(command $command): static
|
||||||
{
|
{
|
||||||
// Запись в реестр
|
// Запись в реестр
|
||||||
$this->commands []= [$command];
|
$this->commands .= [$command];
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue