Code Duplication    Length = 2-2 lines in 2 locations

lib/elFinderVolumeDriver.class.php 2 locations

@@ 3018-3019 (lines=2) @@
3015
3016
                return (bool) $this->imgRotate($src, $options['degree'], $options['bgColorFb'], null, $options['jpgQuality']);
3017
3018
            case 'resize':
3019
                return (bool) $this->imgResize($src, $options['width'], $options['height'], false, true, null, $options['jpgQuality'], $options);
3020
3021
            case 'propresize':
3022
                return (bool) $this->imgResize($src, $options['width'], $options['height'], true, true, null, $options['jpgQuality'], $options);
@@ 3021-3022 (lines=2) @@
3018
            case 'resize':
3019
                return (bool) $this->imgResize($src, $options['width'], $options['height'], false, true, null, $options['jpgQuality'], $options);
3020
3021
            case 'propresize':
3022
                return (bool) $this->imgResize($src, $options['width'], $options['height'], true, true, null, $options['jpgQuality'], $options);
3023
3024
            case 'crop':
3025
                if (isset($options['x']) && isset($options['y'])) {