Completed
Pull Request — master (#143)
by Roberto
06:08
created
src/Factories/EvtAfastTemp.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
         $this->dom->addChild(
141 141
             $ideVinculo,
142 142
             "codCateg",
143
-            ! empty($this->std->idevinculo->codcateg) ? $this->std->idevinculo->codcateg : null,
143
+            !empty($this->std->idevinculo->codcateg) ? $this->std->idevinculo->codcateg : null,
144 144
             false
145 145
         );
146 146
         $this->node->appendChild($ideVinculo);
@@ -166,21 +166,21 @@  discard block
 block discarded – undo
166 166
         $this->dom->addChild(
167 167
             $iniAfastamento,
168 168
             "infoMesmoMtv",
169
-            ! empty($this->std->iniafastamento->infomesmomtv) ? $this->std->iniafastamento->infomesmomtv : null,
169
+            !empty($this->std->iniafastamento->infomesmomtv) ? $this->std->iniafastamento->infomesmomtv : null,
170 170
             false
171 171
         );
172 172
 
173 173
         $this->dom->addChild(
174 174
             $iniAfastamento,
175 175
             "tpAcidTransito",
176
-            ! empty($this->std->iniafastamento->tpacidtransito) ? $this->std->iniafastamento->tpacidtransito : null,
176
+            !empty($this->std->iniafastamento->tpacidtransito) ? $this->std->iniafastamento->tpacidtransito : null,
177 177
             false
178 178
         );
179 179
 
180 180
         $this->dom->addChild(
181 181
             $iniAfastamento,
182 182
             "observacao",
183
-            ! empty($this->std->iniafastamento->observacao) ? $this->std->iniafastamento->observacao : null,
183
+            !empty($this->std->iniafastamento->observacao) ? $this->std->iniafastamento->observacao : null,
184 184
             false
185 185
         );
186 186
 
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
                 $this->dom->addChild(
192 192
                     $infoAtestado,
193 193
                     "codCID",
194
-                    ! empty($info->codcid) ? $info->codcid : null,
194
+                    !empty($info->codcid) ? $info->codcid : null,
195 195
                     false
196 196
                 );
197 197
 
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
                     $this->dom->addChild(
230 230
                         $emitente,
231 231
                         "ufOC",
232
-                        ! empty($info->emitente->ufoc) ? $info->emitente->ufoc : null,
232
+                        !empty($info->emitente->ufoc) ? $info->emitente->ufoc : null,
233 233
                         false
234 234
                     );
235 235
 
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
             }
241 241
         }
242 242
 
243
-        if (! empty($this->std->infocessao)) {
243
+        if (!empty($this->std->infocessao)) {
244 244
             $infoCessao = $this->dom->createElement("infoCessao");
245 245
 
246 246
             $this->dom->addChild(
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
             $iniAfastamento->appendChild($infoCessao);
261 261
         }
262 262
 
263
-        if (! empty($this->std->infomandsind)) {
263
+        if (!empty($this->std->infomandsind)) {
264 264
             $infoMandSind = $this->dom->createElement("infoMandSind");
265 265
 
266 266
             $this->dom->addChild(
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
 
283 283
         $infoAfastamento->appendChild($iniAfastamento);
284 284
 
285
-        if (! empty($this->std->inforetif)) {
285
+        if (!empty($this->std->inforetif)) {
286 286
             $infoRetif = $this->dom->createElement("infoRetif");
287 287
 
288 288
             $this->dom->addChild(
@@ -302,14 +302,14 @@  discard block
 block discarded – undo
302 302
             $this->dom->addChild(
303 303
                 $infoRetif,
304 304
                 "nrProc",
305
-                ! empty($this->std->inforetif->nrproc) ? $this->std->inforetif->nrproc : null,
305
+                !empty($this->std->inforetif->nrproc) ? $this->std->inforetif->nrproc : null,
306 306
                 false
307 307
             );
308 308
 
309 309
             $infoAfastamento->appendChild($infoRetif);
310 310
         }
311 311
 
312
-        if (! empty($this->std->fimafastamento)) {
312
+        if (!empty($this->std->fimafastamento)) {
313 313
             $fimAfastamento = $this->dom->createElement("fimAfastamento");
314 314
             $this->dom->addChild(
315 315
                 $fimAfastamento,
Please login to merge, or discard this patch.