diff --git a/src/Illuminate/Events/NullDispatcher.php b/src/Illuminate/Events/NullDispatcher.php index a27b88cf1f61..793ef1e19ccd 100644 --- a/src/Illuminate/Events/NullDispatcher.php +++ b/src/Illuminate/Events/NullDispatcher.php @@ -11,6 +11,8 @@ class NullDispatcher implements DispatcherContract /** * The underlying event dispatcher instance. + * + * @var \Illuminate\Contracts\Bus\Dispatcher */ protected $dispatcher; @@ -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); } /** @@ -90,7 +92,7 @@ public function hasListeners($eventName) */ public function subscribe($subscriber) { - return $this->dispatcher->subscribe($subscriber); + $this->dispatcher->subscribe($subscriber); } /** @@ -101,7 +103,7 @@ public function subscribe($subscriber) */ public function flush($event) { - return $this->dispatcher->flush($event); + $this->dispatcher->flush($event); } /** @@ -112,7 +114,7 @@ public function flush($event) */ public function forget($event) { - return $this->dispatcher->forget($event); + $this->dispatcher->forget($event); } /** @@ -122,7 +124,7 @@ public function forget($event) */ public function forgetPushed() { - return $this->dispatcher->forgetPushed(); + $this->dispatcher->forgetPushed(); } /**