@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | */ |
85 | 85 | public function __toString() |
86 | 86 | { |
87 | - return (string)$this->json; |
|
87 | + return (string) $this->json; |
|
88 | 88 | } |
89 | 89 | |
90 | 90 | /** |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | $resp = simplexml_load_string($xml, null, LIBXML_NOCDATA); |
97 | 97 | $aWS = []; |
98 | 98 | foreach ($resp->children() as $element) { |
99 | - $sigla = (string)$element->sigla; |
|
99 | + $sigla = (string) $element->sigla; |
|
100 | 100 | $aWS[$sigla] = []; |
101 | 101 | if (isset($element->homologacao)) { |
102 | 102 | $aWS[$sigla] += $this->extract($element->homologacao, 'homologacao'); |
@@ -119,11 +119,11 @@ discard block |
||
119 | 119 | { |
120 | 120 | $amb[$environment] = []; |
121 | 121 | foreach ($node->children() as $children) { |
122 | - $name = (string)$children->getName(); |
|
123 | - $method = (string)$children['method']; |
|
124 | - $operation = (string)$children['operation']; |
|
125 | - $version = (string)$children['version']; |
|
126 | - $url = (string)$children[0]; |
|
122 | + $name = (string) $children->getName(); |
|
123 | + $method = (string) $children['method']; |
|
124 | + $operation = (string) $children['operation']; |
|
125 | + $version = (string) $children['version']; |
|
126 | + $url = (string) $children[0]; |
|
127 | 127 | $operations = [ |
128 | 128 | 'method' => $method, |
129 | 129 | 'operation' => $operation, |
@@ -1578,7 +1578,7 @@ |
||
1578 | 1578 | ); |
1579 | 1579 | |
1580 | 1580 | |
1581 | - if (empty($std->infLotacao) and count($this->infCTe)==1) { |
|
1581 | + if (empty($std->infLotacao) and count($this->infCTe) == 1) { |
|
1582 | 1582 | $this->errors[] = "Tag infLotacao é obrigatória quando só existir um Documento informado!"; |
1583 | 1583 | } |
1584 | 1584 |