@@ -76,7 +76,7 @@ |
||
76 | 76 | $this->dom->addChild( |
77 | 77 | $ideEvento, |
78 | 78 | "nrRecibo", |
79 | - ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null, |
|
79 | + !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null, |
|
80 | 80 | false |
81 | 81 | ); |
82 | 82 | $this->dom->addChild( |
@@ -171,7 +171,7 @@ |
||
171 | 171 | $this->dom->addChild( |
172 | 172 | $nova, |
173 | 173 | "fimValid", |
174 | - ! empty($this->std->novavalidade->fimvalid) |
|
174 | + !empty($this->std->novavalidade->fimvalid) |
|
175 | 175 | ? $this->std->novavalidade->fimvalid |
176 | 176 | : null, |
177 | 177 | false |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | ); |
129 | 129 | $this->node->appendChild($ideVinculo); |
130 | 130 | $infoAfastamento = $this->dom->createElement("infoAfastamento"); |
131 | - if (! empty($this->std->iniafastamento)) { |
|
131 | + if (!empty($this->std->iniafastamento)) { |
|
132 | 132 | $iniAfastamento = $this->dom->createElement("iniAfastamento"); |
133 | 133 | $this->dom->addChild( |
134 | 134 | $iniAfastamento, |
@@ -145,19 +145,19 @@ discard block |
||
145 | 145 | $this->dom->addChild( |
146 | 146 | $iniAfastamento, |
147 | 147 | "infoMesmoMtv", |
148 | - ! empty($this->std->iniafastamento->infomesmomtv) ? $this->std->iniafastamento->infomesmomtv : null, |
|
148 | + !empty($this->std->iniafastamento->infomesmomtv) ? $this->std->iniafastamento->infomesmomtv : null, |
|
149 | 149 | false |
150 | 150 | ); |
151 | 151 | $this->dom->addChild( |
152 | 152 | $iniAfastamento, |
153 | 153 | "tpAcidTransito", |
154 | - ! empty($this->std->iniafastamento->tpacidtransito) ? $this->std->iniafastamento->tpacidtransito : null, |
|
154 | + !empty($this->std->iniafastamento->tpacidtransito) ? $this->std->iniafastamento->tpacidtransito : null, |
|
155 | 155 | false |
156 | 156 | ); |
157 | 157 | $this->dom->addChild( |
158 | 158 | $iniAfastamento, |
159 | 159 | "observacao", |
160 | - ! empty($this->std->iniafastamento->observacao) ? $this->std->iniafastamento->observacao : null, |
|
160 | + !empty($this->std->iniafastamento->observacao) ? $this->std->iniafastamento->observacao : null, |
|
161 | 161 | false |
162 | 162 | ); |
163 | 163 | if (isset($this->std->iniafastamento->infoatestado)) { |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | $this->dom->addChild( |
167 | 167 | $infoAtestado, |
168 | 168 | "codCID", |
169 | - ! empty($info->codcid) ? $info->codcid : null, |
|
169 | + !empty($info->codcid) ? $info->codcid : null, |
|
170 | 170 | false |
171 | 171 | ); |
172 | 172 | $this->dom->addChild( |
@@ -199,7 +199,7 @@ discard block |
||
199 | 199 | $this->dom->addChild( |
200 | 200 | $emitente, |
201 | 201 | "ufOC", |
202 | - ! empty($info->emitente->ufoc) ? $info->emitente->ufoc : null, |
|
202 | + !empty($info->emitente->ufoc) ? $info->emitente->ufoc : null, |
|
203 | 203 | false |
204 | 204 | ); |
205 | 205 | $infoAtestado->appendChild($emitente); |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | $iniAfastamento->appendChild($infoAtestado); |
208 | 208 | } |
209 | 209 | } |
210 | - if (! empty($this->std->infocessao)) { |
|
210 | + if (!empty($this->std->infocessao)) { |
|
211 | 211 | $infoCessao = $this->dom->createElement("infoCessao"); |
212 | 212 | $this->dom->addChild( |
213 | 213 | $infoCessao, |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | ); |
224 | 224 | $iniAfastamento->appendChild($infoCessao); |
225 | 225 | } |
226 | - if (! empty($this->std->infomandsind)) { |
|
226 | + if (!empty($this->std->infomandsind)) { |
|
227 | 227 | $infoMandSind = $this->dom->createElement("infoMandSind"); |
228 | 228 | $this->dom->addChild( |
229 | 229 | $infoMandSind, |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | } |
242 | 242 | $infoAfastamento->appendChild($iniAfastamento); |
243 | 243 | } |
244 | - if (! empty($this->std->inforetif)) { |
|
244 | + if (!empty($this->std->inforetif)) { |
|
245 | 245 | $infoRetif = $this->dom->createElement("infoRetif"); |
246 | 246 | $this->dom->addChild( |
247 | 247 | $infoRetif, |
@@ -258,12 +258,12 @@ discard block |
||
258 | 258 | $this->dom->addChild( |
259 | 259 | $infoRetif, |
260 | 260 | "nrProc", |
261 | - ! empty($this->std->inforetif->nrproc) ? $this->std->inforetif->nrproc : null, |
|
261 | + !empty($this->std->inforetif->nrproc) ? $this->std->inforetif->nrproc : null, |
|
262 | 262 | false |
263 | 263 | ); |
264 | 264 | $infoAfastamento->appendChild($infoRetif); |
265 | 265 | } |
266 | - if (! empty($this->std->fimafastamento)) { |
|
266 | + if (!empty($this->std->fimafastamento)) { |
|
267 | 267 | $fimAfastamento = $this->dom->createElement("fimAfastamento"); |
268 | 268 | $this->dom->addChild( |
269 | 269 | $fimAfastamento, |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | $this->dom->addChild( |
101 | 101 | $ide, |
102 | 102 | "fimValid", |
103 | - ! empty($this->std->fimvalid) ? $this->std->fimvalid : null, |
|
103 | + !empty($this->std->fimvalid) ? $this->std->fimvalid : null, |
|
104 | 104 | false |
105 | 105 | ); |
106 | 106 | $dados = ''; |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | $this->dom->addChild( |
139 | 139 | $nova, |
140 | 140 | "fimValid", |
141 | - ! empty($this->std->novavalidade->fimvalid) |
|
141 | + !empty($this->std->novavalidade->fimvalid) |
|
142 | 142 | ? $this->std->novavalidade->fimvalid |
143 | 143 | : null, |
144 | 144 | false |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | $this->dom->addChild( |
107 | 107 | $ide, |
108 | 108 | "fimValid", |
109 | - ! empty($this->std->fimvalid) ? $this->std->fimvalid : null, |
|
109 | + !empty($this->std->fimvalid) ? $this->std->fimvalid : null, |
|
110 | 110 | false |
111 | 111 | ); |
112 | 112 | |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | $this->dom->addChild( |
182 | 182 | $nova, |
183 | 183 | "fimValid", |
184 | - ! empty($this->std->novavalidade->fimvalid) |
|
184 | + !empty($this->std->novavalidade->fimvalid) |
|
185 | 185 | ? $this->std->novavalidade->fimvalid |
186 | 186 | : null, |
187 | 187 | false |
@@ -197,8 +197,8 @@ discard block |
||
197 | 197 | } elseif ($this->std->modo == 'ALT') { |
198 | 198 | $node = $this->dom->createElement("alteracao"); |
199 | 199 | $node->appendChild($ide); |
200 | - isset($dados) ? $node->appendChild($dados): null; |
|
201 | - isset($nova) ? $node->appendChild($nova): null; |
|
200 | + isset($dados) ? $node->appendChild($dados) : null; |
|
201 | + isset($nova) ? $node->appendChild($nova) : null; |
|
202 | 202 | } else { |
203 | 203 | $node = $this->dom->createElement("exclusao"); |
204 | 204 | $node->appendChild($ide); |
@@ -123,7 +123,7 @@ |
||
123 | 123 | $this->dom->addChild( |
124 | 124 | $ide, |
125 | 125 | "email", |
126 | - ! empty($this->std->email) ? $this->std->email : null, |
|
126 | + !empty($this->std->email) ? $this->std->email : null, |
|
127 | 127 | false |
128 | 128 | ); |
129 | 129 | $this->node->appendChild($ide); |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | $this->dom->addChild( |
106 | 106 | $ide, |
107 | 107 | "fimValid", |
108 | - ! empty($this->std->fimvalid) ? $this->std->fimvalid : null, |
|
108 | + !empty($this->std->fimvalid) ? $this->std->fimvalid : null, |
|
109 | 109 | false |
110 | 110 | ); |
111 | 111 | |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | $this->dom->addChild( |
172 | 172 | $nova, |
173 | 173 | "fimValid", |
174 | - ! empty($this->std->novavalidade->fimvalid) |
|
174 | + !empty($this->std->novavalidade->fimvalid) |
|
175 | 175 | ? $this->std->novavalidade->fimvalid |
176 | 176 | : null, |
177 | 177 | false |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | $this->dom->addChild( |
122 | 122 | $ideRespInf, |
123 | 123 | "email", |
124 | - ! empty($this->std->iderespinf->email) ? $this->std->iderespinf->email : null, |
|
124 | + !empty($this->std->iderespinf->email) ? $this->std->iderespinf->email : null, |
|
125 | 125 | false |
126 | 126 | ); |
127 | 127 | $this->node->appendChild($ideRespInf); |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | $this->dom->addChild( |
167 | 167 | $infoFech, |
168 | 168 | "compSemMovto", |
169 | - ! empty($this->std->infofech->compsemmovto) ? $this->std->infofech->compsemmovto : null, |
|
169 | + !empty($this->std->infofech->compsemmovto) ? $this->std->infofech->compsemmovto : null, |
|
170 | 170 | false |
171 | 171 | ); |
172 | 172 | $this->node->appendChild($infoFech); |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | /** |
6 | 6 | * Class eSocial EvtTSVInicio Event S-2300 constructor |
7 | - |
|
8 | 7 | * Read for 2.5.0 layout |
9 | 8 | * |
10 | 9 | * @category library |