Skip to content

Commit fe8c5e9

Browse files
committed
bug #224 Remove support for the deprecated json_array Doctrine type (javiereguiluz)
This PR was merged into the 1.0-dev branch. Discussion ---------- Remove support for the deprecated json_array Doctrine type Fixes #213. Commits ------- 8d0dbe1 Remove support for the deprecated json_array Doctrine type
2 parents dfe6661 + 8d0dbe1 commit fe8c5e9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Maker/MakeEntity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ private function printAvailableTypes(ConsoleStyle $io)
428428
],
429429
'array_object' => [
430430
'array' => ['simple_array'],
431-
'json' => ['json_array'],
431+
'json' => [],
432432
'object' => [],
433433
'binary' => [],
434434
'blob' => [],

src/Util/ClassSourceManipulator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,6 @@ private function getEntityTypeHint($doctrineType)
895895
case 'dateinterval':
896896
return '\\'.\DateInterval::class;
897897

898-
case 'json_array':
899898
case 'json':
900899
case 'object':
901900
case 'decimal':

0 commit comments

Comments
 (0)