Code Duplication    Length = 9-9 lines in 2 locations

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

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

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

@@ 842-850 (lines=9) @@
839
                        $limit = null;
840
                    }
841
                    break;
842
                case 'char':
843
                    $type = static::PHINX_TYPE_CHAR;
844
                    if ($limit === 255) {
845
                        $limit = null;
846
                    }
847
                    if ($limit === 36) {
848
                        $type = static::PHINX_TYPE_UUID;
849
                    }
850
                    break;
851
                case 'tinyint':
852
                    $type = static::PHINX_TYPE_INTEGER;
853
                    $limit = static::INT_TINY;