From 0a3c5cc40cf8f634460457fd87a0619d788cf76b Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 23 Apr 2022 11:43:30 +0000 Subject: [PATCH] Add the function documentation --- src/Model/Tag.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Model/Tag.php b/src/Model/Tag.php index b86c5e1cdc..da62d611ee 100644 --- a/src/Model/Tag.php +++ b/src/Model/Tag.php @@ -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)) {