Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 977-985 (lines=9) @@
974
                        $limit = null;
975
                    }
976
                    break;
977
                case 'char':
978
                    $type = static::PHINX_TYPE_CHAR;
979
                    if ($limit === 255) {
980
                        $limit = null;
981
                    }
982
                    if ($limit === 36) {
983
                        $type = static::PHINX_TYPE_UUID;
984
                    }
985
                    break;
986
                case 'tinyint':
987
                    $type = static::PHINX_TYPE_INTEGER;
988
                    $limit = static::INT_TINY;

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

@@ 1271-1279 (lines=9) @@
1268
                        $limit = null;
1269
                    }
1270
                    break;
1271
                case 'char':
1272
                    $type = static::PHINX_TYPE_CHAR;
1273
                    if ($limit === 255) {
1274
                        $limit = null;
1275
                    }
1276
                    if ($limit === 36) {
1277
                        $type = static::PHINX_TYPE_UUID;
1278
                    }
1279
                    break;
1280
                case 'smallint':
1281
                    $type = static::PHINX_TYPE_SMALL_INTEGER;
1282
                    if ($limit === 11) {