Skip to content

Commit 2913972

Browse files
committed
fixed CS
1 parent cfbbcaf commit 2913972

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Crawler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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.');

Test/Constraint/CrawlerSelectorTextContains.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
/**

0 commit comments

Comments
 (0)