Code Duplication    Length = 11-11 lines in 2 locations

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

@@ 328-338 (lines=11) @@
325
     *
326
     * @return string
327
     */
328
    public function getFileName()
329
    {
330
        $parts = [
331
            $this->company->getRuc(),
332
            $this->getTipoDoc(), // 09
333
            $this->getSerie(),
334
            $this->getCorrelativo(),
335
        ];
336
337
        return join('-', $parts);
338
    }
339
}

src/Greenter/Model/Sale/BaseSale.php 1 location

@@ 466-476 (lines=11) @@
463
     *
464
     * @return string
465
     */
466
    public function getFileName()
467
    {
468
        $parts = [
469
            $this->company->getRuc(),
470
            $this->getTipoDoc(),
471
            $this->getSerie(),
472
            $this->getCorrelativo(),
473
        ];
474
475
        return join('-', $parts);
476
    }
477
}