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
273 stars 92 forks source link

chore: Specify type of array #572

Closed tienvx closed 5 months ago

tienvx commented 5 months ago

Fix these errors:

Method PhpPactTest\SomeTest::testSomething() has         
         parameter $data with no value type specified in iterable type array.
Method                                                                                      
         PhpPactTest\SomeTest::someProvider()              
         return type has no value type specified in iterable type array.
Property                                                                              
         PhpPactTest\SomeTest::$something type         
         has no value type specified in iterable type array.

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