Commit 7ddb9386 authored by Avtandil Kikabidze's avatar Avtandil Kikabidze

Fixed code style

parent a8c27913
...@@ -759,10 +759,9 @@ class Telegram ...@@ -759,10 +759,9 @@ class Telegram
*/ */
protected function ucfirstUnicode($str, $encoding = 'UTF-8') protected function ucfirstUnicode($str, $encoding = 'UTF-8')
{ {
return mb_strtoupper(mb_substr($str, 0, 1, $encoding), $encoding) . mb_strtolower(mb_substr($str, 1, return
mb_strlen($str), mb_strtoupper(mb_substr($str, 0, 1, $encoding), $encoding)
$encoding), . mb_strtolower(mb_substr($str, 1, mb_strlen($str), $encoding), $encoding);
$encoding);
} }
/** /**
......
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