Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pm5 #23

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Pm5 #23

Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
PM5
GabBiswajit authored Aug 11, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 29b06c4f43de51e38d93631cdd07d3f9e00c3603
4 changes: 2 additions & 2 deletions src/CortexPE/DiscordWebhookAPI/Message.php
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@

declare(strict_types = 1);

namespace CortexPE\DiscordWebhookAPI;
namespace Biswajit\libs\CortexPE\DiscordWebhookAPI;


class Message implements \JsonSerializable {
@@ -67,7 +67,7 @@ public function setTextToSpeech(bool $ttsEnabled):void{
$this->data["tts"] = $ttsEnabled;
}

public function jsonSerialize(){
public function jsonSerialize(): array{
return $this->data;
}
}