diff --git a/en/development/dependency-injection.rst b/en/development/dependency-injection.rst index 1fcf43615b..f35044bd5c 100644 --- a/en/development/dependency-injection.rst +++ b/en/development/dependency-injection.rst @@ -61,7 +61,6 @@ Command Example { public function __construct(protected UsersService $users, ?CommandFactoryInterface $factory = null) { - parent::__construct($factory); } public function execute(Arguments $args, ConsoleIo $io)