Skip to content

Commit

Permalink
Remove support for the deprecated json_array Doctrine type
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Jul 6, 2018
1 parent d49200d commit 8d0dbe1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/Maker/MakeEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ private function printAvailableTypes(ConsoleStyle $io)
],
'array_object' => [
'array' => ['simple_array'],
'json' => ['json_array'],
'json' => [],
'object' => [],
'binary' => [],
'blob' => [],
Expand Down
1 change: 0 additions & 1 deletion src/Util/ClassSourceManipulator.php
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,6 @@ private function getEntityTypeHint($doctrineType)
case 'dateinterval':
return '\\'.\DateInterval::class;

case 'json_array':
case 'json':
case 'object':
case 'decimal':
Expand Down

0 comments on commit 8d0dbe1

Please sign in to comment.