projects
/
SonOfLokstallBot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11a22dc
)
Fix incorrect return type
author
Cameron Ball
<cameron@cameron1729.xyz>
Fri, 28 Dec 2018 15:33:10 +0000
(23:33 +0800)
committer
Cameron Ball
<cameron@cameron1729.xyz>
Fri, 4 Jan 2019 20:47:20 +0000
(
04:47
+0800)
src/common.php
patch
|
blob
|
history
diff --git
a/src/common.php
b/src/common.php
index
1a29ef3
..
272b868
100644
(file)
--- a/
src/common.php
+++ b/
src/common.php
@@
-32,7
+32,7
@@
function getMessageSenderId(TelegramUpdate $update) : int {
return $update->get('message')->get('from')->get('id');
}
-function getMessageSenderDisplayName(TelegramUpdate $update) :
int
{
+function getMessageSenderDisplayName(TelegramUpdate $update) :
string
{
return $update->get('message')->get('from')->get('first_name');
}