From 97bb5bd10bfea1c34f89ccb213660e40708c4da7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Bogusz?= Date: Sat, 12 Jan 2019 11:30:26 +0100 Subject: [PATCH] [MakeEntity] fixed typos in askRelationType --- src/Maker/MakeEntity.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Maker/MakeEntity.php b/src/Maker/MakeEntity.php index 2233763ad..bea68cd83 100644 --- a/src/Maker/MakeEntity.php +++ b/src/Maker/MakeEntity.php @@ -697,17 +697,17 @@ private function askRelationType(ConsoleStyle $io, string $entityClass, string $ $rows = []; $rows[] = [ EntityRelation::MANY_TO_ONE, - sprintf("Each %s relates to (has) one %s.\nEach %s can relate/has to (have) many %s objects", $originalEntityShort, $targetEntityShort, $targetEntityShort, $originalEntityShort), + sprintf("Each %s relates to (has) one %s.\nEach %s can relate to (can have) many %s objects", $originalEntityShort, $targetEntityShort, $targetEntityShort, $originalEntityShort), ]; $rows[] = ['', '']; $rows[] = [ EntityRelation::ONE_TO_MANY, - sprintf("Each %s relates can relate to (have) many %s objects.\nEach %s relates to (has) one %s", $originalEntityShort, $targetEntityShort, $targetEntityShort, $originalEntityShort), + sprintf("Each %s can relate to (can have) many %s objects.\nEach %s relates to (has) one %s", $originalEntityShort, $targetEntityShort, $targetEntityShort, $originalEntityShort), ]; $rows[] = ['', '']; $rows[] = [ EntityRelation::MANY_TO_MANY, - sprintf("Each %s relates can relate to (have) many %s objects.\nEach %s can also relate to (have) many %s objects", $originalEntityShort, $targetEntityShort, $targetEntityShort, $originalEntityShort), + sprintf("Each %s can relate to (can have) many %s objects.\nEach %s can also relate to (can also have) many %s objects", $originalEntityShort, $targetEntityShort, $targetEntityShort, $originalEntityShort), ]; $rows[] = ['', '']; $rows[] = [