Skip to content

Commit

Permalink
chore: modify type in event interface
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-acampora committed Feb 15, 2023
1 parent dd52695 commit b04a1ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/entities/events/Event.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ package entities.events
/**
* The interface of a generic event.
*/
interface Event<E : Any> {
interface Event<out E> {

/**
* The key of the event. Every type of event has its unique key.
Expand Down

0 comments on commit b04a1ee

Please # to comment.