Code Duplication    Length = 9-9 lines in 3 locations

src/models/BaseModel.php 2 locations

@@ 134-142 (lines=9) @@
131
    /**
132
     * @return string
133
     */
134
    protected function getYmlStartTag()
135
    {
136
        $string = '';
137
        if (static::$tag) {
138
            $string = '<' . static::$tag . $this->getYmlTagProperties() . '>';
139
        }
140
141
        return $string;
142
    }
143
144
    /**
145
     * @return string
@@ 147-155 (lines=9) @@
144
    /**
145
     * @return string
146
     */
147
    protected function getYmlEndTag()
148
    {
149
        $string = '';
150
        if (static::$tag) {
151
            $string .= '</' . static::$tag . '>';
152
        }
153
154
        return $string;
155
    }
156
157
    /**
158
     * @return string

src/models/Currency.php 1 location

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