mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47:49 +00:00
Update docdown to correctly detect _.noop as a function. [ci skip]
This commit is contained in:
3
vendor/docdown/src/DocDown/Entry.php
vendored
3
vendor/docdown/src/DocDown/Entry.php
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user