@@ -11,6 +11,8 @@ class NullDispatcher implements DispatcherContract
1111
1212 /**
1313 * The underlying event dispatcher instance.
14+ *
15+ * @var \Illuminate\Contracts\Bus\Dispatcher
1416 */
1517 protected $ dispatcher ;
1618
@@ -68,7 +70,7 @@ public function until($event, $payload = [])
6870 */
6971 public function listen ($ events , $ listener )
7072 {
71- return $ this ->dispatcher ->listen ($ events , $ listener );
73+ $ this ->dispatcher ->listen ($ events , $ listener );
7274 }
7375
7476 /**
@@ -90,7 +92,7 @@ public function hasListeners($eventName)
9092 */
9193 public function subscribe ($ subscriber )
9294 {
93- return $ this ->dispatcher ->subscribe ($ subscriber );
95+ $ this ->dispatcher ->subscribe ($ subscriber );
9496 }
9597
9698 /**
@@ -101,7 +103,7 @@ public function subscribe($subscriber)
101103 */
102104 public function flush ($ event )
103105 {
104- return $ this ->dispatcher ->flush ($ event );
106+ $ this ->dispatcher ->flush ($ event );
105107 }
106108
107109 /**
@@ -112,7 +114,7 @@ public function flush($event)
112114 */
113115 public function forget ($ event )
114116 {
115- return $ this ->dispatcher ->forget ($ event );
117+ $ this ->dispatcher ->forget ($ event );
116118 }
117119
118120 /**
@@ -122,7 +124,7 @@ public function forget($event)
122124 */
123125 public function forgetPushed ()
124126 {
125- return $ this ->dispatcher ->forgetPushed ();
127+ $ this ->dispatcher ->forgetPushed ();
126128 }
127129
128130 /**
0 commit comments