Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: add ListCondition - expect an array #11

Closed
michaelnguyen2021 opened this issue Feb 24, 2015 · 1 comment
Closed

Error: add ListCondition - expect an array #11

michaelnguyen2021 opened this issue Feb 24, 2015 · 1 comment
Assignees
Milestone

Comments

@michaelnguyen2021
Copy link

http://gomoob.github.io/php-pushwoosh/create-message.html

$notification = Notification::create()
    ->addCondition(ListCondition::create('listCondition')->in('value 1', 'value 2', 'value 3'));

Should be

$notification = Notification::create()
    ->addCondition(ListCondition::create('listCondition')->in(array('value 1', 'value 2', 'value 3')));
@bgaillard
Copy link
Member

Hi @duynguyen0511 and so sorry to response sooooo late !

You're right their's an error in the documentation and it should be fixed, we'll do it https://github.com/gomoob/php-pushwoosh/milestones/1.0.5.

@bgaillard bgaillard added this to the 1.0.5 milestone Apr 16, 2015
@bgaillard bgaillard self-assigned this Apr 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants