File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,9 @@ public function __construct(Observable $client)
102
102
$ event = Event::createFromMessage ($ message );
103
103
104
104
if ($ event ->getEvent () === 'pusher:error ' ) {
105
- return Observable::fromPromise (reject (new PusherErrorException ($ event ->getData ()['message ' ], $ event ->getData ()['code ' ])));
105
+ return Observable::fromPromise (reject (
106
+ new PusherErrorException ($ event ->getData ()['message ' ], $ event ->getData ()['code ' ])
107
+ ));
106
108
}
107
109
108
110
if ($ event ->getEvent () === 'pusher:connection_established ' ) {
@@ -221,7 +223,11 @@ public function send(array $message): bool
221
223
*/
222
224
private function handleLowLevelError (Throwable $ throwable )
223
225
{
224
- if (!($ throwable instanceof WebsocketErrorException) && !($ throwable instanceof RuntimeException) && !($ throwable instanceof PusherErrorException)) {
226
+ if (
227
+ !($ throwable instanceof WebsocketErrorException) &&
228
+ !($ throwable instanceof RuntimeException) &&
229
+ !($ throwable instanceof PusherErrorException)
230
+ ) {
225
231
return Observable::fromPromise (reject ($ throwable ));
226
232
}
227
233
You can’t perform that action at this time.
0 commit comments