Skip to content

Commit 959743d

Browse files
authored
Update WebPushMessage.php
1 parent 5cb4009 commit 959743d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebPushMessage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,6 @@ public function getOptions()
278278
*/
279279
public function toArray()
280280
{
281-
return Arr::except(array_filter(get_object_vars($this)), ['options']);
281+
return ['notification' => Arr::except(array_filter(get_object_vars($this)), ['options'])];
282282
}
283283
}

0 commit comments

Comments
 (0)