Fix class casing

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2022-10-10 11:55:47 +02:00
parent e0118b7406
commit 7b77f23ef2
No known key found for this signature in database
GPG key ID: 74434EFE0D2E2205

View file

@ -175,7 +175,7 @@ class Message {
if ($format === 'json' && empty($reactions)) {
// Cheating here to make sure the reactions array is always a
// JSON object on the API, even when there is no reaction at all.
$reactions = new \StdClass();
$reactions = new \stdClass();
}
$data = [