Completed
Push — master ( 97cd01...b80a2a )
by Gregorio
07:46 queued 05:32
created
src/Transformers/FixValuesTypes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function transform($data)
13 13
     {
14
-        return collect($data)->map(function ($value) {
14
+        return collect($data)->map(function($value) {
15 15
             if (is_numeric($value)) {
16 16
                 $value += 0;
17 17
                 if (is_float($value)) {
Please login to merge, or discard this patch.
src/Messages/Message.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
      */
113 113
     public function pipe($options = [])
114 114
     {
115
-        return function ($inputData) use ($options) {
115
+        return function($inputData) use ($options) {
116 116
             $fromArray = Arr::get($options, 'fromArray', true);
117 117
             if ($fromArray) {
118 118
                 $this->fromArray($inputData);
Please login to merge, or discard this patch.
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.