From 6ba2c4bb01b594b21819a1d85cbcb3cd531beca7 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Mon, 19 Sep 2022 12:49:37 +0200 Subject: [PATCH] Added documentation --- src/Model/Item.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Model/Item.php b/src/Model/Item.php index 89c972ea57..94702e1cc7 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -1878,6 +1878,13 @@ class Item return json_encode($languages); } + /** + * Get a language array from a given text + * + * @param string $body + * @param integer $count + * @return array + */ public static function getLanguageArray(string $body, int $count): array { // Convert attachments to links -- 2.39.5