Closed pupitooo closed 4 years ago
In documentation of Dispute::search() is using of search in this format (accepts array):
array
$collection = $gateway->dispute()->search([ Braintree\DisputeSearch::id()->is('dispute_id') ]);
but DisputeGateway.php accepts (by phpDoc) DisputeSearch only: https://github.com/braintree/braintree_php/blob/f32fece534cce96cdbe9c0c6bd5af12469333900/lib/Braintree/DisputeGateway.php#L245
DisputeGateway.php
DisputeSearch
Can you fix this?
Good catch. Would you like to open a PR to fix it?
In documentation of Dispute::search() is using of search in this format (accepts
array
):but
DisputeGateway.php
accepts (by phpDoc)DisputeSearch
only: https://github.com/braintree/braintree_php/blob/f32fece534cce96cdbe9c0c6bd5af12469333900/lib/Braintree/DisputeGateway.php#L245Can you fix this?