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: Assert variable is string #581

Closed tienvx closed 4 months ago

tienvx commented 4 months ago

Fix these errors:

  22     Parameter #1 $string of function strlen expects string, string|false given.     
  24     Parameter #1 $contents of static method                                         
         PhpPact\FFI\Model\BinaryData::createFrom() expects string, string|false given.

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