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