Skip to content

Commit

Permalink
Change min DCG version for entity:bundle-classes to 11.0 in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Dec 15, 2021
1 parent a4f6869 commit ef31e7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/core/MkCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ public function createAnnotatedCommands(Application $application_generate, Appli
$annotated->setAliases($command->getAliases());
$annotated->setTopics(['docs:generators']);
$values = [];
if ($command->getName() == 'entity:bundle-class') {
$values['version'] = '11.x';
if (in_array($command->getName(), ['entity:bundle-class'])) {
$values['version'] = '11.0';
}
$annotated->setAnnotationData(new AnnotationData($values));
// Hack, until we have https://github.com/consolidation/annotated-command/pull/247
Expand Down

0 comments on commit ef31e7d

Please sign in to comment.