Passed
Pull Request — master (#4)
by Igor
04:25
created
src/Parser/DomParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@
 block discarded – undo
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
 
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
@@ -63,8 +63,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.