Skip to content

Commit b787b8f

Browse files
authored
Merge pull request #104 from LinioPay/fix/datatypes
fix: update matcher param type
2 parents 3111b0d + 0cb0d57 commit b787b8f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Expectation.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __construct(
3535
$this->limiter = $limiter;
3636
}
3737

38-
public function pathIs(string $matcher): Expectation
38+
public function pathIs(mixed $matcher): Expectation
3939
{
4040
$this->appendMatcher($matcher, $this->extractorFactory->createPathExtractor());
4141

@@ -49,7 +49,7 @@ public function methodIs(mixed $matcher): Expectation
4949
return $this;
5050
}
5151

52-
public function queryParamIs(string $param, string $matcher): Expectation
52+
public function queryParamIs(string $param, mixed $matcher): Expectation
5353
{
5454
$this->appendMatcher($matcher, $this->extractorFactory->createParamExtractor($param));
5555

0 commit comments

Comments
 (0)