From 74b9513a713b8798bd748bc78aa1f128cea0e45a Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 15 Oct 2020 18:38:00 +0200 Subject: [PATCH] Small bugfix --- src/PhpDoc/PhpDoc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpDoc/PhpDoc.php b/src/PhpDoc/PhpDoc.php index 69e8ef4..c33ae7f 100644 --- a/src/PhpDoc/PhpDoc.php +++ b/src/PhpDoc/PhpDoc.php @@ -474,7 +474,7 @@ class PhpDoc */ public function shouldIgnore(string $class): bool { - return !($this->ignore)($class); + return $this->ignore ? !($this->ignore)($class) : false; } /**