From aee652117c371edb3b80f2237cd1a9adbf4282aa Mon Sep 17 00:00:00 2001
From: Michael <heluecht@pirati.ca>
Date: Mon, 12 Jul 2021 14:28:13 +0000
Subject: [PATCH] Definiing parameter type

---
 src/Content/Text/Plaintext.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Content/Text/Plaintext.php b/src/Content/Text/Plaintext.php
index 45c35cb172..e177ac387c 100644
--- a/src/Content/Text/Plaintext.php
+++ b/src/Content/Text/Plaintext.php
@@ -36,7 +36,7 @@ class Plaintext
 	 *
 	 * @todo For Twitter URLs aren't shortened, but they have to be calculated as if.
 	 */
-	public static function shorten($msg, $limit, $uid = 0)
+	public static function shorten(string $msg, int $limit, int $uid = 0)
 	{
 		$ellipsis = html_entity_decode("&#x2026;", ENT_QUOTES, 'UTF-8');