]> git.mxchange.org Git - friendica.git/commitdiff
Changed:
authorRoland Häder <roland@mxchange.org>
Mon, 7 Nov 2022 18:16:31 +0000 (19:16 +0100)
committerRoland Häder <roland@mxchange.org>
Mon, 7 Nov 2022 18:18:34 +0000 (19:18 +0100)
- added type-hints as follow-up commit to #12130

src/Content/Text/Plaintext.php

index 035739f9fbd15fcf51976d5d72198f557e3a240c..ef2337faf44a54f39bfa31abc8c74e1d69e92260 100644 (file)
@@ -114,9 +114,8 @@ class Plaintext
         * @return array Same array structure than \Friendica\Content\Text\BBCode::getAttachedData
         * @throws \Friendica\Network\HTTPException\InternalServerErrorException
         * @see   \Friendica\Content\Text\BBCode::getAttachedData
-        *
         */
-       public static function getPost($item, $limit = 0, $includedlinks = false, $htmlmode = BBCode::MASTODON_API, $target_network = '')
+       public static function getPost(array $item, int $limit = 0, bool $includedlinks = false, int $htmlmode = BBCode::MASTODON_API, string $target_network = '')
        {
                // Remove hashtags
                $URLSearchString = '^\[\]';