Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
oqq committed Jan 6, 2021
1 parent 7533067 commit 59ad099
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Generator/PactFileGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ private function patchMatchingRules(MatchingRules $matchingRules): \Generator
{
/** @var MatchingRule $matchingRule */
foreach ($matchingRules as $path => $matchingRule) {
yield $path => $this->pathMatchingRule($matchingRule);
yield $path => $this->patchMatchingRule($matchingRule);
}
}

private function pathMatchingRule(MatchingRule $matchingRule): array
private function patchMatchingRule(MatchingRule $matchingRule): array
{
return [
'combine' => $matchingRule->combine(),
Expand Down

0 comments on commit 59ad099

Please sign in to comment.