@@ -58,7 +58,7 @@ |
||
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, |
@@ -69,7 +69,7 @@ discard block |
||
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 |
||
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 |
||
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, |