Defining return value
This commit is contained in:
parent
aee652117c
commit
299cff8c50
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class Plaintext
|
||||||
*
|
*
|
||||||
* @todo For Twitter URLs aren't shortened, but they have to be calculated as if.
|
* @todo For Twitter URLs aren't shortened, but they have to be calculated as if.
|
||||||
*/
|
*/
|
||||||
public static function shorten(string $msg, int $limit, int $uid = 0)
|
public static function shorten(string $msg, int $limit, int $uid = 0):string
|
||||||
{
|
{
|
||||||
$ellipsis = html_entity_decode("…", ENT_QUOTES, 'UTF-8');
|
$ellipsis = html_entity_decode("…", ENT_QUOTES, 'UTF-8');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue