Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Add default empty config value for Client::buildClient #32

Closed
wants to merge 1 commit into from
Closed

Add default empty config value for Client::buildClient #32

wants to merge 1 commit into from

Conversation

dmytro-pro
Copy link

There is an issue when we create new Client object with no parameters: constructor calls Client::buildClient method without params too, and it fails because it has one required parameter. It may be walked around by using Client::createWithConfig method with an empty config, but it will be cool if it will work natural way with constructor too

There is an issue when we create new Client object with no parameters: constructor calls Client::buildClient method without params too, and it fails because it has one required parameter. It may be walked around by using Client::createWithConfig method with an empty config, but it will be cool if it will work natural way with constructor too
@dbu
Copy link
Contributor

dbu commented May 10, 2016

uups. sorry, thanks for spotting. i fixed this in 594cd47 (cs says to use [] instead of array() - we require at least php 5.5 that knows the short array syntax)

i will release 1.1.1 as soon as i see the build running through.

@dbu dbu closed this May 10, 2016
@sagikazarmark
Copy link
Member

Good catch, thanks and sorry for the trouble.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants