@@ -22,7 +22,7 @@ |
||
22 | 22 | { |
23 | 23 | public static function info($code) |
24 | 24 | { |
25 | - $codes = (array) json_decode(file_get_contents(__DIR__.'/httpcodes.json'), true); |
|
25 | + $codes = (array) json_decode(file_get_contents(__DIR__ . '/httpcodes.json'), true); |
|
26 | 26 | if (array_key_exists($code, $codes)) { |
27 | 27 | return $codes[$code]; |
28 | 28 | } |
@@ -65,7 +65,7 @@ |
||
65 | 65 | */ |
66 | 66 | protected function toNode() |
67 | 67 | { |
68 | - $evtid = FactoryId::build( |
|
68 | + $evtid = FactoryId::build( |
|
69 | 69 | $this->tpInsc, |
70 | 70 | $this->nrInsc, |
71 | 71 | $this->date, |
@@ -65,7 +65,7 @@ |
||
65 | 65 | */ |
66 | 66 | protected function toNode() |
67 | 67 | { |
68 | - $evtid = FactoryId::build( |
|
68 | + $evtid = FactoryId::build( |
|
69 | 69 | $this->tpInsc, |
70 | 70 | $this->nrInsc, |
71 | 71 | $this->date, |
@@ -65,7 +65,7 @@ |
||
65 | 65 | */ |
66 | 66 | protected function toNode() |
67 | 67 | { |
68 | - $evtid = FactoryId::build( |
|
68 | + $evtid = FactoryId::build( |
|
69 | 69 | $this->tpInsc, |
70 | 70 | $this->nrInsc, |
71 | 71 | $this->date, |
@@ -65,7 +65,7 @@ |
||
65 | 65 | */ |
66 | 66 | protected function toNode() |
67 | 67 | { |
68 | - $evtid = FactoryId::build( |
|
68 | + $evtid = FactoryId::build( |
|
69 | 69 | $this->tpInsc, |
70 | 70 | $this->nrInsc, |
71 | 71 | $this->date, |
@@ -65,7 +65,7 @@ |
||
65 | 65 | */ |
66 | 66 | protected function toNode() |
67 | 67 | { |
68 | - $evtid = FactoryId::build( |
|
68 | + $evtid = FactoryId::build( |
|
69 | 69 | $this->tpInsc, |
70 | 70 | $this->nrInsc, |
71 | 71 | $this->date, |
@@ -65,7 +65,7 @@ |
||
65 | 65 | */ |
66 | 66 | protected function toNode() |
67 | 67 | { |
68 | - $evtid = FactoryId::build( |
|
68 | + $evtid = FactoryId::build( |
|
69 | 69 | $this->tpInsc, |
70 | 70 | $this->nrInsc, |
71 | 71 | $this->date, |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | */ |
66 | 66 | protected function toNode() |
67 | 67 | { |
68 | - $evtid = FactoryId::build( |
|
68 | + $evtid = FactoryId::build( |
|
69 | 69 | $this->tpInsc, |
70 | 70 | $this->nrInsc, |
71 | 71 | $this->date, |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | $this->dom->addChild( |
88 | 88 | $ideEvento, |
89 | 89 | "nrRecibo", |
90 | - ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null, |
|
90 | + !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null, |
|
91 | 91 | false |
92 | 92 | ); |
93 | 93 | $this->dom->addChild( |
@@ -171,14 +171,14 @@ discard block |
||
171 | 171 | $this->dom->addChild( |
172 | 172 | $detAvPrevio, |
173 | 173 | "observacao", |
174 | - ! empty($this->std->observacao) ? $this->std->observacao : null, |
|
174 | + !empty($this->std->observacao) ? $this->std->observacao : null, |
|
175 | 175 | false |
176 | 176 | ); |
177 | 177 | |
178 | 178 | $infoAvPrevio->appendChild($detAvPrevio); |
179 | 179 | $evtAvPrevio->appendChild($infoAvPrevio); |
180 | 180 | |
181 | - if (! empty($this->std->cancavprevio)) { |
|
181 | + if (!empty($this->std->cancavprevio)) { |
|
182 | 182 | $cancAvPrevio = $this->dom->createElement("cancAvPrevio"); |
183 | 183 | $this->dom->addChild( |
184 | 184 | $cancAvPrevio, |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | $this->dom->addChild( |
190 | 190 | $cancAvPrevio, |
191 | 191 | "observacao", |
192 | - ! empty($this->std->cancavprevio->observacao) ? $this->std->cancavprevio->observacao : null, |
|
192 | + !empty($this->std->cancavprevio->observacao) ? $this->std->cancavprevio->observacao : null, |
|
193 | 193 | false |
194 | 194 | ); |
195 | 195 | $this->dom->addChild( |
@@ -65,7 +65,7 @@ |
||
65 | 65 | */ |
66 | 66 | protected function toNode() |
67 | 67 | { |
68 | - $evtid = FactoryId::build( |
|
68 | + $evtid = FactoryId::build( |
|
69 | 69 | $this->tpInsc, |
70 | 70 | $this->nrInsc, |
71 | 71 | $this->date, |