@@ -11,6 +11,8 @@ class NullDispatcher implements DispatcherContract
11
11
12
12
/**
13
13
* The underlying event dispatcher instance.
14
+ *
15
+ * @var \Illuminate\Contracts\Bus\Dispatcher
14
16
*/
15
17
protected $ dispatcher ;
16
18
@@ -68,7 +70,7 @@ public function until($event, $payload = [])
68
70
*/
69
71
public function listen ($ events , $ listener )
70
72
{
71
- return $ this ->dispatcher ->listen ($ events , $ listener );
73
+ $ this ->dispatcher ->listen ($ events , $ listener );
72
74
}
73
75
74
76
/**
@@ -90,7 +92,7 @@ public function hasListeners($eventName)
90
92
*/
91
93
public function subscribe ($ subscriber )
92
94
{
93
- return $ this ->dispatcher ->subscribe ($ subscriber );
95
+ $ this ->dispatcher ->subscribe ($ subscriber );
94
96
}
95
97
96
98
/**
@@ -101,7 +103,7 @@ public function subscribe($subscriber)
101
103
*/
102
104
public function flush ($ event )
103
105
{
104
- return $ this ->dispatcher ->flush ($ event );
106
+ $ this ->dispatcher ->flush ($ event );
105
107
}
106
108
107
109
/**
@@ -112,7 +114,7 @@ public function flush($event)
112
114
*/
113
115
public function forget ($ event )
114
116
{
115
- return $ this ->dispatcher ->forget ($ event );
117
+ $ this ->dispatcher ->forget ($ event );
116
118
}
117
119
118
120
/**
@@ -122,7 +124,7 @@ public function forget($event)
122
124
*/
123
125
public function forgetPushed ()
124
126
{
125
- return $ this ->dispatcher ->forgetPushed ();
127
+ $ this ->dispatcher ->forgetPushed ();
126
128
}
127
129
128
130
/**
0 commit comments