Skip to content

Commit

Permalink
Fix: Text message
Browse files Browse the repository at this point in the history
  • Loading branch information
Player626 committed Apr 21, 2021
1 parent a2c98df commit 84a9caa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Kernel/Messages/Text.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@ class Text extends Message
*/
public function __construct(string $content)
{
parent::__construct(['Content' => $content]);
parent::__construct(['content' => $content]);
}

/**
* @return mixed
*/
public function getContent()
{
return $this->get('Content');
return $this->get('content');
}

/**
* @param mixed $content
*/
public function setContent($content): void
{
$this->set('Content', $content);
$this->set('content', $content);
}

/**
Expand Down

0 comments on commit 84a9caa

Please sign in to comment.