Passed
Pull Request — master (#506)
by
unknown
01:33
created
src/NFe/DanfeSimples.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
             $c1,
310 310
             5,
311 311
             "{$this->nfeArray['NFe']['infNFe']['ide']['tpNF']} - " .
312
-                                  ($this->nfeArray['NFe']['infNFe']['ide']['tpNF']==1 ? 'Saida':'Entrada'),
312
+                                  ($this->nfeArray['NFe']['infNFe']['ide']['tpNF'] == 1 ? 'Saida' : 'Entrada'),
313 313
             1,
314 314
             0,
315 315
             'C',
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
             //que uma impressora de 203dpi consiga imprimir um código legível
361 361
             $this->pdf->code128($this->margesq * 2, $y, $chave, ($this->maxW - $this->margesq * 4), 15);
362 362
         } else {
363
-            $this->pdf->code128(($c1/2), $y, $chave, ($c1 * 3), 15);
363
+            $this->pdf->code128(($c1 / 2), $y, $chave, ($c1 * 3), 15);
364 364
         }
365 365
         $this->pdf->setFillColor(255, 255, 255);
366 366
         $this->pdf->ln();
@@ -399,7 +399,7 @@  discard block
 block discarded – undo
399 399
             1
400 400
         );
401 401
 
402
-        $enderecoEmit  = "{$this->nfeArray['NFe']['infNFe']['emit']['enderEmit']['xMun']}"
402
+        $enderecoEmit = "{$this->nfeArray['NFe']['infNFe']['emit']['enderEmit']['xMun']}"
403 403
                        . " / {$this->nfeArray['NFe']['infNFe']['emit']['enderEmit']['UF']}"
404 404
                        . " - CEP {$this->nfeArray['NFe']['infNFe']['emit']['enderEmit']['CEP']}";
405 405
 
@@ -469,7 +469,7 @@  discard block
 block discarded – undo
469 469
         $this->pdf->setFont('Arial', '', $pequeno ? 9 : 10);
470 470
         $this->pdf->cell(($c1 * 4), $pequeno ? 4 : 5, "{$enderecoLinha2}", 1, 1, 'C', 1);
471 471
 
472
-        if ($this->nfeArray['NFe']['infNFe']['transp']['modFrete'] != 9 && isset($this->nfeArray['NFe']['infNFe']['transp']['transporta']) ) {
472
+        if ($this->nfeArray['NFe']['infNFe']['transp']['modFrete'] != 9 && isset($this->nfeArray['NFe']['infNFe']['transp']['transporta'])) {
473 473
             $this->pdf->setFont('Arial', 'B', $pequeno ? 10 : 12);
474 474
             $this->pdf->cell(($c1 * 4), $pequeno ? 5 : 6, "TRANSPORTADORA", 1, 1, 'C', 1);
475 475
             $this->pdf->setFont('Arial', '', $pequeno ? 9 : 10);
Please login to merge, or discard this patch.