diff --git a/src/Core/Event/EventSimple.php b/src/Core/Event/EventSimple.php index 8d73027..18bda0d 100644 --- a/src/Core/Event/EventSimple.php +++ b/src/Core/Event/EventSimple.php @@ -5,8 +5,12 @@ /** * This event class can be used to instantiate simple event objects on the run - * which have no special state, and just use the event name as an ID. + * which have no special state, and just use the event name as their ID. */ class EventSimple extends EventAbstract { + public function __construct(string $name) + { + parent::__construct($name); + } } \ No newline at end of file