pact-foundation / pact-php

PHP version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project
Apache License 2.0
271 stars 92 forks source link

chore: Fix wrong type #578

Closed tienvx closed 4 months ago

tienvx commented 4 months ago

Fix this error:

  40     Parameter #1 $status of method                                        
         PhpPact\Consumer\Model\ProviderResponse::setStatus() expects          
         int|PhpPact\Consumer\Matcher\Model\MatcherInterface, string given.

For https://github.com/pact-foundation/pact-php/pull/564