We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3111b0d + 0cb0d57 commit b787b8fCopy full SHA for b787b8f
1 file changed
src/Expectation.php
@@ -35,7 +35,7 @@ public function __construct(
35
$this->limiter = $limiter;
36
}
37
38
- public function pathIs(string $matcher): Expectation
+ public function pathIs(mixed $matcher): Expectation
39
{
40
$this->appendMatcher($matcher, $this->extractorFactory->createPathExtractor());
41
@@ -49,7 +49,7 @@ public function methodIs(mixed $matcher): Expectation
49
return $this;
50
51
52
- public function queryParamIs(string $param, string $matcher): Expectation
+ public function queryParamIs(string $param, mixed $matcher): Expectation
53
54
$this->appendMatcher($matcher, $this->extractorFactory->createParamExtractor($param));
55
0 commit comments