File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -566,7 +566,7 @@ public function text(/* $default = null */)
566
566
{
567
567
if (!$ this ->nodes ) {
568
568
if (0 < \func_num_args ()) {
569
- return \ func_get_arg (0 );
569
+ return func_get_arg (0 );
570
570
}
571
571
572
572
throw new \InvalidArgumentException ('The current node list is empty. ' );
@@ -588,7 +588,7 @@ public function html(/* $default = null */)
588
588
{
589
589
if (!$ this ->nodes ) {
590
590
if (0 < \func_num_args ()) {
591
- return \ func_get_arg (0 );
591
+ return func_get_arg (0 );
592
592
}
593
593
594
594
throw new \InvalidArgumentException ('The current node list is empty. ' );
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ protected function matches($crawler): bool
45
45
return false ;
46
46
}
47
47
48
- return false !== \ mb_strpos ($ crawler ->text (), $ this ->expectedText );
48
+ return false !== mb_strpos ($ crawler ->text (), $ this ->expectedText );
49
49
}
50
50
51
51
/**
You can’t perform that action at this time.
0 commit comments