Skip to content

Commit a9207de

Browse files
committed
Add notification_types option
1 parent 25894d9 commit a9207de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Devices.php

+3
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,9 @@ protected function resolve(array $data, callable $callback = null)
284284
->setAllowedTypes('badge_count', 'int')
285285
->setDefined('last_active')
286286
->setAllowedTypes('last_active', 'int')
287+
->setDefined('notification_types')
288+
->setAllowedTypes('notification_types', 'int')
289+
->setAllowedValues('notification_types', [1, -2])
287290
->setDefined('test_type')
288291
->setAllowedTypes('test_type', 'int')
289292
->setAllowedValues('test_type', [1, 2])

0 commit comments

Comments
 (0)