diff --git a/library/Web/WebClassDoc.php b/library/Web/WebClassDoc.php index cf8f1d92..ca3d4271 100644 --- a/library/Web/WebClassDoc.php +++ b/library/Web/WebClassDoc.php @@ -84,10 +84,10 @@ class WebClassDoc private function parseTypes() { $typesElement = array(); - if (count($this->classmap)>0) + if (count($this->classmap)>0) { - foreach ($this->classmap as $className) + foreach ($this->classmap as $className) { $class = new ReflectionClass($className); $paramsElement = array(); @@ -106,8 +106,8 @@ class WebClassDoc $docBlock = preg_replace('/\n/', '', $property->getDocComment() ); if (preg_match('/\/\*\*(.+) \* @var\s+[^\s]+\s+(?:\*|@)/m', $docBlock, $docBlockMatches)) { $comment.= preg_replace( - array('/\r/', '/\t\s\*/'), - array('', ''), $docBlockMatches[1] + array('/\r/', '/\*/' ), + array('' , ''), $docBlockMatches[1] ); }