update auth for php to skip empty apikey/username,password

This commit is contained in:
wing328
2015-11-22 18:35:45 +08:00
parent c6021da8a1
commit e11a3d468e
5 changed files with 43 additions and 23 deletions

View File

@@ -69,7 +69,7 @@ class ApiClient
* Constructor of the class
* @param Configuration $config config for this ApiClient
*/
function __construct(Configuration $config = null)
public function __construct(Configuration $config = null)
{
if ($config == null) {
$config = Configuration::getDefaultConfiguration();