Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
the `$key` variable is used as the numeric index placeholder for actions under the same `$trigger` key in `unregister()` and `removeAction()` while is been used as a placeholder for a trigger in `trigger(...)`. every `$this->data[$trigger]` is an array of actions, so i believe it's clearer to use that name renaming the argument `trigger($event, ...)` allows as to usde consistenty the name `$trigger` for event keys in `$this->data`
- Loading branch information