Code Duplication    Length = 6-6 lines in 2 locations

core/src/Legacy/Modifiers.php 2 locations

@@ 613-618 (lines=6) @@
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->getConfig('modx_charset'));
619
            case 'hanzen':
620
                if (empty($opt)) {
621
                    $opt = 'VKAS';
@@ 619-624 (lines=6) @@
616
                }
617
618
                return mb_convert_kana($value, $opt, $modx->getConfig('modx_charset'));
619
            case 'hanzen':
620
                if (empty($opt)) {
621
                    $opt = 'VKAS';
622
                }
623
624
                return mb_convert_kana($value, $opt, $modx->getConfig('modx_charset'));
625
            case 'str_shuffle':
626
            case 'shuffle':
627
                return $this->str_shuffle($value);