EventSaucePHP / EventSauce

A pragmatic event sourcing library for PHP with a focus on developer experience.
https://eventsauce.io/
MIT License
817 stars 82 forks source link

Correct example to match with current interface in documentation #199

Closed DannyvdSluijs closed 2 years ago

DannyvdSluijs commented 2 years ago

When working on setting up EventSauce on a local POC I ran into issues as the example copied from the site didn't work. To avoid other people from running into the same here is a small correction replacing the SerializablePayload with static as it is defined in the interface