What happened?
I am encountering an issue where the tracking event is not working because it is expecting an string but gets an array as return.
Vormkracht10\Mails\Drivers\MailgunDriver::getUuidFromPayload(): Return value must be of type ?string, array returned
public function getUuidFromPayload(array $payload): ?string
{
return $payload['event-data']['user-variables'][$this->uuidHeaderName] ?? null;
}
How to reproduce the bug
- Install the package
- Create the Mailgun webhook url
- Enable tracking in config and create DNS record
- Send email
Package Version
2.10.0
PHP Version
8.4.0
Laravel Version
10.49.1
Which operating systems does with happen with?
No response
Notes
No response