nitpicks
This commit is contained in:
parent
f51ed94b77
commit
eb82682e87
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
namespace BeyondCode\LaravelWebSockets\Exceptions;
|
namespace BeyondCode\LaravelWebSockets\Exceptions;
|
||||||
|
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
|
|
||||||
class InvalidClient extends Exception
|
class InvalidClient extends Exception
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,10 @@ class SendMessage
|
||||||
);
|
);
|
||||||
|
|
||||||
return (new PusherBroadcaster($pusher))
|
return (new PusherBroadcaster($pusher))
|
||||||
->broadcast([$request->channel], $request->event, json_decode($request->data, true));
|
->broadcast(
|
||||||
|
[$request->channel],
|
||||||
|
$request->event,
|
||||||
|
json_decode($request->data, true)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue