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

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