diff --git a/phpstan.neon b/phpstan.neon index a4c4883..f34b4dd 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,6 +1,7 @@ parameters: excludes_analyse: - src/Response/Meta/ + - src/Connection/GuzzleConnection.php includes: # Enable Level 7 - vendor/phpstan/phpstan/conf/config.level7.neon diff --git a/src/Client.php b/src/Client.php index 97ba3c2..ac799a2 100644 --- a/src/Client.php +++ b/src/Client.php @@ -6,7 +6,6 @@ use PApi\Connection\ConnectionInterface; use PApi\Connection\CurlConnection; -use PApi\Connection\GuzzleConnection; use PApi\Response\ArrayValuesResponse; use PApi\Response\DataResponse; use PApi\Response\Meta\ArrayValuesResponseMeta; diff --git a/src/Connection/ConnectionInterface.php b/src/Connection/ConnectionInterface.php index 98bcb30..b368932 100644 --- a/src/Connection/ConnectionInterface.php +++ b/src/Connection/ConnectionInterface.php @@ -6,6 +6,9 @@ interface ConnectionInterface { + /** + * @param mixed[] $config + */ public function __construct(array $config); /**