Code Duplication    Length = 16-16 lines in 2 locations

src/CTe/Dacte.php 1 location

@@ 1204-1219 (lines=16) @@
1201
     * @param number $xInic Posição horizontal canto esquerdo
1202
     * @param number $yFinal Posição vertical final para impressão
1203
     */
1204
    protected function zRodape($x, $y)
1205
    {
1206
        $texto = "Impresso em  " . date('d/m/Y   H:i:s');
1207
        $w = $this->wPrint - 4;
1208
        $aFont = array(
1209
            'font' => $this->fontePadrao,
1210
            'size' => 6,
1211
            'style' => '');
1212
        $this->pTextBox($x, $y, $w, 4, $texto, $aFont, 'T', 'L', 0, '');
1213
        $texto = "DacteNFePHP ver. " . $this->version . "  Powered by NFePHP (GNU/GPLv3 GNU/LGPLv3) © www.nfephp.org";
1214
        $aFont = array(
1215
            'font' => $this->fontePadrao,
1216
            'size' => 6,
1217
            'style' => '');
1218
        $this->pTextBox($x, $y, $w, 4, $texto, $aFont, 'T', 'R', 0, 'http://www.nfephp.org');
1219
    } //fim zRodape
1220
1221
    /**
1222
     * zRemetente

src/CTe/DacteV3.php 1 location

@@ 1194-1209 (lines=16) @@
1191
     * @param number $xInic Posição horizontal canto esquerdo
1192
     * @param number $yFinal Posição vertical final para impressão
1193
     */
1194
    protected function zRodape($x, $y)
1195
    {
1196
        $texto = "Impresso em  " . date('d/m/Y   H:i:s');
1197
        $w = $this->wPrint - 4;
1198
        $aFont = array(
1199
            'font' => $this->fontePadrao,
1200
            'size' => 6,
1201
            'style' => '');
1202
        $this->pTextBox($x, $y, $w, 4, $texto, $aFont, 'T', 'L', 0, '');
1203
        $texto = "DacteNFePHP ver. " . $this->version . "  Powered by NFePHP (GNU/GPLv3 GNU/LGPLv3) © www.nfephp.org";
1204
        $aFont = array(
1205
            'font' => $this->fontePadrao,
1206
            'size' => 6,
1207
            'style' => '');
1208
        $this->pTextBox($x, $y, $w, 4, $texto, $aFont, 'T', 'R', 0, 'http://www.nfephp.org');
1209
    } //fim zRodape
1210
1211
    /**
1212
     * zRemetente