Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Dto/ExpoMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author David Tang<david@yieldstudio.fr>
* @author James Hemery<james@yieldstudio.fr>
*/
final class ExpoMessage implements Jsonable, Arrayable
final class ExpoMessage implements Arrayable, Jsonable
{
public array $to;

Expand Down
2 changes: 1 addition & 1 deletion src/ExpoNotificationsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function receipts(Collection|array $tokenIds): Collection
if ($responseItem['status'] === ExpoResponseStatus::ERROR->value) {
$data
->message($responseItem['message'])
->details(json_decode($responseItem['details'], true));
->details($responseItem['details']);
}

return $data;
Expand Down
2 changes: 1 addition & 1 deletion src/Jobs/CheckTickets.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
class CheckTickets
{
use Dispatchable;
use SerializesModels;
use Queueable;
use SerializesModels;

public function handle(
ExpoNotificationsService $expoNotificationsService,
Expand Down
2 changes: 1 addition & 1 deletion src/Jobs/SendPendingNotifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
class SendPendingNotifications
{
use Dispatchable;
use SerializesModels;
use Queueable;
use SerializesModels;

public function handle(
ExpoNotificationsService $expoNotificationsService,
Expand Down