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 */)
566566 {
567567 if (!$ this ->nodes ) {
568568 if (0 < \func_num_args ()) {
569- return \ func_get_arg (0 );
569+ return func_get_arg (0 );
570570 }
571571
572572 throw new \InvalidArgumentException ('The current node list is empty. ' );
@@ -588,7 +588,7 @@ public function html(/* $default = null */)
588588 {
589589 if (!$ this ->nodes ) {
590590 if (0 < \func_num_args ()) {
591- return \ func_get_arg (0 );
591+ return func_get_arg (0 );
592592 }
593593
594594 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
4545 return false ;
4646 }
4747
48- return false !== \ mb_strpos ($ crawler ->text (), $ this ->expectedText );
48+ return false !== mb_strpos ($ crawler ->text (), $ this ->expectedText );
4949 }
5050
5151 /**
You can’t perform that action at this time.
0 commit comments