Completed
Push — master ( eebc5d...d2e053 )
by Roberto
03:12 queued 12s
created
src/CTe/Dacte.php 1 patch
Spacing   +5 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1325,8 +1325,7 @@  discard block
 block discarded – undo
1325 1325
             $texto = $this->getTagValue($this->enderExped, "xLgr") . ', ';
1326 1326
             $texto .= $this->getTagValue($this->enderExped, "nro");
1327 1327
             $texto .= $this->getTagValue($this->enderExped, "xCpl") != "" ?
1328
-                ' - ' . $this->getTagValue($this->enderExped, "xCpl") :
1329
-                '';
1328
+                ' - ' . $this->getTagValue($this->enderExped, "xCpl") : '';
1330 1329
         } else {
1331 1330
             $texto = '';
1332 1331
         }
@@ -1422,8 +1421,7 @@  discard block
 block discarded – undo
1422 1421
             $texto = $this->getTagValue($this->enderReceb, "xLgr") . ', ';
1423 1422
             $texto .= $this->getTagValue($this->enderReceb, "nro");
1424 1423
             $texto .= ($this->getTagValue($this->enderReceb, "xCpl") != "") ?
1425
-                ' - ' . $this->getTagValue($this->enderReceb, "xCpl") :
1426
-                '';
1424
+                ' - ' . $this->getTagValue($this->enderReceb, "xCpl") : '';
1427 1425
         } else {
1428 1426
             $texto = '';
1429 1427
         }
@@ -1627,7 +1625,7 @@  discard block
 block discarded – undo
1627 1625
         $qCarga = 0;
1628 1626
         foreach ($this->infQ as $infQ) {
1629 1627
             if (in_array($this->getTagValue($infQ, "cUnid"), array('01', '02'))) {
1630
-                $qCarga += (float)$this->getTagValue($infQ, "qCarga");
1628
+                $qCarga += (float) $this->getTagValue($infQ, "qCarga");
1631 1629
             }
1632 1630
         }
1633 1631
         $texto = 'PESO BRUTO (KG)';
@@ -1678,7 +1676,7 @@  discard block
 block discarded – undo
1678 1676
         $qCarga = 0;
1679 1677
         foreach ($this->infQ as $infQ) {
1680 1678
             if ($this->getTagValue($infQ, "cUnid") == '00') {
1681
-                $qCarga += (float)$this->getTagValue($infQ, "qCarga");
1679
+                $qCarga += (float) $this->getTagValue($infQ, "qCarga");
1682 1680
             }
1683 1681
         }
1684 1682
         $texto = !empty($qCarga) ? number_format($qCarga, 3, ",", ".") : '';
@@ -1695,7 +1693,7 @@  discard block
 block discarded – undo
1695 1693
         $qCarga = 0;
1696 1694
         foreach ($this->infQ as $infQ) {
1697 1695
             if ($this->getTagValue($infQ, "cUnid") == '03') {
1698
-                $qCarga += (float)$this->getTagValue($infQ, "qCarga");
1696
+                $qCarga += (float) $this->getTagValue($infQ, "qCarga");
1699 1697
             }
1700 1698
         }
1701 1699
         $texto = !empty($qCarga) ? number_format($qCarga, 3, ",", ".") : '';
Please login to merge, or discard this patch.