Add the function documentation

pull/11436/head
Michael 2022-04-23 11:43:30 +00:00
rodzic 060597f619
commit 0a3c5cc40c
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

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