Code Duplication    Length = 9-9 lines in 2 locations

src/Phinx/Db/Adapter/MysqlAdapter.php 1 location

@@ 971-979 (lines=9) @@
968
                        $limit = null;
969
                    }
970
                    break;
971
                case 'char':
972
                    $type = static::PHINX_TYPE_CHAR;
973
                    if ($limit === 255) {
974
                        $limit = null;
975
                    }
976
                    if ($limit === 36) {
977
                        $type = static::PHINX_TYPE_UUID;
978
                    }
979
                    break;
980
                case 'tinyint':
981
                    $type = static::PHINX_TYPE_INTEGER;
982
                    $limit = static::INT_TINY;

src/Phinx/Db/Adapter/SQLiteAdapter.php 1 location

@@ 1068-1076 (lines=9) @@
1065
                        $limit = null;
1066
                    }
1067
                    break;
1068
                case 'char':
1069
                    $type = static::PHINX_TYPE_CHAR;
1070
                    if ($limit === 255) {
1071
                        $limit = null;
1072
                    }
1073
                    if ($limit === 36) {
1074
                        $type = static::PHINX_TYPE_UUID;
1075
                    }
1076
                    break;
1077
                case 'int':
1078
                    $type = static::PHINX_TYPE_INTEGER;
1079
                    if ($limit === 11) {