Code Duplication    Length = 9-9 lines in 2 locations

src/models/BaseModel.php 2 locations

@@ 64-72 (lines=9) @@
61
    /**
62
     * @return string
63
     */
64
    protected function getYmlStartTag()
65
    {
66
        $string = '';
67
        if (static::$tag) {
68
            $string = '<' . static::$tag . $this->getYmlTagProperties() . '>';
69
        }
70
71
        return $string;
72
    }
73
74
    /**
75
     * @return string
@@ 77-85 (lines=9) @@
74
    /**
75
     * @return string
76
     */
77
    protected function getYmlEndTag()
78
    {
79
        $string = '';
80
        if (static::$tag) {
81
            $string .= '</' . static::$tag . '>';
82
        }
83
84
        return $string;
85
    }
86
87
    /**
88
     * @return string