Skip to content

Commit

Permalink
fixed undefined array key errors
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanTreffler committed Jan 19, 2025
1 parent 21969e7 commit 41433cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/PushTransports/WebPushTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ public function registerSubscription($subsciptionId, $options) {

return [
'success' => True,
'errors' => [],
'responseStatus' => null, // use default
'response' => "",
'unsubscribeLink' => null, // use default
];
}

Expand Down

0 comments on commit 41433cc

Please sign in to comment.