Passed
Pull Request — master (#12)
by
unknown
02:09
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
 
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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>";
Please login to merge, or discard this patch.