Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 5cda453

Browse files
authored
Merge pull request #698 from Koozza/feat-add-php-pusher-5-support
[1.x] Add support for php-pusher 5.x
2 parents e9b9cc4 + 6e020af commit 5cda453

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"illuminate/http": "^6.0|^7.0|^8.0",
3333
"illuminate/routing": "^6.0|^7.0|^8.0",
3434
"illuminate/support": "^6.0|^7.0|^8.0",
35-
"pusher/pusher-php-server": "^3.0|^4.0",
35+
"pusher/pusher-php-server": "^3.0|^4.0|^5.0",
3636
"react/dns": "^1.1",
3737
"react/http": "^1.1",
3838
"symfony/http-kernel": "^4.0|^5.0",

src/HttpApi/Controllers/TriggerEventController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ public function __invoke(Request $request)
3131
StatisticsLogger::apiMessage($request->appId);
3232
}
3333

34-
return $request->json()->all();
34+
return (object) [];
3535
}
3636
}

0 commit comments

Comments
 (0)