Skip to content

Commit

Permalink
Remove useless type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin de Graaf committed Apr 3, 2019
1 parent 22c3cc3 commit 94edb98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Parable Event

## 0.2.2

_Changes_

- Removed type hint for payload on `trigger`.

## 0.2.1

_Changes_
Expand Down
2 changes: 0 additions & 2 deletions src/EventManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ public function listenAll(callable $listener): void
* payload as a reference in the listener callback parameter list.
*
* Example: trigger('event', function (string $event, &$payload) { ... }
*
* @param null|mixed $payload
*/
public function trigger(string $event, &$payload = null)
{
Expand Down

0 comments on commit 94edb98

Please sign in to comment.