@@ -22,11 +22,8 @@ |
||
22 | 22 | use NFePHP\Common\DOMImproved as Dom; |
23 | 23 | use NFePHP\Common\Strings; |
24 | 24 | use stdClass; |
25 | -use RuntimeException; |
|
26 | -use InvalidArgumentException; |
|
27 | 25 | use DOMElement; |
28 | 26 | use DateTime; |
29 | -use Exception; |
|
30 | 27 | |
31 | 28 | class Make |
32 | 29 | { |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | $this->dom->appChild($this->infMDFe, $this->ide, 'Falta tag "infMDFe"'); |
243 | 243 | $this->dom->appChild($this->emit, $this->enderEmit, 'Falta tag "emit"'); |
244 | 244 | $this->dom->appChild($this->infMDFe, $this->emit, 'Falta tag "infMDFe"'); |
245 | - if (! empty($this->rodo)) { |
|
245 | + if (!empty($this->rodo)) { |
|
246 | 246 | $this->dom->appChild($this->infModal, $this->rodo, 'Falta tag "infModal"'); |
247 | 247 | } |
248 | 248 | if (!empty($this->aquav)) { |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | } |
266 | 266 | $this->dom->appChild($this->infMDFe, $this->infModal, 'Falta tag "infMDFe"'); |
267 | 267 | $this->dom->appChild($this->infMDFe, $this->infDoc, 'Falta tag "infMDFe"'); |
268 | - if (! empty($this->seg)) { |
|
268 | + if (!empty($this->seg)) { |
|
269 | 269 | $this->dom->appChild($this->infMDFe, $this->seg, 'Falta tag "infMDFe"'); |
270 | 270 | } |
271 | 271 | $this->dom->appChild($this->infMDFe, $this->tot, 'Falta tag "infMDFe"'); |
@@ -275,7 +275,7 @@ discard block |
||
275 | 275 | foreach ($this->autXML as $autXML) { |
276 | 276 | $this->dom->appChild($this->infMDFe, $autXML, 'Falta tag "infMDFe"'); |
277 | 277 | } |
278 | - if (! empty($this->infAdic)) { |
|
278 | + if (!empty($this->infAdic)) { |
|
279 | 279 | $this->dom->appChild($this->infMDFe, $this->infAdic, 'Falta tag "infMDFe"'); |
280 | 280 | } |
281 | 281 | $this->dom->appChild($this->MDFe, $this->infMDFe, 'Falta tag "MDFe"'); |
@@ -1199,7 +1199,7 @@ discard block |
||
1199 | 1199 | "Quantidade rateada (Peso,Volume) " |
1200 | 1200 | ); |
1201 | 1201 | |
1202 | - return $infUnidCarga ; |
|
1202 | + return $infUnidCarga; |
|
1203 | 1203 | } |
1204 | 1204 | |
1205 | 1205 | /** |
@@ -2322,10 +2322,10 @@ discard block |
||
2322 | 2322 | |
2323 | 2323 | protected function buildTagIde() |
2324 | 2324 | { |
2325 | - if (! empty($this->aInfMunCarrega)) { |
|
2325 | + if (!empty($this->aInfMunCarrega)) { |
|
2326 | 2326 | $this->dom->addArrayChild($this->ide, $this->aInfMunCarrega); |
2327 | 2327 | } |
2328 | - if (! empty($this->aInfPercurso)) { |
|
2328 | + if (!empty($this->aInfPercurso)) { |
|
2329 | 2329 | $this->dom->addArrayChild($this->ide, $this->aInfPercurso); |
2330 | 2330 | } |
2331 | 2331 | } |