Code Duplication    Length = 9-9 lines in 3 locations

src/models/Currency.php 1 location

@@ 94-102 (lines=9) @@
91
    /**
92
     * @return string
93
     */
94
    protected function getYmlStartTag()
95
    {
96
        $string = '';
97
        if (static::$tag) {
98
            $string = '<' . static::$tag . $this->getYmlTagProperties() . ' />';
99
        }
100
101
        return $string;
102
    }
103
}
104

src/models/BaseModel.php 2 locations

@@ 104-112 (lines=9) @@
101
    /**
102
     * @return string
103
     */
104
    protected function getYmlStartTag()
105
    {
106
        $string = '';
107
        if (static::$tag) {
108
            $string = '<' . static::$tag . $this->getYmlTagProperties() . '>';
109
        }
110
111
        return $string;
112
    }
113
114
    /**
115
     * @return string
@@ 117-125 (lines=9) @@
114
    /**
115
     * @return string
116
     */
117
    protected function getYmlEndTag()
118
    {
119
        $string = '';
120
        if (static::$tag) {
121
            $string .= '</' . static::$tag . '>';
122
        }
123
124
        return $string;
125
    }
126
127
    /**
128
     * @return string