Passed
Push — master ( d6b66a...646d2e )
by i
03:38
created
src/Wechat/Traits/RequestTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.