Lorenzo Breme - 2011-07-19 15:06:31
Hi,
I discovered a bug in the file PHPParser.php. When the parseFile() function parses every single line of your class code for building the wsdl file, it skips a few function comments and puts generic xsd:anytype parameter in the wsdl file.
I resolved that with the follow code (lines from 420 to 423):
417: $this->currentMethodType = $token[1] ? $token[1] : "public";
418: $this->currentMethod = $this->currentParams = null;
419: $token = $this->getNextToken();
420: if ($token[0] == T_DOC_COMMENT) {
421: $this->getPrevToken();
422: continue;
423: }