Skip to content

Commit

Permalink
Update GenerateConfigCommand.php
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix committed Jan 17, 2024
1 parent e67f1ef commit fcfb185
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Commands/GenerateConfigCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ class GenerateConfigCommand extends Command
*/
protected $input;

/**
* @var string
*/
protected static $defaultName = 'init';

private const FILE_NAME = '.php-cs-fixer.php';
Expand All @@ -31,7 +34,7 @@ public function configure(): void
/**
* {@inheritdoc}
*/
public function execute(InputInterface $input, OutputInterface $output)
public function execute(InputInterface $input, OutputInterface $output): int
{
$filename = self::FILE_NAME;

Expand Down

0 comments on commit fcfb185

Please sign in to comment.