File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -379,6 +379,12 @@ private function printAvailableTypes(ConsoleStyle $io)
379379 {
380380 $ allTypes = Type::getTypesMap ();
381381
382+ if ('Hyper ' === getenv ('TERM_PROGRAM ' )) {
383+ $ wizard = 'wizard 🧙 ' ;
384+ } else {
385+ $ wizard = '\\' === \DIRECTORY_SEPARATOR ? 'wizard ' : 'wizard 🧙 ' ;
386+ }
387+
382388 $ typesTable = [
383389 'main ' => [
384390 'string ' => [],
@@ -388,7 +394,7 @@ private function printAvailableTypes(ConsoleStyle $io)
388394 'float ' => [],
389395 ],
390396 'relation ' => [
391- 'relation ' => 'a wizard will help you build the relation ' ,
397+ 'relation ' => 'a ' . $ wizard. ' will help you build the relation ' ,
392398 EntityRelation::MANY_TO_ONE => [],
393399 EntityRelation::ONE_TO_MANY => [],
394400 EntityRelation::MANY_TO_MANY => [],
You can’t perform that action at this time.
0 commit comments