From 02057a4baa0d330ee018db8ac41f98de5a3c9d61 Mon Sep 17 00:00:00 2001 From: Florian Schunk Date: Thu, 28 Nov 2019 01:40:00 +0100 Subject: [PATCH] remove debugging output --- src/Index/Index.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Index/Index.php b/src/Index/Index.php index c72e3e3..39e8d70 100644 --- a/src/Index/Index.php +++ b/src/Index/Index.php @@ -187,9 +187,6 @@ class Index implements ReadableIndex, \Serializable public function removeDefinition(string $fqn) { $parts = $this->splitFqn($fqn); - if (empty($parts)) { - throw new \Exception($fqn); - } $this->removeIndexedDefinition(0, $parts, $this->definitions, $this->definitions); unset($this->references[$fqn]);