]> git.mxchange.org Git - friendica.git/commitdiff
Added documentation
authorMichael Vogel <icarus@dabo.de>
Mon, 19 Sep 2022 10:49:37 +0000 (12:49 +0200)
committerMichael Vogel <icarus@dabo.de>
Mon, 19 Sep 2022 10:49:37 +0000 (12:49 +0200)
src/Model/Item.php

index 89c972ea57d0cd73b57a352cf4fe75f7f8183ff0..94702e1cc79da86c0f3301653cee0e314ac6b25d 100644 (file)
@@ -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