1
0
mirror of https://github.com/danog/phpdoc.git synced 2024-11-26 12:04:47 +01:00

Small bugfix

This commit is contained in:
Daniil Gentili 2020-10-15 18:38:00 +02:00
parent 481a2a1359
commit 74b9513a71
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -474,7 +474,7 @@ class PhpDoc
*/
public function shouldIgnore(string $class): bool
{
return !($this->ignore)($class);
return $this->ignore ? !($this->ignore)($class) : false;
}
/**