Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mabdullahsari committed Mar 15, 2024
1 parent 401be8e commit 91ad66c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ Unfortunately, Laravel does not provide an [OOB solution](https://github.com/lar
You can register an event listener that listens to this event and handles the appropriate errors. An example:

```php
final class HandleFailedExpoNotifications
final readonly class HandleFailedExpoNotifications
{
public function handle(NotificationFailed $event)
{
Expand All @@ -205,12 +205,12 @@ final class HandleFailedExpoNotifications
The `NotificationFailed::$data` property will contain an instance of `ExpoError` which has the following properties:

```php
final class ExpoError
final readonly class ExpoError
{
private function __construct(
public readonly ExpoErrorType $type,
public readonly ExpoPushToken $token,
public readonly string $message,
public ExpoErrorType $type,
public ExpoPushToken $token,
public string $message,
) {}
}
```
Expand Down

0 comments on commit 91ad66c

Please sign in to comment.