Skip to content

Commit 2515e1a

Browse files
committed
bug #933 [make:entity] Remove deprecated json_array type from available list types. (bdaler)
This PR was merged into the 1.0-dev branch. Discussion ---------- [make:entity] Remove deprecated json_array type from available list types. In a fix #482 json_array type was removed from using but it's available in a list of types. In section Other Types Commits ------- 805b37b - Remove deprecated json_array type from available list types.
2 parents bb224fb + 805b37b commit 2515e1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Maker/MakeEntity.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,8 @@ private function askForNextField(ConsoleStyle $io, array $fields, string $entity
422422
private function printAvailableTypes(ConsoleStyle $io)
423423
{
424424
$allTypes = Type::getTypesMap();
425+
// remove deprecated json_array
426+
unset($allTypes[Type::JSON_ARRAY]);
425427

426428
if ('Hyper' === getenv('TERM_PROGRAM')) {
427429
$wizard = 'wizard 🧙';

0 commit comments

Comments
 (0)