From 90e5e109e861de2f24fac0a5c6da2d1501fb2275 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 23 Feb 2024 16:21:15 +0000 Subject: [PATCH] Fix autowiring error --- src/Console/Command/AbstractCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/Command/AbstractCommand.php b/src/Console/Command/AbstractCommand.php index 83cc41f..15e0e4f 100644 --- a/src/Console/Command/AbstractCommand.php +++ b/src/Console/Command/AbstractCommand.php @@ -9,8 +9,8 @@ use Symfony\Component\Filesystem\Filesystem; abstract class AbstractCommand extends Command { public function __construct( - string $name, protected Filesystem $filesystem, + ?string $name = null, ) { parent::__construct(name: $name); }