Skip to content

Commit 644042f

Browse files
authored
Merge pull request #272 from Eleirbag89/analysis-Rv2mv7
Apply fixes from StyleCI
2 parents 958885a + 899bdb6 commit 644042f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Telegram.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -1906,7 +1906,7 @@ public function Callback_ChatID()
19061906
{
19071907
return $this->data['callback_query']['message']['chat']['id'];
19081908
}
1909-
1909+
19101910
/// Get the Get the from_id of the current callback
19111911

19121912
/**
@@ -1917,7 +1917,6 @@ public function Callback_FromID()
19171917
return $this->data['callback_query']['from']['id'];
19181918
}
19191919

1920-
19211920
/// Get the date of the current message
19221921

19231922
/**
@@ -2042,19 +2041,20 @@ public function messageFromGroup()
20422041

20432042
return true;
20442043
}
2045-
2044+
20462045
/// Get the contact phone number
20472046
/**
20482047
* \return a String of the contact phone number.
20492048
*/
2050-
public function getContactPhoneNumber()
2051-
{
2049+
public function getContactPhoneNumber()
2050+
{
20522051
if ($this->getUpdateType() == self::CONTACT) {
2053-
return $this->data["message"]["contact"]["phone_number"];
2052+
return $this->data['message']['contact']['phone_number'];
20542053
}
2054+
20552055
return '';
20562056
}
2057-
2057+
20582058
/// Get the title of the group chat
20592059

20602060
/**

0 commit comments

Comments
 (0)