Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Jun 8, 2020
1 parent 0a58942 commit 4bb32ae
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/Illuminate/Events/NullDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ class NullDispatcher implements DispatcherContract

/**
* The underlying event dispatcher instance.
*
* @var \Illuminate\Contracts\Bus\Dispatcher
*/
protected $dispatcher;

Expand Down Expand Up @@ -68,7 +70,7 @@ public function until($event, $payload = [])
*/
public function listen($events, $listener)
{
return $this->dispatcher->listen($events, $listener);
$this->dispatcher->listen($events, $listener);
}

/**
Expand All @@ -90,7 +92,7 @@ public function hasListeners($eventName)
*/
public function subscribe($subscriber)
{
return $this->dispatcher->subscribe($subscriber);
$this->dispatcher->subscribe($subscriber);
}

/**
Expand All @@ -101,7 +103,7 @@ public function subscribe($subscriber)
*/
public function flush($event)
{
return $this->dispatcher->flush($event);
$this->dispatcher->flush($event);
}

/**
Expand All @@ -112,7 +114,7 @@ public function flush($event)
*/
public function forget($event)
{
return $this->dispatcher->forget($event);
$this->dispatcher->forget($event);
}

/**
Expand All @@ -122,7 +124,7 @@ public function forget($event)
*/
public function forgetPushed()
{
return $this->dispatcher->forgetPushed();
$this->dispatcher->forgetPushed();
}

/**
Expand Down

0 comments on commit 4bb32ae

Please sign in to comment.