@@ -25,7 +25,7 @@ discard block |
||
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 | |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | $ret->loadXML($response); |
186 | 186 | //extrai a rag retEvento da resposta (retorno da SEFAZ) |
187 | 187 | $retEv = $ret->getElementsByTagName('retEventoBPe')->item(0); |
188 | - $cStat = $retEv->getElementsByTagName('cStat')->item(0)->nodeValue; |
|
188 | + $cStat = $retEv->getElementsByTagName('cStat')->item(0)->nodeValue; |
|
189 | 189 | $xMotivo = $retEv->getElementsByTagName('xMotivo')->item(0)->nodeValue; |
190 | 190 | $tpEvento = $retEv->getElementsByTagName('tpEvento')->item(0)->nodeValue; |
191 | 191 | $cStatValids = ['135', '136']; |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | { |
216 | 216 | $xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" |
217 | 217 | . "<$nodename versao=\"$versao\" " |
218 | - . "xmlns=\"".self::$urlPortal."\">"; |
|
218 | + . "xmlns=\"" . self::$urlPortal . "\">"; |
|
219 | 219 | $xml .= $first; |
220 | 220 | $xml .= $second; |
221 | 221 | $xml .= "</$nodename>"; |