Commit 08125eb8 authored by Mikhail's avatar Mikhail Committed by GitHub

Update scope getCommandFromType

For the possibility of hierarchical inheritance
parent 3fdc3c10
...@@ -373,7 +373,7 @@ class Telegram ...@@ -373,7 +373,7 @@ class Telegram
* *
* @return string * @return string
*/ */
private function getCommandFromType($type) protected function getCommandFromType($type)
{ {
return $this->ucfirstUnicode(str_replace('_', '', $type)); return $this->ucfirstUnicode(str_replace('_', '', $type));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment