Completed
Push — master ( 30a664...27c677 )
by Alexei
02:14
created
src/PleskX/Api/Client.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     /**
95 95
      * Retrieve name of the protocol (http or https) used for communication
96 96
      *
97
-     * @return int
97
+     * @return string
98 98
      */
99 99
     public function getProtocol()
100 100
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     {
112 112
         $protocolVersion = !is_null($version) ? $version : $this->_version;
113 113
         $content = "<?xml version='1.0' encoding='UTF-8' ?>";
114
-        $content .= "<packet" . ("" === $protocolVersion ? "" : " version='$protocolVersion'") . "/>";
114
+        $content .= "<packet".("" === $protocolVersion ? "" : " version='$protocolVersion'")."/>";
115 115
         return new SimpleXMLElement($content);
116 116
     }
117 117
 
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
     protected function _getOperator($name)
334 334
     {
335 335
         if (!isset($this->_operatorsCache[$name])) {
336
-            $className = '\\PleskX\\Api\\Operator\\' . $name;
336
+            $className = '\\PleskX\\Api\\Operator\\'.$name;
337 337
             $this->_operatorsCache[$name] = new $className($this);
338 338
         }
339 339
 
Please login to merge, or discard this patch.