Passed
Push — master ( 53d961...28360b )
by Roberto
14:30 queued 11s
created
src/Complements.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
             //wrong document, this document is not able to recieve a protocol
26 26
             throw DocumentsException::wrongDocument(0, $key);
27 27
         }
28
-        $func = "add".$key."Protocol";
28
+        $func = "add" . $key . "Protocol";
29 29
         return self::$func($request, $response);
30 30
     }
31 31
 
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
         $resLote = $ret->getElementsByTagName('idLote')->item(0)->nodeValue;
190 190
         //extrai a rag retEvento da resposta (retorno da SEFAZ)
191 191
         $retEv = $ret->getElementsByTagName('retEvento')->item(0);
192
-        $cStat  = $retEv->getElementsByTagName('cStat')->item(0)->nodeValue;
192
+        $cStat = $retEv->getElementsByTagName('cStat')->item(0)->nodeValue;
193 193
         $xMotivo = $retEv->getElementsByTagName('xMotivo')->item(0)->nodeValue;
194 194
         $tpEvento = $retEv->getElementsByTagName('tpEvento')->item(0)->nodeValue;
195 195
         $cStatValids = ['135', '136'];
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
     {
226 226
         $xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
227 227
                 . "<$nodename versao=\"$versao\" "
228
-                . "xmlns=\"".self::$urlPortal."\">";
228
+                . "xmlns=\"" . self::$urlPortal . "\">";
229 229
         $xml .= $first;
230 230
         $xml .= $second;
231 231
         $xml .= "</$nodename>";
Please login to merge, or discard this patch.