@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | |
50 | 50 | if ($flag !== $returnCode || $flag !== $resultCode) { |
51 | 51 | throw new GatewayException( |
52 | - 'Wxpay API Error: ' . $result['return_msg'], |
|
52 | + 'Wxpay API Error: '.$result['return_msg'], |
|
53 | 53 | 20000 |
54 | 54 | ); |
55 | 55 | } |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | */ |
185 | 185 | public static function fromXml(string $xml) : array |
186 | 186 | { |
187 | - if (! $xml) { |
|
187 | + if (!$xml) { |
|
188 | 188 | throw new \InvalidArgumentException('Invalid [xml] argument.', 3); |
189 | 189 | } |
190 | 190 | libxml_disable_entity_loader(true); |