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

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