Skip to content

Commit

Permalink
Added push type
Browse files Browse the repository at this point in the history
  • Loading branch information
swaroop-at-dockare committed May 17, 2022
1 parent fc907c0 commit cdafc46
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Message extends BaseDataObject
public function __construct($data = [])
{
$this->loadFromJSON($data, [
'aps' => 'Dashi\Apns2\MessageAPSBody'
'aps' => 'Swaroop\Apns2\MessageAPSBody'
]);
}

Expand Down
5 changes: 5 additions & 0 deletions src/Options.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ class Options extends BaseDataObject
*/
public $apnsTopic;

/**
* @var string|null
*/
public $apnsPushType;

/**
* @var string|null
*/
Expand Down

0 comments on commit cdafc46

Please sign in to comment.