Fixes and cleanups
This commit is contained in:
@ -15,7 +15,7 @@ use ProVM\Service\Remote;
|
||||
)]
|
||||
class UpdateIp extends Command
|
||||
{
|
||||
public function __construct(protected Remote $service, protected LoggerInterface $logger, ?string $name = 'update')
|
||||
public function __construct(protected Remote $service, protected LoggerInterface $logger, string $name = 'update')
|
||||
{
|
||||
parent::__construct($name);
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ use Psr\Log\LoggerInterface;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use function Safe\shell_exec;
|
||||
|
||||
#[AsCommand(
|
||||
name: 'watch',
|
||||
@ -14,7 +15,7 @@ use Symfony\Component\Console\Output\OutputInterface;
|
||||
)]
|
||||
class Watch extends Command
|
||||
{
|
||||
public function __construct(protected string $period, ?string $name = 'watch')
|
||||
public function __construct(protected string $period, string $name = 'watch')
|
||||
{
|
||||
parent::__construct($name);
|
||||
}
|
||||
|
Reference in New Issue
Block a user