mirror of
https://github.com/danog/phpdoc.git
synced 2024-11-30 04:29:12 +01:00
Small bugfix
This commit is contained in:
parent
481a2a1359
commit
74b9513a71
@ -474,7 +474,7 @@ class PhpDoc
|
||||
*/
|
||||
public function shouldIgnore(string $class): bool
|
||||
{
|
||||
return !($this->ignore)($class);
|
||||
return $this->ignore ? !($this->ignore)($class) : false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user