@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | * Canonical conversion options |
| 98 | 98 | * @var array |
| 99 | 99 | */ |
| 100 | - protected $canonical = [true,false,null,null]; |
|
| 100 | + protected $canonical = [true, false, null, null]; |
|
| 101 | 101 | /** |
| 102 | 102 | * Model of NFe 55 or 65 |
| 103 | 103 | * @var int |
@@ -299,8 +299,8 @@ discard block |
||
| 299 | 299 | $this->versao = $version; |
| 300 | 300 | $this->config->schemes = $this->availableVersions[$version]; |
| 301 | 301 | $this->pathschemes = realpath( |
| 302 | - __DIR__ . '/../../schemes/'. $this->config->schemes |
|
| 303 | - ).'/'; |
|
| 302 | + __DIR__ . '/../../schemes/' . $this->config->schemes |
|
| 303 | + ) . '/'; |
|
| 304 | 304 | |
| 305 | 305 | return $this->versao; |
| 306 | 306 | } |
@@ -400,7 +400,7 @@ discard block |
||
| 400 | 400 | */ |
| 401 | 401 | protected function isValid($version, $body, $method) |
| 402 | 402 | { |
| 403 | - $schema = $this->pathschemes.$method."_v$version.xsd"; |
|
| 403 | + $schema = $this->pathschemes . $method . "_v$version.xsd"; |
|
| 404 | 404 | if (!is_file($schema)) { |
| 405 | 405 | return true; |
| 406 | 406 | } |
@@ -547,7 +547,7 @@ discard block |
||
| 547 | 547 | } |
| 548 | 548 | |
| 549 | 549 | $path = $this->pathwsfiles . $file; |
| 550 | - if (! file_exists($path)) { |
|
| 550 | + if (!file_exists($path)) { |
|
| 551 | 551 | return ''; |
| 552 | 552 | } |
| 553 | 553 | return file_get_contents($path); |