Completed
Push — master ( 8ff95d...7009b3 )
by Dominik
03:25
created
src/Message/XmlRequest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -82,8 +82,8 @@  discard block
 block discarded – undo
82 82
      */
83 83
     protected function getRequestXml()
84 84
     {
85
-        $serviceXmlNode = "<" . $this->getServiceName() . "/>";
86
-        $xml = new \SimpleXMLElement('<?xml version="1.0" encoding="UTF-8"?>' . $serviceXmlNode);
85
+        $serviceXmlNode = "<".$this->getServiceName()."/>";
86
+        $xml = new \SimpleXMLElement('<?xml version="1.0" encoding="UTF-8"?>'.$serviceXmlNode);
87 87
         $xml->addAttribute('version', $this->getServiceVersion());
88 88
 
89 89
         $bodyChild = $xml->addChild('body');
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
             throw new InvalidResponseException('Error communicating with payment gateway');
176 176
         } catch (\Exception $e) {
177 177
             throw new InvalidResponseException(
178
-                'Error communicating with payment gateway: ' . $e->getMessage(),
178
+                'Error communicating with payment gateway: '.$e->getMessage(),
179 179
                 $e->getCode()
180 180
             );
181 181
         }
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
     protected function getEndpoint()
198 198
     {
199 199
         $base = $this->getTestMode() ? $this->getApiBaseTestUrl() : $this->getApiBaseProdUrl();
200
-        return $base . '/' . $this->getApiEndpoint();
200
+        return $base.'/'.$this->getApiEndpoint();
201 201
     }
202 202
 
203 203
     /**
Please login to merge, or discard this patch.