@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | $this->dom->addChild( |
118 | 118 | $ideEstab, |
119 | 119 | "fimValid", |
120 | - ! empty($this->std->fimvalid) ? $this->std->fimvalid : null, |
|
120 | + !empty($this->std->fimvalid) ? $this->std->fimvalid : null, |
|
121 | 121 | false |
122 | 122 | ); |
123 | 123 | |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | } |
131 | 131 | $node->appendChild($ideEstab); |
132 | 132 | |
133 | - if (! empty($this->std->dadosestab)) { |
|
133 | + if (!empty($this->std->dadosestab)) { |
|
134 | 134 | $dadosEstab = $this->dom->createElement("dadosEstab"); |
135 | 135 | $this->dom->addChild( |
136 | 136 | $dadosEstab, |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | $this->std->dadosestab->aliqgilrat->aliqrat, |
146 | 146 | true |
147 | 147 | ); |
148 | - $fap = ! empty($this->std->dadosestab->aliqgilrat->fap) ? $this->std->dadosestab->aliqgilrat->fap : null; |
|
148 | + $fap = !empty($this->std->dadosestab->aliqgilrat->fap) ? $this->std->dadosestab->aliqgilrat->fap : null; |
|
149 | 149 | if ($fap) { |
150 | 150 | $fap = number_format($fap, 4, '.', ''); |
151 | 151 | } |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | $fap, |
156 | 156 | false |
157 | 157 | ); |
158 | - $aliqrata = ! empty($this->std->dadosestab->aliqgilrat->aliqratajust) |
|
158 | + $aliqrata = !empty($this->std->dadosestab->aliqgilrat->aliqratajust) |
|
159 | 159 | ? $this->std->dadosestab->aliqgilrat->aliqratajust |
160 | 160 | : null; |
161 | 161 | if ($aliqrata) { |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | $aliqrata, |
168 | 168 | false |
169 | 169 | ); |
170 | - if (! empty($this->std->dadosestab->aliqgilrat->procadmjudrat)) { |
|
170 | + if (!empty($this->std->dadosestab->aliqgilrat->procadmjudrat)) { |
|
171 | 171 | $procAdmJudRat = $this->dom->createElement("procAdmJudRat"); |
172 | 172 | $this->dom->addChild( |
173 | 173 | $procAdmJudRat, |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | ); |
190 | 190 | $aliqGilrat->appendChild($procAdmJudRat); |
191 | 191 | } |
192 | - if (! empty($this->std->dadosestab->aliqgilrat->procadmjudfap)) { |
|
192 | + if (!empty($this->std->dadosestab->aliqgilrat->procadmjudfap)) { |
|
193 | 193 | $procAdmJudFap = $this->dom->createElement("procAdmJudFap"); |
194 | 194 | $this->dom->addChild( |
195 | 195 | $procAdmJudFap, |
@@ -213,7 +213,7 @@ discard block |
||
213 | 213 | } |
214 | 214 | $dadosEstab->appendChild($aliqGilrat); |
215 | 215 | |
216 | - if (! empty($this->std->dadosestab->infocaepf)) { |
|
216 | + if (!empty($this->std->dadosestab->infocaepf)) { |
|
217 | 217 | $infoCaepf = $this->dom->createElement("infoCaepf"); |
218 | 218 | $this->dom->addChild( |
219 | 219 | $infoCaepf, |
@@ -224,7 +224,7 @@ discard block |
||
224 | 224 | $dadosEstab->appendChild($infoCaepf); |
225 | 225 | } |
226 | 226 | |
227 | - if (! empty($this->std->dadosestab->infoobra)) { |
|
227 | + if (!empty($this->std->dadosestab->infoobra)) { |
|
228 | 228 | $infoObra = $this->dom->createElement("infoObra"); |
229 | 229 | $this->dom->addChild( |
230 | 230 | $infoObra, |
@@ -253,7 +253,7 @@ discard block |
||
253 | 253 | $this->dom->addChild( |
254 | 254 | $infoApr, |
255 | 255 | "nrProcJud", |
256 | - ! empty($this->std->dadosestab->infotrab->infoapr->nrprocjud) |
|
256 | + !empty($this->std->dadosestab->infotrab->infoapr->nrprocjud) |
|
257 | 257 | ? $this->std->dadosestab->infotrab->infoapr->nrprocjud |
258 | 258 | : null, |
259 | 259 | false |
@@ -261,13 +261,13 @@ discard block |
||
261 | 261 | $this->dom->addChild( |
262 | 262 | $infoApr, |
263 | 263 | "contEntEd", |
264 | - ! empty($this->std->dadosestab->infotrab->infoapr->contented) |
|
264 | + !empty($this->std->dadosestab->infotrab->infoapr->contented) |
|
265 | 265 | ? $this->std->dadosestab->infotrab->infoapr->contented |
266 | 266 | : null, |
267 | 267 | false |
268 | 268 | ); |
269 | 269 | |
270 | - if (! empty($this->std->dadosestab->infotrab->infoapr->infoenteduc)) { |
|
270 | + if (!empty($this->std->dadosestab->infotrab->infoapr->infoenteduc)) { |
|
271 | 271 | foreach ($this->std->dadosestab->infotrab->infoapr->infoenteduc as $edu) { |
272 | 272 | $infoEntEduc = $this->dom->createElement("infoEntEduc"); |
273 | 273 | $this->dom->addChild( |
@@ -281,7 +281,7 @@ discard block |
||
281 | 281 | } |
282 | 282 | |
283 | 283 | $infoTrab->appendChild($infoApr); |
284 | - if (! empty($this->std->dadosestab->infotrab->infopdc)) { |
|
284 | + if (!empty($this->std->dadosestab->infotrab->infopdc)) { |
|
285 | 285 | $infoPCD = $this->dom->createElement("infoPCD"); |
286 | 286 | $this->dom->addChild( |
287 | 287 | $infoPCD, |
@@ -292,7 +292,7 @@ discard block |
||
292 | 292 | $this->dom->addChild( |
293 | 293 | $infoPCD, |
294 | 294 | "nrProcJud", |
295 | - ! empty($this->std->dadosestab->infotrab->infopdc->nrprocjud) |
|
295 | + !empty($this->std->dadosestab->infotrab->infopdc->nrprocjud) |
|
296 | 296 | ? $this->std->dadosestab->infotrab->infopdc->nrprocjud |
297 | 297 | : null, |
298 | 298 | false |
@@ -303,7 +303,7 @@ discard block |
||
303 | 303 | $node->appendChild($dadosEstab); |
304 | 304 | } |
305 | 305 | |
306 | - if (! empty($this->std->novavalidade) && $this->std->modo == 'ALT') { |
|
306 | + if (!empty($this->std->novavalidade) && $this->std->modo == 'ALT') { |
|
307 | 307 | $newVal = $this->std->novavalidade; |
308 | 308 | $novaValidade = $this->dom->createElement("novaValidade"); |
309 | 309 | $this->dom->addChild( |
@@ -315,7 +315,7 @@ discard block |
||
315 | 315 | $this->dom->addChild( |
316 | 316 | $novaValidade, |
317 | 317 | "fimValid", |
318 | - ! empty($newVal->fimvalid) ? $newVal->fimvalid : null, |
|
318 | + !empty($newVal->fimvalid) ? $newVal->fimvalid : null, |
|
319 | 319 | false |
320 | 320 | ); |
321 | 321 | $node->appendChild($novaValidade); |
@@ -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, |