Skip to content

jsonSerialize bug #17

Open
Open
@deivid11

Description

@deivid11

Hello, first of all thanks for this bundle. Im trying to send a notification with a link but when jsonSerialize is called it tries to convert an array to string and PHP sends a Notice, It is because array_diff works only with one dimension array. Here is my notification message.

 $pushNotification = new PushNotification($notification->getHtml(), [
                PushNotification::ICON => '/favicon.ico',
                PushNotification::DATA => ['link'=>$notification->getLink()],
                PushNotification::TAG => $notification->getGroupName()
            ]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions