From b931a4fe6fc0b7b1769bdf84f89ef2b79b5d4f42 Mon Sep 17 00:00:00 2001 From: Irfan Date: Fri, 18 Sep 2020 00:29:06 +0500 Subject: [PATCH] hotfix [ci skip] --- src/Parser/Search/PersonSearchParser.php | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/Parser/Search/PersonSearchParser.php b/src/Parser/Search/PersonSearchParser.php index 09ffcba1..48a7e627 100644 --- a/src/Parser/Search/PersonSearchParser.php +++ b/src/Parser/Search/PersonSearchParser.php @@ -63,15 +63,14 @@ function (Crawler $c) { ); } - if ($this->crawler->filterXPath('//div[@id="content"]/table/tr[1]/td[@class="borderClass"]/a')->count()) { - return $this->crawler - ->filterXPath('//div[@id="content"]/table/tr') - ->each( - function (Crawler $c) { - return (new PersonSearchListItemParser($c))->getModel(); - } - ); - } + return $this->crawler + ->filterXPath('//div[@id="content"]/table/tr') + ->each( + function (Crawler $c) { + return (new PersonSearchListItemParser($c))->getModel(); + } + ); + } /**