Passed
Pull Request — master (#488)
by
unknown
01:43
created
src/CTe/Dacte.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1610,7 +1610,7 @@  discard block
 block discarded – undo
1610 1610
         $qCarga = 0;
1611 1611
         foreach ($this->infQ as $infQ) {
1612 1612
             if ($this->getTagValue($infQ, "cUnid") == '00') {
1613
-                $qCarga += (float)$this->getTagValue($infQ, "qCarga");
1613
+                $qCarga += (float) $this->getTagValue($infQ, "qCarga");
1614 1614
             }
1615 1615
         }
1616 1616
         $texto = !empty($qCarga) ? number_format($qCarga, 3, ",", ".") : '';
@@ -1627,7 +1627,7 @@  discard block
 block discarded – undo
1627 1627
         $qCarga = 0;
1628 1628
         foreach ($this->infQ as $infQ) {
1629 1629
             if ($this->getTagValue($infQ, "cUnid") == '03') {
1630
-                $qCarga += (float)$this->getTagValue($infQ, "qCarga");
1630
+                $qCarga += (float) $this->getTagValue($infQ, "qCarga");
1631 1631
             }
1632 1632
         }
1633 1633
         $texto = !empty($qCarga) ? number_format($qCarga, 3, ",", ".") : '';
@@ -3557,7 +3557,7 @@  discard block
 block discarded – undo
3557 3557
         $y = $y + 5;
3558 3558
         $this->pdf->line($x, $y + 3, $w * 0.255, $y + 3); // LINHA HORIZONTAL ACIMA DO RG ABAIXO DO NOME
3559 3559
         $texto = 'RG';
3560
-        $aFont = ['font' => $this->fontePadrao,'size' => 6,'style' => ''];
3560
+        $aFont = ['font' => $this->fontePadrao, 'size' => 6, 'style' => ''];
3561 3561
         $this->pdf->textBox($x, $y + 3, $w * 0.33, $h, $texto, $aFont, 'T', 'L', 0, '');
3562 3562
         $x += $w * 0.85;
3563 3563
         $this->pdf->line($x, $y + 11.5, $x, $y - 5); // LINHA VERTICAL PROXIMO AO CT-E
Please login to merge, or discard this patch.