From 39926b86ae3a307fc0da096a3f53f3a8cfef0cfa Mon Sep 17 00:00:00 2001 From: Florian CAVASIN Date: Fri, 22 Mar 2024 12:37:25 +0100 Subject: [PATCH] bug #1486 [make:entity] Fix exception message if mercure bundle not found with --broadcast --- src/Maker/MakeEntity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Maker/MakeEntity.php b/src/Maker/MakeEntity.php index 83c45fbdc..41f0287fb 100644 --- a/src/Maker/MakeEntity.php +++ b/src/Maker/MakeEntity.php @@ -163,7 +163,7 @@ public function interact(InputInterface $input, ConsoleStyle $io, Command $comma // Mercure is needed if ($isBroadcast && !class_exists(MercureExtension::class)) { - throw new RuntimeCommandException('Please run "composer require symfony/mercure". It is needed to broadcast entities.'); + throw new RuntimeCommandException('Please run "composer require symfony/mercure-bundle". It is needed to broadcast entities.'); } $input->setOption('broadcast', $isBroadcast);