Skip to content

Commit b56ff95

Browse files
committed
Fix parameter type hint for defaults in constructor
1 parent 96ec827 commit b56ff95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/MatomoApiClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class MatomoApiClient implements MatomoApiClientInterface, DefaultsAwareInterfac
4747
* Initializes the client with the API endpoint, default parameters, and optional HTTP client.
4848
*
4949
* @param UriInterface $uri The Matomo API endpoint URL.
50-
* @param array<string,string> $defaults Default Matomo API request parameters.
50+
* @param array<string,mixed> $defaults Default Matomo API request parameters.
5151
* @param Log\LoggerInterface|null $logger Optional PSR-3 Logger (defaults to NullLogger).
5252
* @param ClientInterface|null $httpClient Optional PSR-18 client (defaults to Guzzle).
5353
* @param RequestFactoryInterface|null $requestFactory Optional PSR-17 Request factory (defaults to Guzzle).

0 commit comments

Comments
 (0)