Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 901-909 (lines=9) @@
898
                        $limit = null;
899
                    }
900
                    break;
901
                case 'char':
902
                    $type = static::PHINX_TYPE_CHAR;
903
                    if ($limit === 255) {
904
                        $limit = null;
905
                    }
906
                    if ($limit === 36) {
907
                        $type = static::PHINX_TYPE_UUID;
908
                    }
909
                    break;
910
                case 'int':
911
                    $type = static::PHINX_TYPE_INTEGER;
912
                    if ($limit === 11) {

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

@@ 856-864 (lines=9) @@
853
                        $limit = null;
854
                    }
855
                    break;
856
                case 'char':
857
                    $type = static::PHINX_TYPE_CHAR;
858
                    if ($limit === 255) {
859
                        $limit = null;
860
                    }
861
                    if ($limit === 36) {
862
                        $type = static::PHINX_TYPE_UUID;
863
                    }
864
                    break;
865
                case 'tinyint':
866
                    $type  = static::PHINX_TYPE_INTEGER;
867
                    $limit = static::INT_TINY;