Fix: php_2_xmlrpc_type is not a public function anymore
[plcapi.git] / src / Wrapper.php
index 71abda5..0b7663c 100644 (file)
@@ -274,7 +274,7 @@ class Wrapper
                         // syntax: @return type desc
                         //$returns = preg_split('/\s+/', $doc);
                         if (preg_match('/@return\s+(\S+)\s+(.+)/', $doc, $matches)) {
-                            $returns = php_2_xmlrpc_type($matches[1]);
+                            $returns = $this->php_2_xmlrpc_type($matches[1]);
                             if (isset($matches[2])) {
                                 $returnsDocs = $matches[2];
                             }