mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
update composer (#84)
* update composer log viewer code style format * fix composer
This commit is contained in:
@ -15,7 +15,7 @@ class SSHFake
|
||||
|
||||
protected string $output = '';
|
||||
|
||||
public function init(Server $server, string $asUser = null): self
|
||||
public function init(Server $server, ?string $asUser = null): self
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
@ -47,7 +47,7 @@ public function assertExecuted(array|string $commands): void
|
||||
PHPUnit::assertTrue(true, $allExecuted);
|
||||
}
|
||||
|
||||
public function exec(string|array|SSHCommand $commands, string $log = '', int $siteId = null): string
|
||||
public function exec(string|array|SSHCommand $commands, string $log = '', ?int $siteId = null): string
|
||||
{
|
||||
if (! is_array($commands)) {
|
||||
$commands = [$commands];
|
||||
|
Reference in New Issue
Block a user