Code Duplication    Length = 10-10 lines in 2 locations

src/Greenter/Model/Voided/Reversion.php 1 location

@@ 22-31 (lines=10) @@
19
     *
20
     * @return string
21
     */
22
    public function getXmlId()
23
    {
24
        $parts = [
25
            'RR',
26
            $this->getFecComunicacion()->format('Ymd'),
27
            $this->getCorrelativo(),
28
        ];
29
30
        return join('-', $parts);
31
    }
32
}

src/Greenter/Model/Voided/Voided.php 1 location

@@ 171-180 (lines=10) @@
168
     *
169
     * @return string
170
     */
171
    public function getXmlId()
172
    {
173
        $parts = [
174
            'RA',
175
            $this->getFecComunicacion()->format('Ymd'),
176
            $this->getCorrelativo(),
177
        ];
178
179
        return join('-', $parts);
180
    }
181
}