mirror of
https://github.com/danog/phpdoc.git
synced 2024-11-26 12:04:47 +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