Skip to content

Commit

Permalink
EventSimple constructor must take string
Browse files Browse the repository at this point in the history
  • Loading branch information
iuravic committed Jun 18, 2017
1 parent d0da8c5 commit 25158e3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Core/Event/EventSimple.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 25158e3

Please sign in to comment.