Code Duplication    Length = 3-3 lines in 3 locations

catalog/includes/OSC/OM/HTML.php 3 locations

@@ 58-60 (lines=3) @@
55
// the image filename as default
56
        $image = '<img src="' . static::output($src) . '" alt="' . static::output($alt) . '"';
57
58
        if (isset($alt) && (strlen($alt) > 0)) {
59
            $image .= ' title="' . static::output($alt) . '"';
60
        }
61
62
        if (isset($width) && (strlen($width) > 0)) {
63
            $image .= ' width="' . static::output($width) . '"';
@@ 62-64 (lines=3) @@
59
            $image .= ' title="' . static::output($alt) . '"';
60
        }
61
62
        if (isset($width) && (strlen($width) > 0)) {
63
            $image .= ' width="' . static::output($width) . '"';
64
        }
65
66
        if (isset($height) && (strlen($height) > 0)) {
67
            $image .= ' height="' . static::output($height) . '"';
@@ 66-68 (lines=3) @@
63
            $image .= ' width="' . static::output($width) . '"';
64
        }
65
66
        if (isset($height) && (strlen($height) > 0)) {
67
            $image .= ' height="' . static::output($height) . '"';
68
        }
69
70
        $class = [];
71