We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 325291f + 9773565 commit 403b354Copy full SHA for 403b354
src/Collection.php
@@ -67,11 +67,11 @@ final class Collection implements \Iterator, \Countable
67
/**
68
* Create a new collection
69
*
70
- * @param Client $client client connection to the API
+ * @param ClientInterface $client client connection to the API
71
* @param string $resource name of API resource to request
72
* @param array $filters key value pair array of search filters
73
*/
74
- public function __construct(Client $client, $resource, array $filters = [])
+ public function __construct(ClientInterface $client, $resource, array $filters = [])
75
{
76
Util::throwIfNotType(['string' => [$resource]], true);
77
0 commit comments