Messed up getApiKey()
szepeviktor opened this issue · 3 comments
szepeviktor commented
I think wrong getApiKey is called: SearchClient vs. Config/AbstractConfig
------ --------------------------------------------------------------------------------------------------------
Line Response/DeleteApiKeyResponse.php
------ --------------------------------------------------------------------------------------------------------
45 Method Algolia\AlgoliaSearch\Config\AbstractConfig::getApiKey() invoked with 2 parameters, 0 required.
------ --------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------
Line Response/RestoreApiKeyResponse.php
------ --------------------------------------------------------------------------------------------------------
56 Method Algolia\AlgoliaSearch\Config\AbstractConfig::getApiKey() invoked with 2 parameters, 0 required.
------ --------------------------------------------------------------------------------------------------------
Please consider having robust code:
composer require guzzlehttp/guzzle
phpstan analyze -l max -a src/functions.php src/
nunomaduro commented
szepeviktor commented
👂
Thank you!
nunomaduro commented
It's always a pleasure to work with you buddy.