diff --git a/src/Console/EditorConfigCommand.php b/src/Console/EditorConfigCommand.php index 8423d11..741837a 100644 --- a/src/Console/EditorConfigCommand.php +++ b/src/Console/EditorConfigCommand.php @@ -15,9 +15,9 @@ class EditorConfigCommand extends Command { - protected function configure(): Command + protected function configure(): void { - return $this + $this ->setName('editorconfig') ->setDescription('Publishes the .editorconfig file') ->addOption('path', 'p', InputOption::VALUE_OPTIONAL, 'Path to publish files', realpath('.')); diff --git a/src/Console/NpmCommand.php b/src/Console/NpmCommand.php index 9b85974..2acbaf2 100644 --- a/src/Console/NpmCommand.php +++ b/src/Console/NpmCommand.php @@ -15,9 +15,9 @@ class NpmCommand extends Command { - protected function configure(): Command + protected function configure(): void { - return $this + $this ->setName('npm') ->setDescription('Publishes the biome.json file') ->addOption('path', 'p', InputOption::VALUE_OPTIONAL, 'Path to publish files', realpath('.')); diff --git a/src/Console/PintCommand.php b/src/Console/PintCommand.php index 42067e6..e7544cb 100644 --- a/src/Console/PintCommand.php +++ b/src/Console/PintCommand.php @@ -16,9 +16,9 @@ class PintCommand extends Command { - protected function configure(): Command + protected function configure(): void { - return $this + $this ->setName('pint') ->setDescription('Publishes presets for the Laravel Pint') ->addArgument('preset', InputArgument::REQUIRED, 'The name of the preset') diff --git a/src/Console/RectorCommand.php b/src/Console/RectorCommand.php index 4db79ea..574c8e5 100644 --- a/src/Console/RectorCommand.php +++ b/src/Console/RectorCommand.php @@ -12,9 +12,9 @@ class RectorCommand extends Command { - protected function configure(): Command + protected function configure(): void { - return $this + $this ->setName('rector') ->setDescription('Publishes presets for the Rector') ->addArgument('preset', InputArgument::REQUIRED, 'The name of the preset')