Completed
Push — master ( 5c76e6...b6ee5b )
by Oscar
03:07
created
src/Utils/Exporter.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 class Exporter
13 13
 {
14 14
     /**
15
-     * @param string $expected
16 15
      */
17 16
     public function export($value)
18 17
     {
Please login to merge, or discard this patch.
src/Html/Contains.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,11 +16,11 @@
 block discarded – undo
16 16
 
17 17
     protected function runMatches(Crawler $html)
18 18
     {
19
-        $texts = $html->filter($this->key)->each(function ($node) {
19
+        $texts = $html->filter($this->key)->each(function($node) {
20 20
             return trim($node->text());
21 21
         });
22 22
 
23
-        return array_filter($texts, function ($value) {
23
+        return array_filter($texts, function($value) {
24 24
             return strpos($value, $this->expected) !== false;
25 25
         });
26 26
     }
Please login to merge, or discard this patch.
src/Html/IsValid.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
             throw new RuntimeException('Invalid validation method');
32 32
         }
33 33
 
34
-        $this->errors = array_filter($result['messages'], function ($message) {
34
+        $this->errors = array_filter($result['messages'], function($message) {
35 35
             return $message['type'] === 'error';
36 36
         });
37 37
 
Please login to merge, or discard this patch.
src/Html/NotContains.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,11 +16,11 @@
 block discarded – undo
16 16
 
17 17
     protected function runMatches(Crawler $html)
18 18
     {
19
-        $texts = $html->filter($this->key)->each(function ($node) {
19
+        $texts = $html->filter($this->key)->each(function($node) {
20 20
             return trim($node->text());
21 21
         });
22 22
 
23
-        return count(array_filter($texts, function ($value) {
23
+        return count(array_filter($texts, function($value) {
24 24
             return strpos($value, $this->expected) !== false;
25 25
         })) === 0;
26 26
     }
Please login to merge, or discard this patch.