Code Duplication    Length = 1-3 lines in 3 locations

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

@@ 740-740 (lines=1) @@
737
                break;
738
            case 'replace_to':
739
            case 'tpl':
740
                if ($value !== '') {
741
                    return str_replace(array('[+value+]', '[+output+]', '{value}', '%s'), $value, $opt);
742
                }
743
                break;
@@ 799-799 (lines=1) @@
796
            case 'tobool':
797
                return boolval($value);
798
            case 'nl2lf':
799
                if ($value !== '') {
800
                    return str_replace(array("\r\n", "\n", "\r"), '\n', $value);
801
                }
802
                break;

manager/includes/src/Core.php 1 location

@@ 2444-2446 (lines=3) @@
2441
                    $key = str_replace('amp;', '', $key);
2442
                }
2443
                $key = trim($key);
2444
                if (strpos($value, '[!') !== false) {
2445
                    $value = str_replace(array('[!', '!]'), array('[[', ']]'), $value);
2446
                }
2447
                $value = $this->mergeDocumentContent($value);
2448
                $value = $this->mergeSettingsContent($value);
2449
                $value = $this->mergeChunkContent($value);