]> git.mxchange.org Git - friendica.git/commitdiff
Add the function documentation
authorMichael <heluecht@pirati.ca>
Sat, 23 Apr 2022 11:43:30 +0000 (11:43 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 23 Apr 2022 11:43:30 +0000 (11:43 +0000)
src/Model/Tag.php

index b86c5e1cdc162328fe78518f5facbbe88adc1dc1..da62d611eeacd68103d8c6170f02e58676205c26 100644 (file)
@@ -156,6 +156,12 @@ class Tag
                Logger::info('Stored tag/mention', ['uri-id' => $uriid, 'tag-id' => $tagid, 'contact-id' => $cid, 'name' => $name, 'type' => $type, 'callstack' => System::callstack(8)]);
        }
 
+       /**
+        * Fetch the target type for the given url
+        *
+        * @param string $url 
+        * @return null|int
+        */
        public static function getTargetType(string $url)
        {
                if (empty($url)) {