@@ -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 | } |