Test Failed
Branch dev-master (287e12)
by Petr
04:06
created
src/Core/Request.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -67,10 +67,10 @@  discard block
 block discarded – undo
67 67
     {
68 68
 
69 69
         $call = new \SimpleXMLElement('<Call></Call>');
70
-        $call->addAttribute('method',$method);
70
+        $call->addAttribute('method', $method);
71 71
 
72 72
         foreach ($arguments as $key => $value) {
73
-            $call->addChild($key,$value);
73
+            $call->addChild($key, $value);
74 74
         }
75 75
 
76 76
         return $call;
@@ -79,9 +79,9 @@  discard block
 block discarded – undo
79 79
     public function buildXMLPayload(string $method, array $arguments) : \SimpleXMLElement
80 80
     {
81 81
         $xml = $this->buildBasePayload();
82
-        $callPayload = $this->createCallPayload($method,$arguments);
82
+        $callPayload = $this->createCallPayload($method, $arguments);
83 83
 
84
-        $this->sxmlAppend($xml,$callPayload);
84
+        $this->sxmlAppend($xml, $callPayload);
85 85
 
86 86
         return $xml;
87 87
     }
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      * @param  SimpleXMLElement $to
111 111
      * @param  SimpleXMLElement $from
112 112
      */
113
-    private function sxmlAppend(\SimpleXMLElement $to, \SimpleXMLElement $from)  {
113
+    private function sxmlAppend(\SimpleXMLElement $to, \SimpleXMLElement $from) {
114 114
         $toDom = dom_import_simplexml($to);
115 115
         $fromDom = dom_import_simplexml($from);
116 116
         $toDom->appendChild($toDom->ownerDocument->importNode($fromDom, true));
Please login to merge, or discard this patch.