Code Duplication    Length = 4-4 lines in 2 locations

htdocs/class/xoopseditor/tinymce4/external_plugins/filemanager/include/php_image_magician.php 2 locations

@@ 2279-2282 (lines=4) @@
2276
          $height = ($this->height / 2) - ($assetHeight / 2);
2277
          break;
2278
2279
        case 'r':
2280
          $width = $this->width - $assetWidth - $padding;
2281
          $height = ($this->height / 2) - ($assetHeight / 2);
2282
          break;
2283
2284
        case 'bl':
2285
          $width = 0 + $padding;
@@ 2289-2292 (lines=4) @@
2286
          $height = $this->height - $assetHeight - $padding;
2287
          break;
2288
2289
        case 'b':
2290
          $width = ($this->width / 2) - ($assetWidth / 2);
2291
          $height = $this->height - $assetHeight - $padding;
2292
          break;
2293
2294
        case 'br':
2295
          $width = $this->width - $assetWidth - $padding;