@@ -20,13 +20,13 @@ |
||
20 | 20 | public static function digestComparisonFailed() |
21 | 21 | { |
22 | 22 | return new static('O conteúdo do XML não corresponde ao Digest Value. ' |
23 | - . 'Provavelmente foi alterado após ter sido assinado'); |
|
23 | + . 'Provavelmente foi alterado após ter sido assinado'); |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | public static function signatureComparisonFailed() |
27 | 27 | { |
28 | 28 | return new static('A assinatura do XML não combina. ' |
29 | - . 'O conteúdo provavelmente foi alterado após ter sido assinado.'); |
|
29 | + . 'O conteúdo provavelmente foi alterado após ter sido assinado.'); |
|
30 | 30 | } |
31 | 31 | |
32 | 32 |
@@ -17,9 +17,9 @@ |
||
17 | 17 | { |
18 | 18 | $msg = ''; |
19 | 19 | foreach ($errors as $error) { |
20 | - $msg .= $error."\n"; |
|
20 | + $msg .= $error . "\n"; |
|
21 | 21 | } |
22 | - return new static('Este XML não é válido. '.$msg); |
|
22 | + return new static('Este XML não é válido. ' . $msg); |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | public static function isNotXml() |
@@ -151,7 +151,7 @@ |
||
151 | 151 | */ |
152 | 152 | private function getCodeMessage($code) |
153 | 153 | { |
154 | - $codes = json_decode(file_get_contents(__DIR__.'/httpcodes.json'), true); |
|
154 | + $codes = json_decode(file_get_contents(__DIR__ . '/httpcodes.json'), true); |
|
155 | 155 | if (!empty($codes[$code])) { |
156 | 156 | return $codes[$code]['description']; |
157 | 157 | } |