@@ -57,7 +57,7 @@ |
||
57 | 57 | * @var Dom\HtmlNode[]|Collection $tds |
58 | 58 | */ |
59 | 59 | $tds = $node->find('td'); |
60 | - $tds = array_filter($tds->toArray(), static function (HtmlNode $node) { |
|
60 | + $tds = array_filter($tds->toArray(), static function(HtmlNode $node) { |
|
61 | 61 | return $node->outerHtml() !== '' && $node->getAttribute('class') !== 'empty'; |
62 | 62 | }); |
63 | 63 | $data[] = (new Lawyer()) |
@@ -61,8 +61,7 @@ |
||
61 | 61 | $endPage = $endPage < $findResponse->getTotalPage() ? $endPage : $findResponse->getTotalPage(); |
62 | 62 | $findRequest->setOffset($i * $findRequest->getMax()); |
63 | 63 | yield from $findRequest->isFullData() ? |
64 | - $this->find($findRequest)->getDetailLawyers() : |
|
65 | - $this->find($findRequest)->getLawyers(); |
|
64 | + $this->find($findRequest)->getDetailLawyers() : $this->find($findRequest)->getLawyers(); |
|
66 | 65 | } |
67 | 66 | } |
68 | 67 |
@@ -55,7 +55,7 @@ |
||
55 | 55 | { |
56 | 56 | $request = new FindRequest(); |
57 | 57 | |
58 | - $fn = static function () { |
|
58 | + $fn = static function() { |
|
59 | 59 | yield 1; |
60 | 60 | }; |
61 | 61 |