Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 868-876 (lines=9) @@
865
                        $limit = null;
866
                    }
867
                    break;
868
                case 'char':
869
                    $type = static::PHINX_TYPE_CHAR;
870
                    if ($limit === 255) {
871
                        $limit = null;
872
                    }
873
                    if ($limit === 36) {
874
                        $type = static::PHINX_TYPE_UUID;
875
                    }
876
                    break;
877
                case 'tinyint':
878
                    $type = static::PHINX_TYPE_INTEGER;
879
                    $limit = static::INT_TINY;

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

@@ 890-898 (lines=9) @@
887
                        $limit = null;
888
                    }
889
                    break;
890
                case 'char':
891
                    $type = static::PHINX_TYPE_CHAR;
892
                    if ($limit === 255) {
893
                        $limit = null;
894
                    }
895
                    if ($limit === 36) {
896
                        $type = static::PHINX_TYPE_UUID;
897
                    }
898
                    break;
899
                case 'int':
900
                    $type = static::PHINX_TYPE_INTEGER;
901
                    if ($limit === 11) {