Closed Kristian-Palovic-Modified closed 7 months ago
Seems to be fixed here: https://github.com/itsgoingd/clockwork/commit/40fb867e927f96287603ec21421307bdab28a671
Hey, this was recently fixed in Clockwork 5.2.1, please make sure you are on the latest version.
Having the notification class:
with clockwork enabled, calling
$model->notify(new ExampleNotification())
, classLaravelNotificationsDataSource.php@163
raises exception, asExampleNotification
is missingtoArray()
(instead usingtoDatabase
).Edit:
Testing with clockwork disabled and everything works as expected.