Passed
Push — master ( f35986...76663d )
by Igor
04:08
created
src/Parser/DomParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
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())
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
@@ -61,8 +61,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
tests/Unit/ServiceTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.