1
0
Fork 0

Add the function documentation

This commit is contained in:
Michael 2022-04-23 11:43:30 +00:00
parent 060597f619
commit 0a3c5cc40c

View 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)) {