File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -471,7 +471,7 @@ public function isGeometryType($field) {
471
471
}
472
472
473
473
public function isJsonType ($ field ) {
474
- return $ field ->type == ' jsonb ' ;
474
+ return in_array ( $ field ->type , array ( ' json ' , ' jsonb ')) ;
475
475
}
476
476
477
477
public function getDefaultCharset () {
@@ -1075,11 +1075,11 @@ public function isBinaryType($field) {
1075
1075
}
1076
1076
1077
1077
public function isGeometryType ($ field ) {
1078
- return in_array ($ field ->type ,array ('geometry ' ));;
1078
+ return in_array ($ field ->type ,array ('geometry ' ));
1079
1079
}
1080
1080
1081
1081
public function isJsonType ($ field ) {
1082
- return in_array ($ field ->type ,array ('json ' ,'jsonb ' ));;
1082
+ return in_array ($ field ->type ,array ('json ' ,'jsonb ' ));
1083
1083
}
1084
1084
1085
1085
public function getDefaultCharset () {
You can’t perform that action at this time.
0 commit comments