Passed
Pull Request — master (#243)
by
unknown
02:15
created
src/Tools.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     /**
93 93
      * Request authorization to issue CTe OS with one document only
94 94
      * @param type $xml
95
-     * @return type
95
+     * @return string
96 96
      */
97 97
     public function sefazEnviaCTeOS($xml)
98 98
     {
@@ -906,7 +906,7 @@  discard block
 block discarded – undo
906 906
      * Requires CE cancellation
907 907
      * @param  string $chave key of CTe
908 908
      * @param  string $nProt protocol number
909
-     * @param  string $nProtCEC protocol number
909
+     * @param  string $nProtCE protocol number
910 910
      * @return string
911 911
      */
912 912
     public function sefazCancelaCE($chave, $nProt, $nProtCE)
Please login to merge, or discard this patch.
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -855,29 +855,29 @@  discard block
 block discarded – undo
855 855
      * @return string
856 856
      */
857 857
     public function sefazCE(
858
-		$chave, 
859
-		$nProt, 
860
-		$xNome, 
861
-		$nDoc, 
862
-		$hash, 
863
-		$data, 
864
-		$hora, 
865
-		$aNFes, 
866
-		$latitude, 
867
-		$longitude, 
868
-		$nSeqEvento,
869
-		$dhEventoEntrega)
858
+        $chave, 
859
+        $nProt, 
860
+        $xNome, 
861
+        $nDoc, 
862
+        $hash, 
863
+        $data, 
864
+        $hora, 
865
+        $aNFes, 
866
+        $latitude, 
867
+        $longitude, 
868
+        $nSeqEvento,
869
+        $dhEventoEntrega)
870 870
     {
871 871
         $uf = $this->validKeyByUF($chave);
872 872
         $tpEvento = 110180;
873 873
         
874 874
         /* relaciona as chaves daS NFes */
875 875
         $infEntrega = '';
876
-		foreach ($aNFes as $NFe) {
877
-			$infEntrega .= "<infEntrega>"
878
-				. "<chNFe>$NFe</chNFe>"
879
-				. "</infEntrega>";
880
-		}
876
+        foreach ($aNFes as $NFe) {
877
+            $infEntrega .= "<infEntrega>"
878
+                . "<chNFe>$NFe</chNFe>"
879
+                . "</infEntrega>";
880
+        }
881 881
 
882 882
         $tagAdic = "<evCECTe>"
883 883
             . "<descEvento>Comprovante de Entrega do CT-e</descEvento>"
@@ -887,9 +887,9 @@  discard block
 block discarded – undo
887 887
             . "<xNome>$xNome</xNome>"
888 888
             . "<latitude>$latitude</latitude>"
889 889
             . "<longitude>$longitude</longitude>"
890
-			. "<hashEntrega>$hash</hashEntrega>"
891
-			. "<dhHashEntrega>$dhEventoEntrega</dhHashEntrega>" 
892
-			. $infEntrega 
890
+            . "<hashEntrega>$hash</hashEntrega>"
891
+            . "<dhHashEntrega>$dhEventoEntrega</dhHashEntrega>" 
892
+            . $infEntrega 
893 893
             . "</evCECTe>";
894 894
         return $this->sefazEvento(
895 895
             $uf,
Please login to merge, or discard this patch.