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 types #571

Closed tienvx closed 4 months ago

tienvx commented 4 months ago

Fix these errors:

Parameter #2 $value of class PhpPact\Consumer\Matcher\Matchers\StatusCode constructor expects int|null,
         string|null given.
Parameter #2 $actualJson of method PHPUnit\Framework\Assert::assertJsonStringEqualsJsonString() expects string,  
         string|false given.

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