diff --git a/README.md b/README.md index 2c130c9..dd7219d 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ $app->get('/publish', function() { public function publishSomethingAwesome(\Vluzrmos\Socketio\Contracts\Broadcast $broadcast){ $broadcast->publish('channel', 'awesome-event', 'An message'); - // or just use the helper without inject \Vluzrmos\Socketio\Broadcast + // or just use the helper without inject \Vluzrmos\Socketio\Contracts\Broadcast publish('channel', 'awesome-event', 'An message'); }