Passed
Branch master (8fa162)
by Igor
02:36
created
Category
src/Parser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
              * @var Dom\HtmlNode[]|\PHPHtmlParser\Dom\Collection $tds
76 76
              */
77 77
             $tds = $node->find('td');
78
-            $tds = array_filter($tds->toArray(), static function (Dom\HtmlNode $node) {
78
+            $tds = array_filter($tds->toArray(), static function(Dom\HtmlNode $node) {
79 79
                 return $node->outerHtml() !== '' && $node->getAttribute('class') !== 'empty';
80 80
             });
81 81
             $data[] = (new Lawyer())
Please login to merge, or discard this patch.
src/Service.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,8 +44,7 @@
 block discarded – undo
44 44
             $endPage = $endPage < $findResponse->getTotalPage() ? $endPage : $findResponse->getTotalPage();
45 45
             $findRequest->setOffset($i * $findRequest->getMax());
46 46
             yield from $findRequest->isFullData() ?
47
-                $this->find($findRequest)->getFullElements() :
48
-                $this->find($findRequest)->getElements();
47
+                $this->find($findRequest)->getFullElements() : $this->find($findRequest)->getElements();
49 48
         }
50 49
     }
51 50
 
Please login to merge, or discard this patch.