Skip to content

Commit

Permalink
Merge pull request #60 from jgile/master
Browse files Browse the repository at this point in the history
laravel 8
  • Loading branch information
lorisleiva authored Sep 13, 2020
2 parents ea9d021 + 5cc399e commit 94cf98a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
}
],
"require": {
"illuminate/support": "^5.7|^6.0|^7.0"
"illuminate/support": "^5.7|^6.0|^7.0|^8.0"
},
"require-dev": {
"orchestra/testbench": "^5.0"
"orchestra/testbench": "^6.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/EventDispatcherDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function __construct(DispatcherContract $dispatcher, ContainerContract $c
$this->container = $container;
}

public function listen($events, $listener)
public function listen($events, $listener = null)
{
if ($this->isActionFullyQualifiedName($listener)) {
$listener = $listener . '@runAsListener';
Expand Down

0 comments on commit 94cf98a

Please sign in to comment.