Skip to content

Commit

Permalink
Add notification_types option
Browse files Browse the repository at this point in the history
  • Loading branch information
norkunas committed Apr 28, 2017
1 parent 25894d9 commit a9207de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Devices.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,9 @@ protected function resolve(array $data, callable $callback = null)
->setAllowedTypes('badge_count', 'int')
->setDefined('last_active')
->setAllowedTypes('last_active', 'int')
->setDefined('notification_types')
->setAllowedTypes('notification_types', 'int')
->setAllowedValues('notification_types', [1, -2])
->setDefined('test_type')
->setAllowedTypes('test_type', 'int')
->setAllowedValues('test_type', [1, 2])
Expand Down

0 comments on commit a9207de

Please sign in to comment.