Skip to content

Commit 0361047

Browse files
committed
minor #348 [MakeEntity] fixed typos in askRelationType (przemyslaw-bogusz)
This PR was merged into the 1.0-dev branch. Discussion ---------- [MakeEntity] fixed typos in askRelationType Commits ------- 97bb5bd [MakeEntity] fixed typos in askRelationType
2 parents 1812506 + 97bb5bd commit 0361047

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Maker/MakeEntity.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -697,17 +697,17 @@ private function askRelationType(ConsoleStyle $io, string $entityClass, string $
697697
$rows = [];
698698
$rows[] = [
699699
EntityRelation::MANY_TO_ONE,
700-
sprintf("Each <comment>%s</comment> relates to (has) <info>one</info> <comment>%s</comment>.\nEach <comment>%s</comment> can relate/has to (have) <info>many</info> <comment>%s</comment> objects", $originalEntityShort, $targetEntityShort, $targetEntityShort, $originalEntityShort),
700+
sprintf("Each <comment>%s</comment> relates to (has) <info>one</info> <comment>%s</comment>.\nEach <comment>%s</comment> can relate to (can have) <info>many</info> <comment>%s</comment> objects", $originalEntityShort, $targetEntityShort, $targetEntityShort, $originalEntityShort),
701701
];
702702
$rows[] = ['', ''];
703703
$rows[] = [
704704
EntityRelation::ONE_TO_MANY,
705-
sprintf("Each <comment>%s</comment> relates can relate to (have) <info>many</info> <comment>%s</comment> objects.\nEach <comment>%s</comment> relates to (has) <info>one</info> <comment>%s</comment>", $originalEntityShort, $targetEntityShort, $targetEntityShort, $originalEntityShort),
705+
sprintf("Each <comment>%s</comment> can relate to (can have) <info>many</info> <comment>%s</comment> objects.\nEach <comment>%s</comment> relates to (has) <info>one</info> <comment>%s</comment>", $originalEntityShort, $targetEntityShort, $targetEntityShort, $originalEntityShort),
706706
];
707707
$rows[] = ['', ''];
708708
$rows[] = [
709709
EntityRelation::MANY_TO_MANY,
710-
sprintf("Each <comment>%s</comment> relates can relate to (have) <info>many</info> <comment>%s</comment> objects.\nEach <comment>%s</comment> can also relate to (have) <info>many</info> <comment>%s</comment> objects", $originalEntityShort, $targetEntityShort, $targetEntityShort, $originalEntityShort),
710+
sprintf("Each <comment>%s</comment> can relate to (can have) <info>many</info> <comment>%s</comment> objects.\nEach <comment>%s</comment> can also relate to (can also have) <info>many</info> <comment>%s</comment> objects", $originalEntityShort, $targetEntityShort, $targetEntityShort, $originalEntityShort),
711711
];
712712
$rows[] = ['', ''];
713713
$rows[] = [

0 commit comments

Comments
 (0)