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

@@ 122-130 (lines=9) @@
119
    /**
120
     * @return string
121
     */
122
    protected function getYmlStartTag()
123
    {
124
        $string = '';
125
        if (static::$tag) {
126
            $string = '<' . static::$tag . $this->getYmlTagProperties() . '>';
127
        }
128
129
        return $string;
130
    }
131
132
    /**
133
     * @return string
@@ 135-143 (lines=9) @@
132
    /**
133
     * @return string
134
     */
135
    protected function getYmlEndTag()
136
    {
137
        $string = '';
138
        if (static::$tag) {
139
            $string .= '</' . static::$tag . '>';
140
        }
141
142
        return $string;
143
    }
144
145
    /**
146
     * @return string