Code Duplication    Length = 3-3 lines in 2 locations

manager/includes/src/Legacy/Modifiers.php 2 locations

@@ 613-615 (lines=3) @@
610
                }
611
612
                return implode(' ', $_);
613
            case 'zenhan':
614
                if (empty($opt)) {
615
                    $opt = 'VKas';
616
                }
617
618
                return mb_convert_kana($value, $opt, $modx->config['modx_charset']);
@@ 619-621 (lines=3) @@
616
                }
617
618
                return mb_convert_kana($value, $opt, $modx->config['modx_charset']);
619
            case 'hanzen':
620
                if (empty($opt)) {
621
                    $opt = 'VKAS';
622
                }
623
624
                return mb_convert_kana($value, $opt, $modx->config['modx_charset']);