Update docdown to correctly detect _.noop as a function. [ci skip]

This commit is contained in:
John-David Dalton
2013-11-12 00:21:29 -08:00
parent 8dedc6d3dc
commit 8153f97899
2 changed files with 22 additions and 21 deletions

View File

@@ -77,7 +77,8 @@ class Entry {
$this->isCtor() ||
count($this->getParams()) ||
count($this->getReturns()) ||
preg_match('/\*[\t ]*@function\b/', $this->entry)
preg_match('/\*[\t ]*@function\b/', $this->entry) ||
preg_match('#\*/\s*function #', $this->entry)
);
}
return $this->_isFunction;