Passed
Pull Request — master (#153)
by Roberto
02:26
created
src/Factories/EvtCAT.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      */
59 59
     protected function toNode()
60 60
     {
61
-       $ideEmpregador = $this->node->getElementsByTagName('ideEmpregador')->item(0);
61
+        $ideEmpregador = $this->node->getElementsByTagName('ideEmpregador')->item(0);
62 62
         $ideEvento = $this->dom->createElement("ideEvento");
63 63
         $this->dom->addChild(
64 64
             $ideEvento,
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         $this->dom->addChild(
70 70
             $ideEvento,
71 71
             "nrRecibo",
72
-            ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
72
+            !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
73 73
             false
74 74
         );
75 75
         $this->dom->addChild(
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
         );
253 253
         $cat->appendChild($localAcidente);
254 254
         
255
-        foreach($this->std->parteatingida as $pa) {
255
+        foreach ($this->std->parteatingida as $pa) {
256 256
             $parteAtingida = $this->dom->createElement("parteAtingida");
257 257
             $this->dom->addChild(
258 258
                 $parteAtingida,
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
             $cat->appendChild($parteAtingida);
270 270
         }    
271 271
 
272
-        foreach($this->std->agentecausador as $pa) {
272
+        foreach ($this->std->agentecausador as $pa) {
273 273
             $agenteCausador = $this->dom->createElement("agenteCausador");
274 274
             $this->dom->addChild(
275 275
                 $agenteCausador,
Please login to merge, or discard this patch.