NotificationWatcher formatNotifiable TypeError
yangjisen opened this issue · comments
yangjisen commented
Telescope Version
4.16.0
Laravel Version
10.18.0
PHP Version
8.1.4
Database Driver & Version
8.0.27
Description
$params = [[
'title' => 'title',
'text' => 'text',
]];
Notification::send($params, new InvoicePaid($invoice));
TypeError: get_class(): Argument #1 ($object) must be of type object, array given
telescope/src/Watchers/NotificationWatcher.php
Lines 67 to 80 in b5def3d
Steps To Reproduce
Provide detailed steps to reproduce your issue. If necessary, please provide a GitHub repository to demonstrate your issue using laravel new bug-report --github="--public".
Nuno Maduro commented
Apologies - could you please recreate this issue with a more detailed description? I'm finding it difficult to grasp the issue as described here and how to reproduce it. Sorry!