From 3d73147106b12a1576ec52307ea738a83206b880 Mon Sep 17 00:00:00 2001 From: Benedict Date: Fri, 2 Feb 2024 19:44:48 +0100 Subject: [PATCH] Fix wrong if statement in readme (#35) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3b6abc2..1da5816 100644 --- a/README.md +++ b/README.md @@ -335,7 +335,7 @@ class MyWebCrawler implements SubscriberInterface, EscargotAwareInterface } // Skip links that do not belong to our BaseUriCollection - if ($this->escargot->getBaseUris()->containsHost($crawlUri->getUri()->getHost())) { + if (!$this->escargot->getBaseUris()->containsHost($crawlUri->getUri()->getHost())) { return SubscriberInterface::DECISION_NEGATIVE; }