Skip to content

Commit

Permalink
added missing options
Browse files Browse the repository at this point in the history
  • Loading branch information
norkunas committed Jul 19, 2015
1 parent 4df428c commit f6ff000
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ protected function resolve(array $data)
->setAllowedTypes('include_amazon_reg_ids', 'array')
->setDefined('include_chrome_reg_ids')
->setAllowedTypes('include_chrome_reg_ids', 'array')
->setDefined('include_chrome_web_reg_ids')
->setAllowedTypes('include_chrome_web_reg_ids', 'array')
->setDefined('tags')
->setAllowedTypes('tags', 'array')
->setNormalizer('tags', function (Options $options, array $value) {
Expand Down Expand Up @@ -270,6 +272,14 @@ protected function resolve(array $data)
->setAllowedTypes('amazon_background_data', 'bool')
->setDefined('template_id')
->setAllowedTypes('template_id', 'string')
->setDefined('android_group')
->setAllowedTypes('android_group', 'string')
->setDefined('android_group_message')
->setAllowedTypes('android_group_message', 'array')
->setDefined('adm_group')
->setAllowedTypes('adm_group', 'string')
->setDefined('adm_group_message')
->setAllowedTypes('adm_group_message', 'array')
->setDefault('app_id', $this->api->getConfig()->getApplicationId());

return $resolver->resolve($data);
Expand Down

0 comments on commit f6ff000

Please sign in to comment.