| @@ -71,7 +71,7 @@ discard block | ||
| 71 | 71 | ); | 
| 72 | 72 | $this->node->appendChild($ideVinculo); | 
| 73 | 73 |          $infoAfastamento = $this->dom->createElement("infoAfastamento"); | 
| 74 | -        if (! empty($this->std->iniafastamento)) { | |
| 74 | +        if (!empty($this->std->iniafastamento)) { | |
| 75 | 75 |              $iniAfastamento = $this->dom->createElement("iniAfastamento"); | 
| 76 | 76 | $this->dom->addChild( | 
| 77 | 77 | $iniAfastamento, | 
| @@ -88,19 +88,19 @@ discard block | ||
| 88 | 88 | $this->dom->addChild( | 
| 89 | 89 | $iniAfastamento, | 
| 90 | 90 | "infoMesmoMtv", | 
| 91 | - ! empty($this->std->iniafastamento->infomesmomtv) ? $this->std->iniafastamento->infomesmomtv : null, | |
| 91 | + !empty($this->std->iniafastamento->infomesmomtv) ? $this->std->iniafastamento->infomesmomtv : null, | |
| 92 | 92 | false | 
| 93 | 93 | ); | 
| 94 | 94 | $this->dom->addChild( | 
| 95 | 95 | $iniAfastamento, | 
| 96 | 96 | "tpAcidTransito", | 
| 97 | - ! empty($this->std->iniafastamento->tpacidtransito) ? $this->std->iniafastamento->tpacidtransito : null, | |
| 97 | + !empty($this->std->iniafastamento->tpacidtransito) ? $this->std->iniafastamento->tpacidtransito : null, | |
| 98 | 98 | false | 
| 99 | 99 | ); | 
| 100 | 100 | $this->dom->addChild( | 
| 101 | 101 | $iniAfastamento, | 
| 102 | 102 | "observacao", | 
| 103 | - ! empty($this->std->iniafastamento->observacao) ? $this->std->iniafastamento->observacao : null, | |
| 103 | + !empty($this->std->iniafastamento->observacao) ? $this->std->iniafastamento->observacao : null, | |
| 104 | 104 | false | 
| 105 | 105 | ); | 
| 106 | 106 |              if (isset($this->std->iniafastamento->infoatestado)) { | 
| @@ -109,7 +109,7 @@ discard block | ||
| 109 | 109 | $this->dom->addChild( | 
| 110 | 110 | $infoAtestado, | 
| 111 | 111 | "codCID", | 
| 112 | - ! empty($info->codcid) ? $info->codcid : null, | |
| 112 | + !empty($info->codcid) ? $info->codcid : null, | |
| 113 | 113 | false | 
| 114 | 114 | ); | 
| 115 | 115 | $this->dom->addChild( | 
| @@ -142,7 +142,7 @@ discard block | ||
| 142 | 142 | $this->dom->addChild( | 
| 143 | 143 | $emitente, | 
| 144 | 144 | "ufOC", | 
| 145 | - ! empty($info->emitente->ufoc) ? $info->emitente->ufoc : null, | |
| 145 | + !empty($info->emitente->ufoc) ? $info->emitente->ufoc : null, | |
| 146 | 146 | false | 
| 147 | 147 | ); | 
| 148 | 148 | $infoAtestado->appendChild($emitente); | 
| @@ -150,7 +150,7 @@ discard block | ||
| 150 | 150 | $iniAfastamento->appendChild($infoAtestado); | 
| 151 | 151 | } | 
| 152 | 152 | } | 
| 153 | -            if (! empty($this->std->infocessao)) { | |
| 153 | +            if (!empty($this->std->infocessao)) { | |
| 154 | 154 |                  $infoCessao = $this->dom->createElement("infoCessao"); | 
| 155 | 155 | $this->dom->addChild( | 
| 156 | 156 | $infoCessao, | 
| @@ -166,7 +166,7 @@ discard block | ||
| 166 | 166 | ); | 
| 167 | 167 | $iniAfastamento->appendChild($infoCessao); | 
| 168 | 168 | } | 
| 169 | -            if (! empty($this->std->infomandsind)) { | |
| 169 | +            if (!empty($this->std->infomandsind)) { | |
| 170 | 170 |                  $infoMandSind = $this->dom->createElement("infoMandSind"); | 
| 171 | 171 | $this->dom->addChild( | 
| 172 | 172 | $infoMandSind, | 
| @@ -184,7 +184,7 @@ discard block | ||
| 184 | 184 | } | 
| 185 | 185 | $infoAfastamento->appendChild($iniAfastamento); | 
| 186 | 186 | } | 
| 187 | -        if (! empty($this->std->inforetif)) { | |
| 187 | +        if (!empty($this->std->inforetif)) { | |
| 188 | 188 |              $infoRetif = $this->dom->createElement("infoRetif"); | 
| 189 | 189 | $this->dom->addChild( | 
| 190 | 190 | $infoRetif, | 
| @@ -201,12 +201,12 @@ discard block | ||
| 201 | 201 | $this->dom->addChild( | 
| 202 | 202 | $infoRetif, | 
| 203 | 203 | "nrProc", | 
| 204 | - ! empty($this->std->inforetif->nrproc) ? $this->std->inforetif->nrproc : null, | |
| 204 | + !empty($this->std->inforetif->nrproc) ? $this->std->inforetif->nrproc : null, | |
| 205 | 205 | false | 
| 206 | 206 | ); | 
| 207 | 207 | $infoAfastamento->appendChild($infoRetif); | 
| 208 | 208 | } | 
| 209 | -        if (! empty($this->std->fimafastamento)) { | |
| 209 | +        if (!empty($this->std->fimafastamento)) { | |
| 210 | 210 |              $fimAfastamento = $this->dom->createElement("fimAfastamento"); | 
| 211 | 211 | $this->dom->addChild( | 
| 212 | 212 | $fimAfastamento, | 
| @@ -283,7 +283,7 @@ discard block | ||
| 283 | 283 | ); | 
| 284 | 284 | $this->node->appendChild($ideVinculo); | 
| 285 | 285 |          $infoAfastamento = $this->dom->createElement("infoAfastamento"); | 
| 286 | -        if (! empty($this->std->iniafastamento)) { | |
| 286 | +        if (!empty($this->std->iniafastamento)) { | |
| 287 | 287 |              $iniAfastamento = $this->dom->createElement("iniAfastamento"); | 
| 288 | 288 | $this->dom->addChild( | 
| 289 | 289 | $iniAfastamento, | 
| @@ -300,22 +300,22 @@ discard block | ||
| 300 | 300 | $this->dom->addChild( | 
| 301 | 301 | $iniAfastamento, | 
| 302 | 302 | "infoMesmoMtv", | 
| 303 | - ! empty($this->std->iniafastamento->infomesmomtv) ? $this->std->iniafastamento->infomesmomtv : null, | |
| 303 | + !empty($this->std->iniafastamento->infomesmomtv) ? $this->std->iniafastamento->infomesmomtv : null, | |
| 304 | 304 | false | 
| 305 | 305 | ); | 
| 306 | 306 | $this->dom->addChild( | 
| 307 | 307 | $iniAfastamento, | 
| 308 | 308 | "tpAcidTransito", | 
| 309 | - ! empty($this->std->iniafastamento->tpacidtransito) ? $this->std->iniafastamento->tpacidtransito : null, | |
| 309 | + !empty($this->std->iniafastamento->tpacidtransito) ? $this->std->iniafastamento->tpacidtransito : null, | |
| 310 | 310 | false | 
| 311 | 311 | ); | 
| 312 | 312 | $this->dom->addChild( | 
| 313 | 313 | $iniAfastamento, | 
| 314 | 314 | "observacao", | 
| 315 | - ! empty($this->std->iniafastamento->observacao) ? $this->std->iniafastamento->observacao : null, | |
| 315 | + !empty($this->std->iniafastamento->observacao) ? $this->std->iniafastamento->observacao : null, | |
| 316 | 316 | false | 
| 317 | 317 | ); | 
| 318 | -            if (! empty($this->std->peraquis)) { | |
| 318 | +            if (!empty($this->std->peraquis)) { | |
| 319 | 319 |                  $perAquis = $this->dom->createElement("perAquis"); | 
| 320 | 320 | $this->dom->addChild( | 
| 321 | 321 | $perAquis, | 
| @@ -331,7 +331,7 @@ discard block | ||
| 331 | 331 | ); | 
| 332 | 332 | $iniAfastamento->appendChild($perAquis); | 
| 333 | 333 | } | 
| 334 | -            if (! empty($this->std->infocessao)) { | |
| 334 | +            if (!empty($this->std->infocessao)) { | |
| 335 | 335 |                  $infoCessao = $this->dom->createElement("infoCessao"); | 
| 336 | 336 | $this->dom->addChild( | 
| 337 | 337 | $infoCessao, | 
| @@ -347,7 +347,7 @@ discard block | ||
| 347 | 347 | ); | 
| 348 | 348 | $iniAfastamento->appendChild($infoCessao); | 
| 349 | 349 | } | 
| 350 | -            if (! empty($this->std->infomandsind)) { | |
| 350 | +            if (!empty($this->std->infomandsind)) { | |
| 351 | 351 |                  $infoMandSind = $this->dom->createElement("infoMandSind"); | 
| 352 | 352 | $this->dom->addChild( | 
| 353 | 353 | $infoMandSind, | 
| @@ -363,7 +363,7 @@ discard block | ||
| 363 | 363 | ); | 
| 364 | 364 | $iniAfastamento->appendChild($infoMandSind); | 
| 365 | 365 | } | 
| 366 | -            if (! empty($this->std->infomandelet)) { | |
| 366 | +            if (!empty($this->std->infomandelet)) { | |
| 367 | 367 |                  $infoMandElet = $this->dom->createElement("infoMandElet"); | 
| 368 | 368 | $this->dom->addChild( | 
| 369 | 369 | $infoMandElet, | 
| @@ -381,7 +381,7 @@ discard block | ||
| 381 | 381 | } | 
| 382 | 382 | $infoAfastamento->appendChild($iniAfastamento); | 
| 383 | 383 | } | 
| 384 | -        if (! empty($this->std->inforetif)) { | |
| 384 | +        if (!empty($this->std->inforetif)) { | |
| 385 | 385 |              $infoRetif = $this->dom->createElement("infoRetif"); | 
| 386 | 386 | $this->dom->addChild( | 
| 387 | 387 | $infoRetif, | 
| @@ -398,12 +398,12 @@ discard block | ||
| 398 | 398 | $this->dom->addChild( | 
| 399 | 399 | $infoRetif, | 
| 400 | 400 | "nrProc", | 
| 401 | - ! empty($this->std->inforetif->nrproc) ? $this->std->inforetif->nrproc : null, | |
| 401 | + !empty($this->std->inforetif->nrproc) ? $this->std->inforetif->nrproc : null, | |
| 402 | 402 | false | 
| 403 | 403 | ); | 
| 404 | 404 | $infoAfastamento->appendChild($infoRetif); | 
| 405 | 405 | } | 
| 406 | -        if (! empty($this->std->fimafastamento)) { | |
| 406 | +        if (!empty($this->std->fimafastamento)) { | |
| 407 | 407 |              $fimAfastamento = $this->dom->createElement("fimAfastamento"); | 
| 408 | 408 | $this->dom->addChild( | 
| 409 | 409 | $fimAfastamento, |