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

Exception TypeError #53

Merged
merged 1 commit into from
Jun 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/
.idea

# Windows Installer files
*.cab
Expand Down
4 changes: 2 additions & 2 deletions types/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Message extends Type

/**
* Optional. Sender, empty for messages sent to channels
* @var User
* @var From
*/
private $_from;

Expand Down Expand Up @@ -323,7 +323,7 @@ class Message extends Type
/**
*
*/
public function getFrom(): User
public function getFrom(): From
{
return $this->_from;
}
Expand Down