Completed
Push — master ( 97cd01...b80a2a )
by Gregorio
07:46 queued 05:32
created
src/Messages/HtmlElements.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     {
34 34
         $crawler = new Crawler((string) $this->getData());
35 35
 
36
-        return $crawler->filter($this->getConfig()['selector'])->each(function ($element) {
36
+        return $crawler->filter($this->getConfig()['selector'])->each(function($element) {
37 37
             /* @var Crawler $element */
38 38
             return $this->domNodeToArray($element->getNode(0));
39 39
         });
Please login to merge, or discard this patch.
src/Messages/HtmlDataTables.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,14 +39,14 @@
 block discarded – undo
39 39
     {
40 40
         $crawler = new Crawler((string) $this->getData());
41 41
 
42
-        return $crawler->filter($this->getConfig()['selector'])->each(function ($table) {
42
+        return $crawler->filter($this->getConfig()['selector'])->each(function($table) {
43 43
             $rows = [];
44 44
 
45 45
             try {
46 46
                 /** @var Crawler $table */
47
-                $rows = $table->filter('tr')->each(function ($row) {
47
+                $rows = $table->filter('tr')->each(function($row) {
48 48
                     /* @var Crawler $row */
49
-                    return $row->filter('th,td')->each(function ($column) {
49
+                    return $row->filter('th,td')->each(function($column) {
50 50
                         /* @var Crawler $column */
51 51
                         return trim($column->text());
52 52
                     });
Please login to merge, or discard this patch.