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

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