Test Failed
Branch dev-master (287e12)
by Petr
04:06
created
src/Core/Request.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      * @method buildBasePayload
30 30
      * @author PA
31 31
      * @date   2017-01-09
32
-     * @return SimpleXMLElement  XML Envelope with necessary credential parameters
32
+     * @return \SimpleXMLElement  XML Envelope with necessary credential parameters
33 33
      */
34 34
     public function buildBasePayload() : \SimpleXMLElement
35 35
     {
@@ -107,8 +107,8 @@  discard block
 block discarded – undo
107 107
      * @method sxmlAppend
108 108
      * @author PA
109 109
      * @date   2017-01-09
110
-     * @param  SimpleXMLElement $to
111
-     * @param  SimpleXMLElement $from
110
+     * @param  \SimpleXMLElement $to
111
+     * @param  \SimpleXMLElement $from
112 112
      */
113 113
     private function sxmlAppend(\SimpleXMLElement $to, \SimpleXMLElement $from)  {
114 114
         $toDom = dom_import_simplexml($to);
Please login to merge, or discard this 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.