@@ -187,7 +187,7 @@ |
||
| 187 | 187 | */ |
| 188 | 188 | $nodes = $dom->find(static::LAWYER_DETAIL_SELECTOR)->toArray(); |
| 189 | 189 | |
| 190 | - $nodes = array_filter($nodes, static function (HtmlNode $htmlNode) { |
|
| 190 | + $nodes = array_filter($nodes, static function(HtmlNode $htmlNode) { |
|
| 191 | 191 | return strpos($htmlNode->getAttribute('class'), static::LAWYER_DETAIL_NAME_FIELD) === false; |
| 192 | 192 | }); |
| 193 | 193 | |
@@ -63,8 +63,7 @@ |
||
| 63 | 63 | $endPage = $endPage < $findResponse->getTotalPage() ? $endPage : $findResponse->getTotalPage(); |
| 64 | 64 | $findRequest->setPage($i); |
| 65 | 65 | yield from $findRequest->isFullData() ? |
| 66 | - $this->find($findRequest)->getDetailLawyers() : |
|
| 67 | - $this->find($findRequest)->getLawyers(); |
|
| 66 | + $this->find($findRequest)->getDetailLawyers() : $this->find($findRequest)->getLawyers(); |
|
| 68 | 67 | } |
| 69 | 68 | } |
| 70 | 69 | |