Skip to content

Commit 39926b8

Browse files
authored
bug #1486 [make:entity] Fix exception message if mercure bundle not found with --broadcast
1 parent 35acfd4 commit 39926b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Maker/MakeEntity.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public function interact(InputInterface $input, ConsoleStyle $io, Command $comma
163163

164164
// Mercure is needed
165165
if ($isBroadcast && !class_exists(MercureExtension::class)) {
166-
throw new RuntimeCommandException('Please run "composer require symfony/mercure". It is needed to broadcast entities.');
166+
throw new RuntimeCommandException('Please run "composer require symfony/mercure-bundle". It is needed to broadcast entities.');
167167
}
168168

169169
$input->setOption('broadcast', $isBroadcast);

0 commit comments

Comments
 (0)