feature/cierres (#25)
Varios cambios Co-authored-by: Juan Pablo Vial <jpvialb@incoviba.cl> Reviewed-on: #25
This commit is contained in:
@ -10,6 +10,7 @@ class Application extends Console\Application
|
||||
{
|
||||
public function __construct(protected ContainerInterface $container, string $name = 'UNKNOWN', string $version = 'UNKNOWN')
|
||||
{
|
||||
$name = 'incoviba_cli';
|
||||
if ($this->container->has('APP_NAME')) {
|
||||
$name = $this->container->get('APP_NAME');
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ use Symfony\Component\Console;
|
||||
|
||||
class Command extends Console\Command\Command
|
||||
{
|
||||
public function __construct(protected ClientInterface $client, protected LoggerInterface $logger, string $name = null)
|
||||
public function __construct(protected ClientInterface $client, protected LoggerInterface $logger, ?string $name = null)
|
||||
{
|
||||
parent::__construct($name);
|
||||
}
|
||||
|
Reference in New Issue
Block a user