Completed
Push — master ( 3493ed...ec75e7 )
by Oscar
04:44 queued 02:34
created
src/Validators/Html.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     {
95 95
         $result = $this->getResult();
96 96
 
97
-        return array_filter($result['messages'], function ($message) {
97
+        return array_filter($result['messages'], function($message) {
98 98
             return $message['type'] === 'error';
99 99
         });
100 100
     }
Please login to merge, or discard this patch.
src/Assert/Html.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      */
88 88
     public function hasElementWithText($selector, $text, $message = '')
89 89
     {
90
-        $texts = $this->html->filter($selector)->each(function ($node) {
90
+        $texts = $this->html->filter($selector)->each(function($node) {
91 91
             return trim($node->text());
92 92
         });
93 93
 
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      */
108 108
     public function hasNotElementWithText($selector, $text, $message = '')
109 109
     {
110
-        $texts = $this->html->filter($selector)->each(function ($node) {
110
+        $texts = $this->html->filter($selector)->each(function($node) {
111 111
             return trim($node->text());
112 112
         });
113 113
 
Please login to merge, or discard this patch.