Skip to content

Commit

Permalink
bug #1486 [make:entity] Fix exception message if mercure bundle not f…
Browse files Browse the repository at this point in the history
…ound with --broadcast
  • Loading branch information
cavasinf authored Mar 22, 2024
1 parent 35acfd4 commit 39926b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Maker/MakeEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 39926b8

Please sign in to comment.