@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | |
38 | 38 | if ($code !== 'SUCCESS') { |
39 | 39 | throw new GatewayException( |
40 | - 'Wechat API Error: ' . $result['return_msg'], |
|
40 | + 'Wechat API Error: '.$result['return_msg'], |
|
41 | 41 | 20000 |
42 | 42 | ); |
43 | 43 | } |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | */ |
143 | 143 | public static function fromXml(string $xml) : array |
144 | 144 | { |
145 | - if (! $xml) { |
|
145 | + if (!$xml) { |
|
146 | 146 | throw new \InvalidArgumentException('Invalid [xml] argument.', 3); |
147 | 147 | } |
148 | 148 | libxml_disable_entity_loader(true); |